Skip to content

Commit

Permalink
Merge pull request #359 from qingchoulove/main
Browse files Browse the repository at this point in the history
fix: Pass download_param to the link structure.
  • Loading branch information
miRemid authored Nov 13, 2023
2 parents 9b32462 + 3ba1a31 commit 5784350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubespider/core/source_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def download_with_source_provider(self, event: Event) -> TypeError:
return TypeError(f'No links found for {event.source}')
for link in links:
link.path = os.path.join(helper.convert_file_type_to_path(link.file_type), link.path)
event.put_extra_params(match_provider.get_download_param())
link.put_extra_params(match_provider.get_download_param())
err = download_trigger.kubespider_downloader.download_file(link, Downloader(
match_provider.get_download_provider_type(),
match_provider.get_prefer_download_provider(),
Expand Down

0 comments on commit 5784350

Please sign in to comment.