Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Can't download Images-Preview with YoutubeEmbed.py #38

Open
WuglyakBolgoink opened this issue Nov 11, 2016 · 1 comment
Open

Can't download Images-Preview with YoutubeEmbed.py #38

WuglyakBolgoink opened this issue Nov 11, 2016 · 1 comment

Comments

@WuglyakBolgoink
Copy link

Hi,

YoutubeEmbed.py has a problem

  1. regex allow ONLY HTTP-URL, but MUST HTTPS
  2. image download (_add_play_button-function) doesn't work on macOS (with installed request module) maybe I need another module, don't know..
youtube_url_re = re.compile('^!VIDEO\s+"https://www\.youtube\.com'
                            '/embed/([a-zA-Z0-9\-]*)"')
image_url = 'https://img.youtube.com/vi/%s/0.jpg' % url
video_url = 'https://www.youtube.com/watch?v=%s' % url
@amyreese
Copy link
Owner

Can you try with the youtube-embed branch from #39 and see if that solves your issue?

amyreese added a commit that referenced this issue Nov 16, 2016
amyreese added a commit that referenced this issue Aug 15, 2017
amyreese added a commit that referenced this issue Aug 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants