Skip to content

Commit

Permalink
update regex to match vid for xinpianchang
Browse files Browse the repository at this point in the history
  • Loading branch information
yueyericardo committed Nov 10, 2020
1 parent cc4f211 commit 1b1f1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/you_get/extractors/xinpianchang.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b1f1dd

Please sign in to comment.