mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Merge branch 'master' into for-rg3-deposit
This commit is contained in:
commit
8716916e94
@ -639,6 +639,7 @@ class FileDownloader(object):
|
|||||||
# Apply rate limit
|
# Apply rate limit
|
||||||
self.slow_down(start, byte_counter)
|
self.slow_down(start, byte_counter)
|
||||||
|
|
||||||
|
stream.close()
|
||||||
self.report_finish()
|
self.report_finish()
|
||||||
if data_len is not None and str(byte_counter) != data_len:
|
if data_len is not None and str(byte_counter) != data_len:
|
||||||
raise ContentTooShortError(byte_counter, long(data_len))
|
raise ContentTooShortError(byte_counter, long(data_len))
|
||||||
@ -1618,6 +1619,7 @@ class GenericIE(InfoExtractor):
|
|||||||
self._downloader.trouble(u'ERROR: Invalid URL: %s' % url)
|
self._downloader.trouble(u'ERROR: Invalid URL: %s' % url)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.report_extraction(video_id)
|
||||||
# Start with something easy: JW Player in SWFObject
|
# Start with something easy: JW Player in SWFObject
|
||||||
mobj = re.search(r'flashvars: [\'"](?:.*&)?file=(http[^\'"&]*)', webpage)
|
mobj = re.search(r'flashvars: [\'"](?:.*&)?file=(http[^\'"&]*)', webpage)
|
||||||
if mobj is None:
|
if mobj is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user