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 Jan 8, 2020
2 parents 7673399 + b96acaa commit afc1b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/you_get/extractors/sohu.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def sohu_download(url, output_dir='.', merge=True, info_only=False, extractor_pr
vid = r1('id=(\d+)', url)
else:
html = get_html(url)
vid = r1(r'\Wvid\s*[\:=]\s*[\'"]?(\d+)[\'"]?', html)
vid = r1(r'\Wvid\s*[\:=]\s*[\'"]?(\d+)[\'"]?', html) or r1(r'bid:\'(\d+)\',', html)
assert vid

if extractor_proxy:
Expand Down

0 comments on commit afc1b57

Please sign in to comment.