mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Patch all Pafy versions till v0.5.5
For some reason, the newer release v0.5.5 of Pafy still does not contain the new methods that were supposed to be a part of the release. With this commit, we change to also apply patches on v0.5.5. Addresses #633, #631.
This commit is contained in:
@@ -16,7 +16,7 @@ pafy.g.opener.addheaders.append(("Range", "bytes=0-"))
|
||||
|
||||
# Implement unreleased methods on Pafy object
|
||||
# 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
|
||||
|
||||
pafy_patcher = patcher.PatchPafy()
|
||||
|
||||
Reference in New Issue
Block a user