Skip to content

Commit

Permalink
Don't download original file if auth token is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Jun 8, 2024
1 parent f9e4691 commit 8a08a43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scdl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- encoding: utf-8 -*-
"""Python Soundcloud Music Downloader."""
__version__ = "v2.7.9"
__version__ = "v2.7.10"
1 change: 1 addition & 0 deletions scdl/scdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ def download_track(client: SoundCloud, track: BasicTrack, playlist_info=None, ex
track.downloadable
and not kwargs["onlymp3"]
and not kwargs.get("no_original")
and client.auth_token
):
filename, is_already_downloaded = download_original_file(client, track, title, playlist_info, **kwargs)

Expand Down

0 comments on commit 8a08a43

Please sign in to comment.