Miserlou / Miserlou/SoundScrape

Fails on Private Tracks (or maybe scrapes)?

Open
#135 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.4k
Forks
143
PR merge metrics
No merged PRs in 30d

Description

https://soundcloud.com/zedsdead/too-young-ft-rivers-cuomo-pusha-t/s-5x7ag

Scraping: Too Young (ft. Rivers Cuomo, Pusha T)
Traceback (most recent call last):
  File "/usr/local/bin/soundscrape", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/soundscrape/soundscrape.py", line 113, in main
    process_soundcloud(vargs)
  File "/usr/local/lib/python2.7/site-packages/soundscrape/soundscrape.py", line 212, in process_soundcloud
    filename = download_file(hard_track_url, filename)
  File "/usr/local/lib/python2.7/site-packages/soundscrape/soundscrape.py", line 1017, in download_file
    if url[0:2] == '//':
TypeError: 'NoneType' object has no attribute '__getitem__'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in soundscrape/soundscrape.py at process_soundcloud and download_file, using the SoundCloud URL and traceback in the issue to reproduce the failure. Trace why download_file receives None and establish the expected behavior for this track before defining the fix and its verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.