Skip to content

Commit

Permalink
Update jav321.py
Browse files Browse the repository at this point in the history
更新预告片下载链接
  • Loading branch information
pikachullk authored Feb 10, 2021
1 parent c093b73 commit 3efd722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebCrawler/jav321.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_trailer(html) -> str:
videourl_pather = re.compile(r'<source src=\"(.*?)\"')
videourl = videourl_pather.findall(html)
if videourl:
url = videourl[0].replace('cc3001.r18.com', 'cc3001.dmm.co.jp')
url = videourl[0].replace('awscc3001.r18.com', 'cc3001.dmm.co.jp').replace('cc3001.r18.com', 'cc3001.dmm.co.jp')
return url
else:
return ''
Expand Down

0 comments on commit 3efd722

Please sign in to comment.