Page 1 of 1

Downloading webpages

Posted: Mon Feb 26, 2024 3:34 am
by coco2
I have a question that I don't really know what I'm doing, so any advice you might have will be helpful.

I am trying to download a website using HTTPRequest however the website I am trying to access does not send a response.

I am guessing I need to send it a cookie first? Does anyone know how to deal with cookies in PureBasic?

Re: Downloading webpages

Posted: Mon Feb 26, 2024 8:03 am
by infratec
From where did you get the cookie?

If you have one, look at Header() map.

Re: Downloading webpages

Posted: Mon Feb 26, 2024 8:18 am
by plouf
"guessing" sound like lucky guess

whats the code? can see the site to check also ?
can download other "sites" with your code ?

Re: Downloading webpages

Posted: Thu Feb 29, 2024 10:28 pm
by coco2
It's alright now, I was trying to scrape some data but I found an alternative. Thanks for your help.