Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Update ServiceCode.pys
Browse files Browse the repository at this point in the history
  • Loading branch information
piplongrun authored Nov 17, 2017
1 parent 6e0f8b1 commit 7c84ba3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Contents/Services/URL/Trailer Addict/ServiceCode.pys
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ def PlayVideo(url, **kwargs):

if data:
data = HTTP.Request('https://piplong.run/api/jsunpack/', data=data).content
files = RE_FILES.findall(data)
else:
return Redirect(UNAVAILABLE_URL)

files = RE_FILES.findall(data)

if len(files) < 1:
Log('Regex failed')
return Redirect(UNAVAILABLE_URL)
Expand Down

0 comments on commit 7c84ba3

Please sign in to comment.