Giter Club home page Giter Club logo

8tracks-downloader-python's Issues

invalid URL error

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?

subprocess errors

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

IOError on some playlists

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.