mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-23 00:07:49 +00:00
[arte:future] Make duplicated test matching only
This commit is contained in:
parent
24114fee74
commit
9c54ae3387
1 changed files with 10 additions and 17 deletions
|
@ -201,24 +201,17 @@ class ArteTVFutureIE(ArteTVPlus7IE):
|
||||||
IE_NAME = 'arte.tv:future'
|
IE_NAME = 'arte.tv:future'
|
||||||
_VALID_URL = r'https?://future\.arte\.tv/(?P<lang>fr|de)/(?P<id>.+)'
|
_VALID_URL = r'https?://future\.arte\.tv/(?P<lang>fr|de)/(?P<id>.+)'
|
||||||
|
|
||||||
_TESTS = [
|
_TESTS = [{
|
||||||
{
|
|
||||||
'url': 'http://future.arte.tv/fr/info-sciences/les-ecrevisses-aussi-sont-anxieuses',
|
'url': 'http://future.arte.tv/fr/info-sciences/les-ecrevisses-aussi-sont-anxieuses',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '050940-028-A',
|
'id': '050940-028-A',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Les écrevisses aussi peuvent être anxieuses',
|
'title': 'Les écrevisses aussi peuvent être anxieuses',
|
||||||
},
|
},
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
'url': 'http://future.arte.tv/fr/la-science-est-elle-responsable',
|
'url': 'http://future.arte.tv/fr/la-science-est-elle-responsable',
|
||||||
'info_dict': {
|
'only_matching': True,
|
||||||
'id': '061982-002-A',
|
}]
|
||||||
'ext': 'mp4',
|
|
||||||
'title': 'Brian P. Schmidt - Prix Nobel de physique 2011',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
class ArteTVDDCIE(ArteTVPlus7IE):
|
class ArteTVDDCIE(ArteTVPlus7IE):
|
||||||
|
|
Loading…
Reference in a new issue