mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-27 00:22:09 +00:00
[vevo] Mark all test timestamps as approximate
This commit is contained in:
parent
15fd51b37c
commit
fd5e6f7ef2
1 changed files with 4 additions and 3 deletions
|
@ -21,6 +21,7 @@ class VevoIE(InfoExtractor):
|
||||||
https?://videoplayer\.vevo\.com/embed/embedded\?videoId=|
|
https?://videoplayer\.vevo\.com/embed/embedded\?videoId=|
|
||||||
vevo:)
|
vevo:)
|
||||||
(?P<id>[^&?#]+)'''
|
(?P<id>[^&?#]+)'''
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://www.vevo.com/watch/hurts/somebody-to-die-for/GB1101300280',
|
'url': 'http://www.vevo.com/watch/hurts/somebody-to-die-for/GB1101300280',
|
||||||
"md5": "06bea460acb744eab74a9d7dcb4bfd61",
|
"md5": "06bea460acb744eab74a9d7dcb4bfd61",
|
||||||
|
@ -33,7 +34,8 @@ class VevoIE(InfoExtractor):
|
||||||
"duration": 230.12,
|
"duration": 230.12,
|
||||||
"width": 1920,
|
"width": 1920,
|
||||||
"height": 1080,
|
"height": 1080,
|
||||||
'timestamp': 1372057200,
|
# timestamp and upload_date are often incorrect; seem to change randomly
|
||||||
|
'timestamp': int,
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
'note': 'v3 SMIL format',
|
'note': 'v3 SMIL format',
|
||||||
|
@ -47,7 +49,7 @@ class VevoIE(InfoExtractor):
|
||||||
'title': 'I Wish I Could Break Your Heart',
|
'title': 'I Wish I Could Break Your Heart',
|
||||||
'duration': 226.101,
|
'duration': 226.101,
|
||||||
'age_limit': 0,
|
'age_limit': 0,
|
||||||
'timestamp': 1392796919,
|
'timestamp': int,
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
'note': 'Age-limited video',
|
'note': 'Age-limited video',
|
||||||
|
@ -58,7 +60,6 @@ class VevoIE(InfoExtractor):
|
||||||
'age_limit': 18,
|
'age_limit': 18,
|
||||||
'title': 'Tunnel Vision (Explicit)',
|
'title': 'Tunnel Vision (Explicit)',
|
||||||
'uploader': 'Justin Timberlake',
|
'uploader': 'Justin Timberlake',
|
||||||
# timestamp and upload_date are often incorrect; seem to change randomly
|
|
||||||
'upload_date': 're:2013070[34]',
|
'upload_date': 're:2013070[34]',
|
||||||
'timestamp': int,
|
'timestamp': int,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue