Closed mattjegan closed 8 years ago
Fixed the JSONDecodeError by allowing requests to handle the interaction with the json api.
requests
This is now working:
$ python3 vanity.py vanity --json vanity-1.2.5.zip 2013-03-18 1,909 vanity-2.0.4.zip 2014-09-03 1,221 vanity-1.1.1.zip 2011-10-28 2,546 vanity-2.0.5.zip 2014-09-03 2,958 vanity-1.2.4.zip 2013-02-19 1,897 vanity-1.2.0.tar.gz 2012-01-30 2,362 vanity-2.0.3.zip 2013-06-28 2,645 vanity-2.0.0.zip 2013-05-26 1,651 vanity-1.2.2.zip 2012-07-31 2,133 vanity-2.1.0.zip 2015-07-03 3,395 vanity-1.2.3.zip 2012-08-08 2,186 vanity-1.2.1.tar.gz 2012-02-16 2,473 vanity-1.1.2.zip 2011-10-28 2,417 vanity-1.1.0.zip 2011-10-26 2,416 vanity-2.0.2.zip 2013-05-27 1,671 vanity-2.2.0.zip 2016-01-06 253 vanity-2.2.0.tar.gz 2016-01-06 399 vanity-1.0.zip 2011-04-14 2,628 vanity-2.2.1.zip 2016-04-27 30 vanity-2.2.1.tar.gz 2016-04-27 90 vanity-2.0.1.zip 2013-05-27 1,660 ---------------------------------------------- vanity has been downloaded 38,940 times! *** Note: PyPI stats are broken again; we're now waiting for warehouse. https://github.com/aclark4life/vanity/issues/22 ***
Looks good to me, thanks
And… released: https://pypi.python.org/pypi/vanity/2.2.2. Thanks again @mattjegan
Fixed the JSONDecodeError by allowing
requests
to handle the interaction with the json api.This is now working: