Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: dirkf <fieldhouse@gmx.net>
  • Loading branch information
PierreMesure and dirkf committed Mar 29, 2024
1 parent 2594f3c commit 3f45e4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions youtube_dl/extractor/acast.py
Expand Up @@ -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 = [{
Expand Down Expand Up @@ -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>[^/#?]+)
Expand Down

0 comments on commit 3f45e4c

Please sign in to comment.