mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00
Update url_fix.py
This commit is contained in:
parent
eb6110e14f
commit
04d935b0be
@ -33,7 +33,7 @@ class M3U8_UrlFix:
|
|||||||
|
|
||||||
# Check if m3u8 url playlist is present
|
# Check if m3u8 url playlist is present
|
||||||
if self.url_playlist == None:
|
if self.url_playlist == None:
|
||||||
logging.error("[M3U8_UrlFix] Cant generate full url, playlist not present")
|
logging.error("[M3U8_UrlFix] Can't generate full url, playlist not present")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
# Parse the playlist URL to extract the base URL components
|
# Parse the playlist URL to extract the base URL components
|
||||||
@ -45,4 +45,4 @@ class M3U8_UrlFix:
|
|||||||
# Join the base URL with the relative resource URL to get the full URL
|
# Join the base URL with the relative resource URL to get the full URL
|
||||||
full_url = urljoin(base_url, url_resource)
|
full_url = urljoin(base_url, url_resource)
|
||||||
|
|
||||||
return full_url
|
return full_url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user