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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

DownloadImage

Post Reply
dilfich
Posts: 368
Joined: Thu Nov 30, 2017 1:17 am

DownloadImage

Post by dilfich »

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
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: DownloadImage

Post by salvadordf »

Hi,

if TChromiumCore.DownloadImage and TChromiumCore.StartDownload don't work then try using the code in the URLRequest demo.
dilfich
Posts: 368
Joined: Thu Nov 30, 2017 1:17 am

Re: DownloadImage

Post by dilfich »

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
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: DownloadImage

Post by salvadordf »

Try the Page.getResourceContent DevTools method :
https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-getResourceContent

The last resort is using the ResponseFilterBrowser demo.
Post Reply