Skip to content

Commit

Permalink
Fix wrong video title for ixigua
Browse files Browse the repository at this point in the history
  • Loading branch information
axzxc1236 committed Aug 18, 2019
1 parent 154b229 commit 6529320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/you_get/extractors/ixigua.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ 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"\"vid\":\"([^\"]+)")
title = match1(html, r"\"title\":\"(\S+?)\",")
title = match1(html, r"\"player__videoTitle\"><h1>(.*)<\/h1><\/div>")
if not video_id:
log.e("video_id not found, url:{}".format(url))
return
Expand Down

0 comments on commit 6529320

Please sign in to comment.