mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Merge pull request #638 from ritiek/fix-crash
Patch all Pafy versions till v0.5.5
This commit is contained in:
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
- Added `track_id` key for `--file-format` parameter ([@kadaliao](https://github.com/kadaliao)) (#568)
|
- Added `track_id` key for `--file-format` parameter ([@kadaliao](https://github.com/kadaliao)) (#568)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- Some tracks randomly fail to download with Pafy v0.5.5 ([@ritiek](https://github.com/ritiek)) (#638)
|
||||||
- Generate list error --write-m3u ([@arthurlutz](https://github.com/arthurlutz)) (#559)
|
- Generate list error --write-m3u ([@arthurlutz](https://github.com/arthurlutz)) (#559)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ pafy.g.opener.addheaders.append(("Range", "bytes=0-"))
|
|||||||
|
|
||||||
# Implement unreleased methods on Pafy object
|
# Implement unreleased methods on Pafy object
|
||||||
# More info: https://github.com/mps-youtube/pafy/pull/211
|
# More info: https://github.com/mps-youtube/pafy/pull/211
|
||||||
if pafy.__version__ <= "0.5.4":
|
if pafy.__version__ <= "0.5.5":
|
||||||
from spotdl import patcher
|
from spotdl import patcher
|
||||||
|
|
||||||
pafy_patcher = patcher.PatchPafy()
|
pafy_patcher = patcher.PatchPafy()
|
||||||
|
|||||||
Reference in New Issue
Block a user