Miserlou / Miserlou/SoundScrape
Fails on Private Tracks (or maybe scrapes)?
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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