Skip to content

Tag: download

Not able to download a file through request in python

When I try to download a file online it doesn’t work for a particular site while it works for others. Why is this happening and what should I do about it? I write the content of the dl request in my case https://drivers.amd.com/drivers/amd-software-adrenalin-edition-22.11.1-win10-win11-nov15.exe (warnin…

How to re-direct output path in python

I want to read urls from .txt file in one directory (Root/URLS/Gibiru_urls.txt) and output into another directory (Root/Images/Gibiru_pics). My python file is located in (Root) Answer I was able to re-direct. It was the os.chdir() method I was looking for.

Defining path for downloaded CSV file in python3

I’m successfully able to download CSV files from a folder on Exavault, using the files provided by Exavault, but the download gets saved in a temporary folder on my Mac. How do I define the directory to save it to? This is an excerpt of the script. Separately there’s a resources_api.py file, which…

problem with my python youtube video downloader

hi guys I’m new to python and i was trying to make a YouTube video downloader, the code is working but the completion message is not shown when video download is completed and I don’t know why the code: Answer You have big mess in code. You runs download() two times before you even select resoluti…

Selenium give file name when downloading

I am working with a selenium script where I am trying to download a Excel file and give it a specific name. This is my code: Is there anyway that I can give the file being downloaded a specific name ? Code: Answer You cannot specify name of download file through selenium. However, you can download the file, f…