twaddington / python-rdio-export Goto Github PK
View Code? Open in Web Editor NEWA tool for exporting an Rdio collection to a portable file format like markdown.
License: Apache License 2.0
A tool for exporting an Rdio collection to a portable file format like markdown.
License: Apache License 2.0
You're receiving this email because you've created an Rdio API application that uses OAuth 1.0. We wanted you to know that we've recently launched OAuth 2.0 and we'll be removing support for OAuth 1.0. You'll need to switch your application to OAuth 2.0 for your application to continue working. Checkout the announcement on the blog for the full details.
http://blog.rdio.com/developers/2015/06/oauth-20-launch.html
https://github.com/requests/requests-oauthlib#the-oauth-2-workflow
Got this exception running rdio-export --user myusername
:
Traceback (most recent call last):
File "/usr/local/bin/rdio-export", line 109, in <module>
sys.exit(main())
File "/usr/local/bin/rdio-export", line 95, in main
for t in exporter.collection(user):
File "/usr/local/lib/python2.7/site-packages/rdio_export/exporter.py", line 88, in collection
user=user.get('key'), sort=sort, start=start, count=count, extras=extras)
File "/usr/local/lib/python2.7/site-packages/rdio_export/exporter.py", line 44, in _call
headers=headers, data=data).json()
File "/Library/Python/2.7/site-packages/requests/api.py", line 88, in post
return request('post', url, data=data, **kwargs)
File "/Library/Python/2.7/site-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 456, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 559, in send
r = adapter.send(request, **kwargs)
File "/Library/Python/2.7/site-packages/requests/adapters.py", line 375, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='services.rdio.com', port=443): Max retries exceeded with url: /api/1/collection (Caused by <class 'socket.error'>: [Errno 60] Operation timed out)
Useful stuff, just a few suggestions for additions/modifications to your README:
rdio-export --email <email> > output.md
RDIO_CONSUMER_KEY
and RDIO_CONSUMER_SECRET
).The exporter outputs the albums of all the songs in a user's collection, as if the user's collection was comprised entirely of complete albums. A list of the tracks in a user's Collection would be more useful/accurate.
The file bin/rdio-export
, referenced in setup.py is missing from git.
$ python setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/rdio_export
copying rdio_export/exporter.py -> build/lib/rdio_export
copying rdio_export/__init__.py -> build/lib/rdio_export
running build_scripts
creating build/scripts-3.4
error: file '/home/hugo/tmp/python-rdio-export/bin/rdio-export' does not exist
Ref #5
$ rdio-export -k XXX -s YYY -u hobarrera
Traceback (most recent call last):
File "/usr/bin/rdio-export", line 96, in <module>
sys.exit(main())
File "/usr/bin/rdio-export", line 72, in main
user = exporter.get_user(username=args.username)
File "/usr/lib/python2.7/site-packages/rdio_export/exporter.py", line 50, in get_user
return self._call('social', 'findUser', vanityName=username, extras=extras)
File "/usr/lib/python2.7/site-packages/rdio_export/exporter.py", line 35, in _call
auth=self.auth, data=data).json()
File "/usr/lib/python2.7/site-packages/requests/models.py", line 776, in json
return json.loads(self.text, **kwargs)
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Hi mate, how Can I extract in CSV format.
You script is amazing, I'm trying to use with Ivy (http://www.ivyishere.org/ivy) to migrate from Rdio to Spotify.
This website only accept CSV, iTunes XML or Artist + Titles.
Can you help me?
Ps.: Do you accept paypal donations?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.