Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when a search result is no longer available due to a copyright claim #34

Closed
mac1202 opened this issue Feb 27, 2014 · 2 comments
Closed

Comments

@mac1202
Copy link

mac1202 commented Feb 27, 2014

Search results for interview pharell enora

Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.3/threading.py", line 901, in _bootstrap_inner
self.run()
File "/usr/lib/python3.3/threading.py", line 858, in run
self._target(_self._args, *_self._kwargs)
File "/usr/bin/mpsyt", line 1586, in preload
song['pafy'] = get_streams(song, future=True)
File "/usr/bin/mpsyt", line 1053, in get_streams
p = pafy.new(song['link'])
File "/usr/lib/python3.3/site-packages/pafy.py", line 260, in new
return Pafy(url, callback=callback)
File "/usr/lib/python3.3/site-packages/pafy.py", line 522, in init
raise RuntimeError("Youtube says: %s" % reason)
RuntimeError: Youtube says: "Pharrell Williams interv..."
This video is no longer available due to a copyright claim by Virgin Radio.

@np1
Copy link
Contributor

np1 commented Feb 27, 2014

I believe this error is handled in the current version. Looking at those line numbers it appears you are not using the current versions of mpsyt and pafy that I released earlier today. Please upgrade and try again.

@mac1202
Copy link
Author

mac1202 commented Feb 28, 2014

Yes fixed with latest version.

@mac1202 mac1202 closed this as completed Feb 28, 2014
@np1 np1 added bug labels Mar 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants