scottopell / 8tracks-downloader-python Goto Github PK
View Code? Open in Web Editor NEWDownloads a given playlist from 8tracks to your computer
License: GNU General Public License v3.0
Downloads a given playlist from 8tracks to your computer
License: GNU General Public License v3.0
There seems a problem with a specific playlist. In general the tool works well.
Hope you find the problem with this playlist, here is the error output and the command/playlist used:
http://pastie.org/private/gyqc6dsfbysdwavxbibrla
Thanks
I tried downloading a playlist using this command:
python downloader.py -u http://8tracks.com/aadharshd/instrumental-covers -a xxxxxxxxxxxxxxxxx -d Instrumental\ Covers/
but got the following error: invalid URL
PS: I have to access internet using a proxy but I have set the bash http_proxy variable using the export command. Might that be the problem?
when running this:
downloader.py -u http://8tracks.com/oldschool4u/chillstep-on-air-2 -a 32(xxxx)02 -d C:\monitor\tracks -mp3 MP3
The following error occurs:
C:\monitor>downloader.py -u http://8tracks.com/oldschool4u/chillstep-on-air-2 -a
32xx502 -d C:\monitor -mp3 MP3
Downloading 1 - Flume - Sleepless (Cosmo's Midnight Remix) (None).m4a
Traceback (most recent call last):
File "C:\monitor\downloader.py", line 154, in
to_mp3(file_path)
File "C:\monitor\downloader.py", line 37, in to_mp3
subprocess.call(["faad", '-o', wav_path, m4a_path])
File "C:\Python27\lib\subprocess.py", line 493, in call
return Popen(_popenargs, *_kwargs).wait()
File "C:\Python27\lib\subprocess.py", line 679, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 896, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
see playlist http://8tracks.com/courting-accordion/encampment
one song has a / in file_name
adding followingin line 149 (directly after file_name = ...) helps:
file_name = re.sub("/", "", file_name)
Some playlists give me this error. For example, if I run:
D:\8tracks\downloader.py -u http://8tracks.com/footprintsonthemoon/let-go-tonight -a 2eXXXXb80
I get the following error:
Downloading 1 - Calvin Harris feat. Kelis-Bounce (2011).m4a
Traceback (most recent call last):
File "D:\8tracks\downloader.py", line 165, in
f = open(file_path,'wb')
IOError: [Errno 2] No such file or directory: u'./let go tonight \1 - Calvin Harris feat. Kelis-Bounce (2011).m4a'
This also happens to other playlists like:
Almost all other playlists seem to work.
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.