Fix GET_ONLY_LINK (#283)

* fixed GET_ONLY_LINK in HLS_Downloader

* added IDEs to .gitignore
This commit is contained in:
Gianluca Lauro 2025-03-10 14:12:38 +01:00 committed by GitHub
parent 6d13b1875a
commit 35770389b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

4
.gitignore vendored
View File

@ -41,6 +41,10 @@ ENV/
env.bak/
venv.bak/
# IDEs
.idea
.vscode
# Other
Video
note.txt

View File

@ -438,13 +438,13 @@ class HLS_Downloader:
return response
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 {
'path': None,
'url': self.m3u8_url,
'is_master': getattr(self.m3u8_manager, 'is_master', None),
'msg': None,
'error': error_msg,
'error': None,
'stopped': True
}