Page 1 of 1

Forbidden You don't have permission to access

Posted: 2013-10-04 17:55:24
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

Posted: 2013-10-04 20:54:43
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')

Now, it's running

Posted: 2013-10-05 13:02:22
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: