snipem/playstation-price-drop-alert — pull request #2 by shunkp (2014-05-01 21:53:00+00:00)
Title: Update psnpricealert.py

- do our version-specific imports only once vs in getJsonResponse(url)
- return data for both versions in getJsonResponse(url)
- quit if not Python 2.x or 3.x (may not be necessary, just added it in case)
- print out price found without the use of .encode("utf-8") - line 44
- encodes to Bytes and then we cannot use String concatenation (+) on the Bytes
- add match/no match message for 3.x (slightly different format)
- encode the name we are using for CID search prior to HTTP request (was generating Bad Requests)