X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2FInfoExtractors.py;h=d5876ad3463b71a841b00552f0b97737b4264996;hb=7b670a4483d589af822e7fc061d1d3d3aafd36f0;hp=7c9f09f77b6d093e62e91735cf8ee8bb01db7408;hpb=41a6eb949a625983c55cdae0c06410392f3a3110;p=youtube-dl.git diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 7c9f09f77..d5876ad34 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -152,6 +152,10 @@ class InfoExtractor(object): """Report information extraction.""" self.to_screen(u'%s: Extracting information' % id_or_name) + def report_age_confirmation(self): + """Report attempt to confirm age.""" + self.to_screen(u'Confirming age') + #Methods for following #608 #They set the correct value of the '_type' key def video_result(self, video_info): @@ -250,10 +254,6 @@ class YoutubeIE(InfoExtractor): """Report attempt to log in.""" self.to_screen(u'Logging in') - def report_age_confirmation(self): - """Report attempt to confirm age.""" - self.to_screen(u'Confirming age') - def report_video_webpage_download(self, video_id): """Report attempt to download video webpage.""" self.to_screen(u'%s: Downloading video webpage' % video_id) @@ -570,7 +570,11 @@ class YoutubeIE(InfoExtractor): if video_description: video_description = clean_html(video_description) else: - video_description = '' + fd_mobj = re.search(r' tag: %s' % url) + (1, 'url', u'Could not find