mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 11:41:52 +00:00
Apply suggestions from code review
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
2594f3c2bd
commit
3f45e4c128
1 changed files with 4 additions and 4 deletions
|
@ -48,9 +48,9 @@ class ACastIE(ACastBaseIE):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:
|
(?:
|
||||||
(?:(?:embed|www|shows)\.)?acast\.com/|
|
(?:(?:(?P<embed>embed)|www|shows)\.)?acast\.com|
|
||||||
play\.acast\.com/s/
|
play\.acast\.com/s
|
||||||
)
|
)/(?(embed)(?:$/)?)
|
||||||
(?P<channel>[^/]+)/(?P<id>[^/#?]+)
|
(?P<channel>[^/]+)/(?P<id>[^/#?]+)
|
||||||
'''
|
'''
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
|
@ -96,7 +96,7 @@ class ACastChannelIE(ACastBaseIE):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:
|
(?:
|
||||||
(?:www|shows\.)?acast\.com/|
|
(?:(?:www|shows)\.)?acast\.com/|
|
||||||
play\.acast\.com/s/
|
play\.acast\.com/s/
|
||||||
)
|
)
|
||||||
(?P<id>[^/#?]+)
|
(?P<id>[^/#?]+)
|
||||||
|
|
Loading…
Reference in a new issue