mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
update regex to match vid for xinpianchang
This commit is contained in:
parent
cc4f211382
commit
1b1f1dd118
@ -20,7 +20,7 @@ class Xinpianchang(VideoExtractor):
|
||||
def prepare(self, **kwargs):
|
||||
# find key
|
||||
page_content = get_content(self.url)
|
||||
match_rule = r"vid: \"(.+?)\","
|
||||
match_rule = r"vid = \"(.+?)\";"
|
||||
key = re.findall(match_rule, page_content)[0]
|
||||
|
||||
# get videos info
|
||||
|
Loading…
Reference in New Issue
Block a user