Forbidden You don't have permission to access

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
raulsara
Posts: 54
Joined: 2006-02-13 14:05:04

Forbidden You don't have permission to access

Post by raulsara »

Hello, i've modifying the script culturalianet but i 've a problem.
I can extract all the fields except the picture, it returns a message HTTP 1.1 403 Forbidden. If i try to access directly the URL it returns the same message.

Pleasse could you help me.

Thanks
antp
Site Admin
Posts: 9675
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,
It seems that the site wants a referral to be sure that the pic is accessed from the page.
You can achieve that by using GetPicture2 instead of GetPicture.
You have then to pass as second parameter the page address (the page with the movie information; it is possible that the root of the site is enough, i.e. 'http://www.culturalianet.com')
raulsara
Posts: 54
Joined: 2006-02-13 14:05:04

Now, it's running

Post by raulsara »

Hello Antp, Thanks for your help, the script is ok.
I will test it and i will send you the file as soon as posible

Thanks :grinking: :grinking: :grinking:
Post Reply