A feature-rich command-line audio/video downloader
Merge branch 'googledrive' of github.com:remitamine/youtube-dl into remitamine-googledrive
remitaminea8ae232fa9c2
diff --cc youtube_dl/extractor/__init__.pyindex 908581bf74,6655d7eb54..e7b536df03--- a/youtube_dl/extractor/__init__.py+++ b/youtube_dl/extractor/__init__.py@@@ -231,10 -209,11 +231,11 @@@ from .globo importfrom .godtube import GodTubeIEfrom .goldenmoustache import GoldenMoustacheIEfrom .golem import GolemIE+ from .googledrive import GoogleDriveIEfrom .googleplus import GooglePlusIEfrom .googlesearch import GoogleSearchIE-from .gorillavid import GorillaVidIEfrom .goshgay import GoshgayIE+from .gputechconf import GPUTechConfIEfrom .groupon import GrouponIEfrom .hark import HarkIEfrom .hearthisat import HearThisAtIEdiff --cc youtube_dl/extractor/generic.pyindex c2e8f9b62d,abd98e500d..7cf13fddfe--- a/youtube_dl/extractor/generic.py+++ b/youtube_dl/extractor/generic.py@@@ -52,9 -48,7 +52,10 @@@ from .vimeo import VimeoIfrom .dailymotion import DailymotionCloudIEfrom .onionstudios import OnionStudiosIEfrom .snagfilms import SnagFilmsEmbedIE+from .screenwavemedia import ScreenwaveMediaIE+from .mtv import MTVServicesEmbeddedIE+from .pladform import PladformIE+ from .googledrive import GoogleDriveIEclass GenericIE(InfoExtractor):@@@ -1769,9 -1600,14 +1770,14 @@@if nbc_sports_url:return self.url_result(nbc_sports_url, 'NBCSportsVPlayer')+ # Look for Google Drive embeds+ google_drive_url = GoogleDriveIE._extract_url(webpage)+ if google_drive_url:+ return self.url_result(google_drive_url, 'GoogleDrive')+# Look for UDN embedsmobj = re.search(- r'<iframe[^>]+src="(?P<url>%s)"' % UDNEmbedIE._VALID_URL, webpage)+ r'<iframe[^>]+src="(?P<url>%s)"' % UDNEmbedIE._PROTOCOL_RELATIVE_VALID_URL, webpage)if mobj is not None:return self.url_result(compat_urlparse.urljoin(url, mobj.group('url')), 'UDNEmbed')