Update url_fix.py

This commit is contained in:
Fline 2024-04-11 15:13:01 +02:00 committed by GitHub
parent eb6110e14f
commit 04d935b0be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ class M3U8_UrlFix:
# Check if m3u8 url playlist is present
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)
# 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
full_url = urljoin(base_url, url_resource)
return full_url
return full_url