Skip to content

Commit

Permalink
fix filemoon
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmich committed Sep 13, 2024
1 parent 62e20c9 commit f7848ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servers/filemoon.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ def test_video_exists(page_url):

def get_video_url(page_url, premium=False, user="", password="", video_password=""):
global data
packed = support.match(data, patron=r'(eval\(function\(p.*?)</').match
packed = support.match(data, patron=r'<script data-cfasync=\"false\" type=\"text/javascript\">(eval\(function\(p,a,c,k,e,d\).*?)\s*</script>').match

if packed:
data = jsunpack.unpack(packed).replace("\\", "")
video_urls = support.get_jwplayer_mediaurl(data, 'filemoon', hls=True)
Expand Down

0 comments on commit f7848ff

Please sign in to comment.