projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
YoutubeIE: extract the correct video id for movie URLs (closes #597)
[youtube-dl]
/
youtube_dl
/
extractor
/
common.py
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 54df689f24388866f1f04ceddef11f559cdca093..5c6fd7945c34ca04aa37633250fcdee5ef3c460a 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-1,5
+1,3
@@
-from __future__ import absolute_import
-
import base64
import os
import re
import base64
import os
import re
@@
-46,6
+44,7
@@
class InfoExtractor(object):
location: Physical location of the video.
player_url: SWF Player URL (used for rtmpdump).
subtitles: The subtitle file contents.
location: Physical location of the video.
player_url: SWF Player URL (used for rtmpdump).
subtitles: The subtitle file contents.
+ view_count: How many users have watched the video on the platform.
urlhandle: [internal] The urlHandle to be used to download the file,
like returned by urllib.request.urlopen
urlhandle: [internal] The urlHandle to be used to download the file,
like returned by urllib.request.urlopen
@@
-213,7
+212,7
@@
class InfoExtractor(object):
raise ExtractorError(u'Unable to extract %s' % _name)
else:
self._downloader.report_warning(u'unable to extract %s; '
raise ExtractorError(u'Unable to extract %s' % _name)
else:
self._downloader.report_warning(u'unable to extract %s; '
- u'please report this issue on
GitHub.
' % _name)
+ u'please report this issue on
http://yt-dl.org/bug
' % _name)
return None
def _html_search_regex(self, pattern, string, name, default=None, fatal=True, flags=0):
return None
def _html_search_regex(self, pattern, string, name, default=None, fatal=True, flags=0):