Skip to content

Commit

Permalink
updated scws
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmich committed Jul 29, 2024
1 parent bbdb437 commit 771d2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/streamingcommunityws.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_video_exists(page_url):
global iframeParams
global urlParams
server_url = support.scrapertools.decodeHtmlentities(support.match(page_url, patron=['<iframe [^>]+src="([^"]+)', 'embed_url="([^"]+)']).match)
iframeParams = support.match(server_url, patron=r'''"quality":(\d+)[^;]+;\s+window\.masterPlaylist\s+=\s+{[^{]+({[^}]+}),\s+url:\s+'([^']+)''').match
iframeParams = support.match(server_url, patron=r'''"quality":(\d+),.+window\.masterPlaylist\s+=\s+{[^{]+({[^}]+}),\s+url:\s+'([^']+)''').match

if not iframeParams or len(iframeParams) < 2:
return 'StreamingCommunity', 'Prossimamente'
Expand Down

0 comments on commit 771d2d5

Please sign in to comment.