steve-pedersen / spotify-infosuite

A desktop, content-based retrieval app that will fetch and display extensive information about the artist and song you are currently listening to on Spotify. This is a school project at SF State.
https://stevedpedersen.github.io/spotify-infosuite
MIT License
3 stars 0 forks source link

Reviews: 404 #16

Closed stevedpedersen closed 6 years ago

stevedpedersen commented 6 years ago

➜ spotify_infosuite git:(news) ✗ python3 spotify_infosuite.py 2560 1440

-----Now Playing----- Artist: Buke & Gase Song: Typo Album: Arone vs. Aron No results found in Musikki database... use a diff API? no artist found Musikki found artist with name: Buke & Gase Searching Pitchfork for album: Arone vs. Aron Searching Metacritic for album: Arone-vs.-Aron Exception in thread Thread-3: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run self._target(*self._args, *self._kwargs) File "/Users/pedersen/cs690/spotify-infosuite/spotify_infosuite/reviews/reviews.py", line 31, in __get_data m = metacritic.search(artist, album, apikey) File "/Users/pedersen/cs690/spotify-infosuite/spotify_infosuite/reviews/metacritic/metacritic.py", line 35, in search response = urlopen(request, context=context) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found

stevedpedersen commented 6 years ago

-----Now Playing----- Artist: Whitney Song: No Woman Album: Light Upon the Lake Musikki found artist with name: Whitney

Searching Pitchfork for album: Light Upon the Lake Searching Metacritic for album: Light-Upon-the-Lake Exception in thread Thread-4: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run self._target(*self._args, *self._kwargs) File "/Users/pedersen/cs690/spotify-infosuite/spotify_infosuite/reviews/reviews.py", line 47, in __get_data p = pitchfork.search(artist, album) File "/Users/pedersen/cs690/spotify-infosuite/spotify_infosuite/reviews/pitchfork/pitchfork.py", line 225, in search response_text = urlopen(request, context=context).read() File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 564, in error result = self._call_chain(args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 756, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 503: Service Unavailable

9 404 responses in image handler Images handler found 1 images. SIZE: 1 w: 460.0 h: 320.0 w2: 480.0 h2: 405.0

-----Metacritic Results-----

Whitney - Light Upon the Lake Critic Score: 83 ( 18 reviews) User Score: 8.7 ( 46 reviews)

stevedpedersen commented 6 years ago

-----Now Playing----- Artist: Interpol Song: Pioneer to The Falls Album: Our Love To Admire Musikki found artist with name: Interpol Searching Pitchfork for album: Our Love To Admire Searching Metacritic for album: Our-Love-To-Admire Images handler found 2 images. SIZE: 2 w: 460.0 h: 320.0 w2: 480.0 h2: 405.0 Exception in thread Thread-4: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run self._target(*self._args, *self._kwargs) File "/Users/pedersen/cs690/spotify-infosuite/spotify_infosuite/reviews/reviews.py", line 47, in __get_data p = pitchfork.search(artist, album) File "/Users/pedersen/cs690/spotify-infosuite/spotify_infosuite/reviews/pitchfork/pitchfork.py", line 203, in search response = urlopen(request, context=context) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 564, in error result = self._call_chain(args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 756, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 503: Service Unavailable

http://static.metacritic.com/images/products/music/3/80b3197b51e72e7c5e6dcd625d426362-53.jpg