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:
Ritiek Malhotra
2019-12-17 12:58:51 +05:30
parent 03a8b50ab4
commit ca1ab5118c

View File

@@ -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()