projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[twitter] Fix several failed tests
[youtube-dl]
/
youtube_dl
/
extractor
/
twitter.py
diff --git
a/youtube_dl/extractor/twitter.py
b/youtube_dl/extractor/twitter.py
index 77c9176e45b8c3f57da7e9f0632520e89708bb20..64c429f02c61b1a1fea49c7900e93757740bc28d 100644
(file)
--- a/
youtube_dl/extractor/twitter.py
+++ b/
youtube_dl/extractor/twitter.py
@@
-26,7
+26,7
@@
class TwitterCardIE(TwitterBaseIE):
_TESTS = [
{
'url': 'https://twitter.com/i/cards/tfw/v1/560070183650213889',
_TESTS = [
{
'url': 'https://twitter.com/i/cards/tfw/v1/560070183650213889',
- 'md5': '4fa26a35f9d1bf4b646590ba8e84be19',
+ # MD5 checksums are different in different places
'info_dict': {
'id': '560070183650213889',
'ext': 'mp4',
'info_dict': {
'id': '560070183650213889',
'ext': 'mp4',
@@
-48,7
+48,7
@@
class TwitterCardIE(TwitterBaseIE):
},
{
'url': 'https://twitter.com/i/cards/tfw/v1/654001591733886977',
},
{
'url': 'https://twitter.com/i/cards/tfw/v1/654001591733886977',
- 'md5': '
b6f35e8b08a0bec6c8af77a2f4b3a814
',
+ 'md5': '
d4724ffe6d2437886d004fa5de1043b3
',
'info_dict': {
'id': 'dq4Oj5quskI',
'ext': 'mp4',
'info_dict': {
'id': 'dq4Oj5quskI',
'ext': 'mp4',
@@
-68,8
+68,8
@@
class TwitterCardIE(TwitterBaseIE):
'ext': 'mp4',
'upload_date': '20151113',
'uploader_id': '1189339351084113920',
'ext': 'mp4',
'upload_date': '20151113',
'uploader_id': '1189339351084113920',
- 'uploader': '
@
ArsenalTerje',
- 'title': 'Vine by
@
ArsenalTerje',
+ 'uploader': 'ArsenalTerje',
+ 'title': 'Vine by ArsenalTerje',
},
'add_ie': ['Vine'],
}
},
'add_ie': ['Vine'],
}
@@
-142,7
+142,7
@@
class TwitterIE(InfoExtractor):
_TESTS = [{
'url': 'https://twitter.com/freethenipple/status/643211948184596480',
_TESTS = [{
'url': 'https://twitter.com/freethenipple/status/643211948184596480',
- 'md5': 'db6612ec5d03355953c3ca9250c97e5e',
+ # MD5 checksums are different in different places
'info_dict': {
'id': '643211948184596480',
'ext': 'mp4',
'info_dict': {
'id': '643211948184596480',
'ext': 'mp4',