Merge branch 'xinpianchang1' of https://github.com/yueyericardo/you-get into yueyericardo-xinpianchang1

This commit is contained in:
Mort Yao 2020-11-11 18:24:03 +01:00
commit c381c6e582
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -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