[beeg] Fix
This commit is contained in:
parent
c1e20494e4
commit
c9cc267c5f
@ -37,7 +37,7 @@ class BeegIE(InfoExtractor):
|
|||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
cpl_url = self._search_regex(
|
cpl_url = self._search_regex(
|
||||||
r'<script[^>]+src=(["\'])(?P<url>/static/cpl/\d+\.js.*?)\1',
|
r'<script[^>]+src=(["\'])(?P<url>(?:/static|(?:https?:)?//static\.beeg\.com)/cpl/\d+\.js.*?)\1',
|
||||||
webpage, 'cpl', default=None, group='url')
|
webpage, 'cpl', default=None, group='url')
|
||||||
|
|
||||||
cpl_url = urljoin(url, cpl_url)
|
cpl_url = urljoin(url, cpl_url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user