Skip to content

Commit

Permalink
[Mgoon,Kaltura] Fix regex typo (:?
Browse files Browse the repository at this point in the history
* thx yt-dlp/yt-dlp#10807 (584d455)
  • Loading branch information
dirkf committed Oct 7, 2024
1 parent 9c247fc commit 1208003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/kaltura.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class KalturaIE(InfoExtractor):
(?:
kaltura:(?P<partner_id>\d+):(?P<id>[0-9a-z_]+)|
https?://
(:?(?:www|cdnapi(?:sec)?)\.)?kaltura\.com(?::\d+)?/
(?:(?:www|cdnapi(?:sec)?)\.)?kaltura\.com(?::\d+)?/
(?:
(?:
# flash player
Expand Down
2 changes: 1 addition & 1 deletion youtube_dl/extractor/mgoon.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class MgoonIE(InfoExtractor):
_VALID_URL = r'''(?x)https?://(?:www\.)?
(?:(:?m\.)?mgoon\.com/(?:ch/(?:.+)/v|play/view)|
(?:(?:m\.)?mgoon\.com/(?:ch/(?:.+)/v|play/view)|
video\.mgoon\.com)/(?P<id>[0-9]+)'''
_API_URL = 'http://mpos.mgoon.com/player/video?id={0:}'
_TESTS = [
Expand Down

0 comments on commit 1208003

Please sign in to comment.