mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 12:42:29 +03:00
for getting of youku ,youtube vedio id
This commit is contained in:
parent
0ba66b9e13
commit
120d7e63e7
@ -167,6 +167,7 @@ class Youku(VideoExtractor):
|
|||||||
if not self.streams[stream_id]['src'] and self.password_protected:
|
if not self.streams[stream_id]['src'] and self.password_protected:
|
||||||
log.e('[Failed] Wrong password.')
|
log.e('[Failed] Wrong password.')
|
||||||
|
|
||||||
|
site_info = "youku.com"
|
||||||
site = Youku()
|
site = Youku()
|
||||||
download = site.download_by_url
|
download = site.download_by_url
|
||||||
download_playlist = site.download_playlist_by_url
|
download_playlist = site.download_playlist_by_url
|
||||||
|
@ -205,6 +205,7 @@ class YouTube(VideoExtractor):
|
|||||||
self.streams[stream_id]['src'] = [src]
|
self.streams[stream_id]['src'] = [src]
|
||||||
self.streams[stream_id]['size'] = urls_size(self.streams[stream_id]['src'])
|
self.streams[stream_id]['size'] = urls_size(self.streams[stream_id]['src'])
|
||||||
|
|
||||||
site = YouTube()
|
site = "YouTube.com"
|
||||||
|
site_info = "YouTube.com"
|
||||||
download = site.download_by_url
|
download = site.download_by_url
|
||||||
download_playlist = site.download_playlist_by_url
|
download_playlist = site.download_playlist_by_url
|
||||||
|
Loading…
Reference in New Issue
Block a user