Compare commits

...

2 Commits

Author SHA1 Message Date
Pierre Mesure b91bbb8084 Edit tests 2 months ago
Pierre 3f45e4c128
Apply suggestions from code review
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 months ago

@ -48,9 +48,9 @@ class ACastIE(ACastBaseIE):
_VALID_URL = r'''(?x)
https?://
(?:
(?:(?:embed|www|shows)\.)?acast\.com/|
play\.acast\.com/s/
)
(?:(?:(?P<embed>embed)|www|shows)\.)?acast\.com|
play\.acast\.com/s
)/(?(embed)(?:$/)?)
(?P<channel>[^/]+)/(?P<id>[^/#?]+)
'''
_TESTS = [{
@ -96,7 +96,7 @@ class ACastChannelIE(ACastBaseIE):
_VALID_URL = r'''(?x)
https?://
(?:
(?:www|shows\.)?acast\.com/|
(?:(?:www|shows)\.)?acast\.com/|
play\.acast\.com/s/
)
(?P<id>[^/#?]+)
@ -107,6 +107,7 @@ class ACastChannelIE(ACastBaseIE):
'id': '4efc5294-5385-4847-98bd-519799ce5786',
'title': 'Today in Focus',
'description': 'md5:c09ce28c91002ce4ffce71d6504abaae',
'skip': 'Error 404'
},
'playlist_mincount': 200,
}, {
@ -115,6 +116,13 @@ class ACastChannelIE(ACastBaseIE):
}, {
'url': 'https://shows.acast.com/611233d8767fdf0012f22cb6',
'only_matching': True,
}, {
'url': 'https://play.acast.com/s/getthebeltpod',
'info_dict': {
'id': '4caac858-3cda-44e6-b684-50d88b909c18',
'title': 'Get The Belt'
},
'playlist_mincount': 138,
}]
@classmethod

Loading…
Cancel
Save