Hi, I ran into a problem.
If a website is opened in the browser that is distinguishable from the link to the image, it is no longer possible to download it.
Is there anything we can do about it?
https://postimg.cc/MMnnT9qb
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
DownloadImage
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: DownloadImage
Hi,
if TChromiumCore.DownloadImage and TChromiumCore.StartDownload don't work then try using the code in the URLRequest demo.
if TChromiumCore.DownloadImage and TChromiumCore.StartDownload don't work then try using the code in the URLRequest demo.
Re: DownloadImage
But there is no way to use the same proxy. Perhaps the problem is an incorrect Referer. Is it possible to install it when downloading?
DownloadImage - specifies the referrer of the page
DownloadImage - specifies the referrer of the page
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: DownloadImage
Try the Page.getResourceContent DevTools method :
https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-getResourceContent
The last resort is using the ResponseFilterBrowser demo.
https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-getResourceContent
The last resort is using the ResponseFilterBrowser demo.