1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-11 10:17:18 +08:00

[fivetv] Fix broken test

The title changes every episode which caused the test to fail.
A regex is now used to handle every episode update.
This commit is contained in:
rrooij 2017-07-09 15:13:29 +02:00
parent 26901096da
commit d8071ff89d

View File

@ -43,7 +43,7 @@ class FiveTVIE(InfoExtractor):
'info_dict': {
'id': 'glavnoe',
'ext': 'mp4',
'title': 'Итоги недели с 8 по 14 июня 2015 года',
'title': r're:^Итоги недели с \d+ по \d+ \w+ \d{4} года$',
'thumbnail': r're:^https?://.*\.jpg$',
},
}, {