You are here

Canalplus.com - 403 Forbidden

24 posts / 0 new
Last post
poloche63
Offline
Donator
Joined: 6 years
Last seen: 1 week
Canalplus.com - 403 Forbidden

Version : WebGrab+Plus/w MDB & REX Postprocess -- version  V5.5.0.0

OS : Ubuntu 22.04

Dotnet : v 9.0.4

INI version file : Rev 9

 

CANALPLUS.COM is not working. I’m getting a 403 error when attempting to grab data. I have a french residential IP.

Thanks :)

 

[  Info  ] (   2/175 ) CANALPLUS.COM -- chan. (xmltv_id=6TER) -- mode Incremental
[Warning ] no robots data found
[Warning ] skipped robots check
[Warning ] error downloading page: Response status code does not indicate success: 403 (Forbidden).
[Warning ] error downloading page: Response status code does not indicate success: 403 (Forbidden).
[Warning ] error downloading page: Response status code does not indicate success: 403 (Forbidden).

 

 

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

Is this a vps? We noticed vps are having tons of problems. Also the attached zip is corrupted anyway the siteini version is correct. I guess you also you using the config sample in misc folder, are you?

poloche63
Offline
Donator
Joined: 6 years
Last seen: 1 week

It's not a VPS ! It's my computer at home connected to my Orange France provider (IP residential).

I joined a new archive zip file, attached to this message :)

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

please replace config with https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site... then add your license and channels

poloche63
Offline
Donator
Joined: 6 years
Last seen: 1 week

OK, i downloaded the files from your url, i replace with my credentials (user, pass, email) and put one channel (6TER) from canalplus.com.

Same error, nothing change :s

Thanks

PS : I attached the log file with this reply.

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

You are right, although it is working fine on windows, on ubuntu returns 403, very strange...will try to find out why.

Attachments: 
poloche63
Offline
Donator
Joined: 6 years
Last seen: 1 week

Oh ! I d'ont have try on Windows system... I run all my tools on my Linux OS .

Thanks for searching the issue and fix :)

 

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

Ok I guess canalplus servers don't like windows user-agent coming from linux so i changed in config to :

<user-agent>Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0</user-agent>

and works fine.

PS

set time span 6 or less, do not use timespan 7 as my log ( i was checking a 14 days site and forgot to change)

 

Attachments: 
poloche63
Offline
Donator
Joined: 6 years
Last seen: 1 week

Good job ! 

i'm back to grab with canalplus.com service !

Thanks

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

You're welcome, thanks for your patience.

davidmumar
Offline
davidmumar's picture
Donator
Joined: 6 years
Last seen: 15 hours

I changed the user agent, but I still get the same error.

Attachments: 
eratox
Offline
Donator
Joined: 7 years
Last seen: 1 month

Hi,

I’m having the same issue. I also get a 403 (Forbidden) error when trying to grab data from CANALPLUS.COM, and I’m using a French residential IP.

My configuration seems correct — I’m attaching it to this post in case it helps.

Thanks.

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

See config sample notes, many linux users solved the problem:

https://github.com/SilentButeo2/webgrabplus-siteinipack/blob/master/site...

It might well be that your ip is banned, eventually try in few days

Attachments: 
wynasoft
Offline
Donator
Joined: 8 years
Last seen: 1 day

same issue here is not a ban ip is just working in windows with user agent posted above but in ubuntu no way

 

thanks

 

regards

poloche63
Offline
Donator
Joined: 6 years
Last seen: 1 week

Hello, grab is working fine with the user agent on ubuntu 22.04 WebGrab v5.5.0.0 / Dotnet 9.0.4 : <user-agent>Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0</user-agent>

I grab all day with my french residential IP (Orange) :)

wynasoft
Offline
Donator
Joined: 8 years
Last seen: 1 day

yes after 24 hours working again in ubuntu with useragent posted here.

thanks 

regards

extream87
Offline
Donator
Joined: 10 years
Last seen: 2 weeks

Today error back

[Warning ] no robots data found

[Warning ] skipped robots check

[Warning ] error downloading page: Response status code does not indicate success: 403 (Forbidden).

[Warning ] error downloading page: Response status code does not indicate success: 403 (Forbidden).

[Warning ] error downloading page: Response status code does not indicate success: 403 (Forbidden).

[Error ] Unable to update channel CANAL+FOOT

[Critical] Generic syntax exception:

[Critical] message: 

[Error ] no index page data received from CANAL+FOOT

[Error ] unable to update channel, try again later

[ Info ] Existing guide data restored!

 

poloche63
Offline
Donator
Joined: 6 years
Last seen: 1 week

Hi, i can confirm the back of error 403 forbidden !

 

You need to use an updated Firefox user agent to grab :)

<user-agent>Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0</user-agent>

(   1/1   ) CANALPLUS.COM -- chan. (xmltv_id=CANAL+ FOOT) -- mode Incremental
piiiiiiiii...........................................................................................................................................

   Summary for update of       CANAL+ FOOT
     no changes, no update necessary !
     unchanged shows inspected 139
     total after update        139

Job finished at 04/07/2026 17:28:28 done in 24s

 

extream87
Offline
Donator
Joined: 10 years
Last seen: 2 weeks

Thanks mate i will try but im on Windows... Can this be bypassed with Flaresolverr mat8861? 

poloche63
Offline
Donator
Joined: 6 years
Last seen: 1 week

You only need to replace your user agent by this updated in your WebGrab.config.xml ! Not needed to patch anything other :)

<?xml version="1.0" encoding="utf-8"?>
<settings>
  <!-- for detailed info about the settings see http://webgrabplus.com/documentation/configuration/webgrabconfigxml -->
  <filename>webgrab.xml</filename>
  <mode>nomark,verify</mode>
  <postprocess grab="y" run="n">mdb</postprocess>
  <user-agent>Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0</user-agent>

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

Use rev 11 there is a fix for country / channel list

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

@extream87 in this 10 years have you ever changed user-agent laugh ?

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 22 hours

@poloche63 

 <mode>m n !</mode>

extream87
Offline
Donator
Joined: 10 years
Last seen: 2 weeks

Hahaha yes like 6 times not more xD

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl