Fix site jav321 trailer capture
Update jav321.py
This commit is contained in:
@@ -87,7 +87,8 @@ def get_trailer(html) -> str:
|
|||||||
videourl_pather = re.compile(r'<source src=\"(.*?)\"')
|
videourl_pather = re.compile(r'<source src=\"(.*?)\"')
|
||||||
videourl = videourl_pather.findall(html)
|
videourl = videourl_pather.findall(html)
|
||||||
if videourl:
|
if videourl:
|
||||||
return videourl[0]
|
url = videourl[0].replace('cc3001.r18.com', 'cc3001.dmm.co.jp')
|
||||||
|
return url
|
||||||
else:
|
else:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user