diff --git a/core.py b/core.py index df144bf..b26c70e 100644 --- a/core.py +++ b/core.py @@ -27,7 +27,7 @@ checkboxlist_dialog, clear, ) -import pyclip +import pyperclip __version__ = "0.3.0" @@ -635,7 +635,7 @@ def query_download_url(): ).run() if target_url is None: try: - target_url = pyclip.paste().decode() + target_url = pyperclip.paste() except: target_url = "" diff --git a/requirements.txt b/requirements.txt index ae3465e..5b415e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ prompt-toolkit>=3.0.18 vlivepy==1.1.2 reqWrapper>=0.2.1 -pyclip>=0.5.4 +pyperclip>=1.8.2 beautifulsoup4>=4.9.3 \ No newline at end of file