How to use wget in PyCharm for downloading files directly? or Can you use wget in PyCharm to automate

22 Replies, 1867 Views

Ever tried `youtube-dl`? It’s like wget but for media. Works in PyCharm’s terminal too.

But yeah, for general files, `requests` or `urllib` are more Pythonic. Wget feels like a band-aid.
Thanks for all the suggestions, folks! I tried the `subprocess` method to use wget in PyCharm, and it worked, but I see why everyone’s recommending `requests`—way cleaner.

Quick follow-up: Anyone got a favorite `requests` wrapper for handling errors and retries? Some of the sites I’m scraping are flaky.

Also, `scrapy` looks dope for bigger projects—gonna check that out next. Appreciate the help!



Users browsing this thread: 1 Guest(s)