mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 19:45:24 +00:00
Fix GET_ONLY_LINK (#283)
* fixed GET_ONLY_LINK in HLS_Downloader * added IDEs to .gitignore
This commit is contained in:
parent
6d13b1875a
commit
35770389b1
4
.gitignore
vendored
4
.gitignore
vendored
@ -41,6 +41,10 @@ ENV/
|
|||||||
env.bak/
|
env.bak/
|
||||||
venv.bak/
|
venv.bak/
|
||||||
|
|
||||||
|
# IDEs
|
||||||
|
.idea
|
||||||
|
.vscode
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
Video
|
Video
|
||||||
note.txt
|
note.txt
|
||||||
|
@ -438,13 +438,13 @@ class HLS_Downloader:
|
|||||||
return response
|
return response
|
||||||
|
|
||||||
if GET_ONLY_LINK:
|
if GET_ONLY_LINK:
|
||||||
console.print(f"URL: {self.m3u8_url}[/bold red]")
|
console.print(f"URL: [bold red]{self.m3u8_url}[/bold red]")
|
||||||
return {
|
return {
|
||||||
'path': None,
|
'path': None,
|
||||||
'url': self.m3u8_url,
|
'url': self.m3u8_url,
|
||||||
'is_master': getattr(self.m3u8_manager, 'is_master', None),
|
'is_master': getattr(self.m3u8_manager, 'is_master', None),
|
||||||
'msg': None,
|
'msg': None,
|
||||||
'error': error_msg,
|
'error': None,
|
||||||
'stopped': True
|
'stopped': True
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user