dry run skip the download

This commit is contained in:
jbannon 2022-07-22 06:58:32 +00:00
parent ccd58b94d8
commit 570f615560

View file

@ -137,6 +137,7 @@ class SoundcloudAlbumsAndSinglesDownloader(
if self.download_options.skip_premiere_tracks and track.is_premiere(): if self.download_options.skip_premiere_tracks and track.is_premiere():
continue continue
if not self.is_dry_run:
_ = self.extract_info( _ = self.extract_info(
url=album.kwargs("webpage_url"), url=album.kwargs("webpage_url"),
ytdl_options_overrides={ ytdl_options_overrides={
@ -166,6 +167,7 @@ class SoundcloudAlbumsAndSinglesDownloader(
if self.download_options.skip_premiere_tracks and track.is_premiere(): if self.download_options.skip_premiere_tracks and track.is_premiere():
continue continue
if not self.is_dry_run:
_ = self.extract_info( _ = self.extract_info(
url=track.kwargs("webpage_url"), ytdl_options_overrides={"writeinfojson": False} url=track.kwargs("webpage_url"), ytdl_options_overrides={"writeinfojson": False}
) )