1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-18 02:59:31 +00:00

Apply suggestions from code review

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
Pierre 2024-03-29 13:25:42 +01:00 committed by GitHub
parent 2594f3c2bd
commit 3f45e4c128
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>[^/#?]+)