Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/xiaohutushen30/you-get i…
Browse files Browse the repository at this point in the history
…nto xiaohutushen30-develop
  • Loading branch information
soimort committed Aug 2, 2019
2 parents 2932665 + 179bbea commit 864757f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/you_get/extractors/ixigua.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def tmp():
def ixigua_download(url, output_dir='.', merge=True, info_only=False, **kwargs):
# example url: https://www.ixigua.com/i6631065141750268420/#mid=63024814422
html = get_html(url, faker=True)
video_id = match1(html, r"videoId\s*:\s*'([^']+)'")
title = match1(html, r"title: '(\S+)',")
video_id = match1(html, r"\"vid\":\"([^\"]+)")
title = match1(html, r"\"title\":\"(\S+?)\",")
if not video_id:
log.e("video_id not found, url:{}".format(url))
return
Expand Down

0 comments on commit 864757f

Please sign in to comment.