mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-22 02:11:26 +02:00
Compare commits
No commits in common. "04f21c56035f5709477f3ba18e571481448ab286" and "b33cb829a641ee1bf46b41e6cb72dd0e646aeb9c" have entirely different histories.
04f21c5603
...
b33cb829a6
|
@ -81,7 +81,7 @@ class ZenPornIE(InfoExtractor):
|
||||||
def _extract_embed_info(self, source):
|
def _extract_embed_info(self, source):
|
||||||
embed = namedtuple('embed', ['ext_domain', 'extr_id'])
|
embed = namedtuple('embed', ['ext_domain', 'extr_id'])
|
||||||
regex = re.compile(
|
regex = re.compile(
|
||||||
r'https:\/\/(?P<ext_domain>[\w.-]+\.\w{3})\/embed\/(?P<extr_id>\d+)\/')
|
r'https:\/\/(?P<ext_domain>[a-zA-Z.-]+\.[a-zA-z]{3})\/embed\/(?P<extr_id>[0-9]+)\/')
|
||||||
match = regex.search(source)
|
match = regex.search(source)
|
||||||
|
|
||||||
if match:
|
if match:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user