scdl-org / scdl

Soundcloud Music Downloader
GNU General Public License v2.0
3.36k stars 337 forks source link

Too Many Requests for url | download stopped working #440

Open 3deep5me opened 1 year ago

3deep5me commented 1 year ago

Hi folks,

got a new error during download/update my lib:

Track n°12
Traceback (most recent call last):
  File "/usr/local/bin/scdl", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/site-packages/scdl/scdl.py", line 239, in main
    download_url(client, **python_args)
  File "/usr/local/lib/python3.11/site-packages/scdl/scdl.py", line 365, in download_url
    download_playlist(client, playlist, **kwargs)
  File "/usr/local/lib/python3.11/site-packages/scdl/scdl.py", line 489, in download_playlist
    track = client.get_track(track.id)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/soundcloud/soundcloud.py", line 228, in get_track
    return self.requests["track"](track_id=track_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/soundcloud/soundcloud.py", line 450, in __call__
    r.raise_for_status()
  File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://api-v2.soundcloud.com/tracks/459113259?client_id=a3e059563d7fd3372b49b37f00a00bcf

I used these parameters:

      -l
      https://soundcloud.com/'user'
      -p
      --download-archive
      archiv.txt
      --no-original
      -c

Would be really thankful for help.