projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
608b8a4
)
Fix typos (#21901)
author
Kitten King
<hi@kittenking.me>
Fri, 26 Jul 2019 15:30:18 +0000
(21:00 +0530)
committer
Sergey M
<dstftw@gmail.com>
Fri, 26 Jul 2019 15:30:18 +0000
(22:30 +0700)
youtube_dl/downloader/dash.py
patch
|
blob
|
history
youtube_dl/downloader/ism.py
patch
|
blob
|
history
youtube_dl/extractor/leeco.py
patch
|
blob
|
history
youtube_dl/extractor/rtlnl.py
patch
|
blob
|
history
youtube_dl/extractor/soundcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/dash.py
b/youtube_dl/downloader/dash.py
index eaa7adf7c4f2fc39d84984642a1ef17c014d089f..c6d674bc6c0690e00dee3c70879a97574c3911f3 100644
(file)
--- a/
youtube_dl/downloader/dash.py
+++ b/
youtube_dl/downloader/dash.py
@@
-53,7
+53,7
@@
class DashSegmentsFD(FragmentFD):
except compat_urllib_error.HTTPError as err:
# YouTube may often return 404 HTTP error for a fragment causing the
# whole download to fail. However if the same fragment is immediately
except compat_urllib_error.HTTPError as err:
# YouTube may often return 404 HTTP error for a fragment causing the
# whole download to fail. However if the same fragment is immediately
- # retried with the same request data this usually succeeds (1-2 attemps
+ # retried with the same request data this usually succeeds (1-2 attemp
t
s
# is usually enough) thus allowing to download the whole file successfully.
# To be future-proof we will retry all fragments that fail with any
# HTTP error.
# is usually enough) thus allowing to download the whole file successfully.
# To be future-proof we will retry all fragments that fail with any
# HTTP error.
diff --git
a/youtube_dl/downloader/ism.py
b/youtube_dl/downloader/ism.py
index 063fcf4446447d566785c24f94df94d95553de16..1ca666b4a11e26dff4424ba802a09895443ca08c 100644
(file)
--- a/
youtube_dl/downloader/ism.py
+++ b/
youtube_dl/downloader/ism.py
@@
-146,7
+146,7
@@
def write_piff_header(stream, params):
sps, pps = codec_private_data.split(u32.pack(1))[1:]
avcc_payload = u8.pack(1) # configuration version
avcc_payload += sps[1:4] # avc profile indication + profile compatibility + avc level indication
sps, pps = codec_private_data.split(u32.pack(1))[1:]
avcc_payload = u8.pack(1) # configuration version
avcc_payload += sps[1:4] # avc profile indication + profile compatibility + avc level indication
- avcc_payload += u8.pack(0xfc | (params.get('nal_unit_length_field', 4) - 1)) # complete represenation (1) + reserved (11111) + length size minus one
+ avcc_payload += u8.pack(0xfc | (params.get('nal_unit_length_field', 4) - 1)) # complete represen
t
ation (1) + reserved (11111) + length size minus one
avcc_payload += u8.pack(1) # reserved (0) + number of sps (0000001)
avcc_payload += u16.pack(len(sps))
avcc_payload += sps
avcc_payload += u8.pack(1) # reserved (0) + number of sps (0000001)
avcc_payload += u16.pack(len(sps))
avcc_payload += sps
diff --git
a/youtube_dl/extractor/leeco.py
b/youtube_dl/extractor/leeco.py
index 8dd1ce0d0e935888f3a90dedf92f113f2ef74f9b..7dc0ad7947a8b3ddfa7713f5f2fe231cf9a1ebf5 100644
(file)
--- a/
youtube_dl/extractor/leeco.py
+++ b/
youtube_dl/extractor/leeco.py
@@
-326,7
+326,7
@@
class LetvCloudIE(InfoExtractor):
elif play_json.get('code'):
raise ExtractorError('Letv cloud returned error %d' % play_json['code'], expected=True)
else:
elif play_json.get('code'):
raise ExtractorError('Letv cloud returned error %d' % play_json['code'], expected=True)
else:
- raise ExtractorError('Letv cloud returned an unkn
wo
n error')
+ raise ExtractorError('Letv cloud returned an unkn
ow
n error')
def b64decode(s):
return compat_b64decode(s).decode('utf-8')
def b64decode(s):
return compat_b64decode(s).decode('utf-8')
diff --git
a/youtube_dl/extractor/rtlnl.py
b/youtube_dl/extractor/rtlnl.py
index 0b5e55d16d30764fda7d4182c31d8eae9fb6f9cc..fadca8c175475e9b2bf7cb4c9bc0a7e2ed163fcc 100644
(file)
--- a/
youtube_dl/extractor/rtlnl.py
+++ b/
youtube_dl/extractor/rtlnl.py
@@
-32,7
+32,7
@@
class RtlNlIE(InfoExtractor):
'duration': 1167.96,
},
}, {
'duration': 1167.96,
},
}, {
- # best format avai
al
ble a3t
+ # best format avai
la
ble a3t
'url': 'http://www.rtl.nl/system/videoplayer/derden/rtlnieuws/video_embed.html#uuid=84ae5571-ac25-4225-ae0c-ef8d9efb2aed/autoplay=false',
'md5': 'dea7474214af1271d91ef332fb8be7ea',
'info_dict': {
'url': 'http://www.rtl.nl/system/videoplayer/derden/rtlnieuws/video_embed.html#uuid=84ae5571-ac25-4225-ae0c-ef8d9efb2aed/autoplay=false',
'md5': 'dea7474214af1271d91ef332fb8be7ea',
'info_dict': {
diff --git
a/youtube_dl/extractor/soundcloud.py
b/youtube_dl/extractor/soundcloud.py
index 3a8626e0200471f7d90ec8042d43545348a44b55..05538f3d6b8733fe30f45ef642a9d730bbd39cd5 100644
(file)
--- a/
youtube_dl/extractor/soundcloud.py
+++ b/
youtube_dl/extractor/soundcloud.py
@@
-197,7
+197,7
@@
class SoundcloudIE(InfoExtractor):
'skip_download': True,
},
},
'skip_download': True,
},
},
- # not avai
al
ble via api.soundcloud.com/i1/tracks/id/streams
+ # not avai
la
ble via api.soundcloud.com/i1/tracks/id/streams
{
'url': 'https://soundcloud.com/giovannisarani/mezzo-valzer',
'md5': 'e22aecd2bc88e0e4e432d7dcc0a1abf7',
{
'url': 'https://soundcloud.com/giovannisarani/mezzo-valzer',
'md5': 'e22aecd2bc88e0e4e432d7dcc0a1abf7',