You are here

Ini files

About creating, modifying site INI files. (SiteIni Pack)

[SOLVED] tvtv.ca error

Forums: 

i am getting the same error on a lot of channels using tvtv.ca

Same error if i use gracenote.com as well

https://www.tvtv.ca/bc/burnaby/v5h2k3/luCAN-0009972-X/stn/112291

 Debug ] 
[  Info  ] (   6/158 ) TVTV.CA -- chan. (xmltv_id=1503 - TLNFL3) -- mode Incremental
[Warning ] server error, code 500
[Error   ] Unable to update channel 1503 - TLNFL3
[Critical] Generic syntax exception:
[Critical]    message: 
[Error   ] no index page data received from 1503 - TLNFL3
[Error   ] unable to update channel, try again later
[  Info  ] Existing guide data restored!

 

update. i just ran it again. sometimes they work sometimes not.

i
error downloading page: Response status code does not indicate success: 429 (Too Many Requests).
Unable to update channel HDS17(460)
Generic syntax exception:
   message:
no index page data received from HDS17(460)
unable to update channel, try again later
Existing guide data restored!

Create new .ini Prime Video

Forums: 

It would be very useful to create an .ini file for the following URL:

https://www.primevideo.com/-/es/livetv

Thank you very much.

port.hu - rate limit, interval

Forums: 

Hi folks,

I'm trying to access Hungarian port.hu but hit a limitation (rate/offset). A user reported a workaround by changing the ini parameters to:

"offset": 0,
"slow": true,
"jobs": 4,
"ratelimit": 3,
"interval": 2},

[SOLVED] GR: Antennaplus

Forums: 

Hello,

Can someone fix the F1 channel in Greece > antennaplus.gr. ?

There is a rebrand regarding channel names as Sport1 Sport2 and Sport3. I got the others working but the former F1 channel (now sports 1) gets me this error: 

Generic syntax exception:
  message:  
Current culture: en-GB
time parsing error : String '' was not recognized as a valid DateTime.
nextstartdatetime time scrubbed :  
computer date/time format: 13/09/2025 16:14:51
Existing guide data restored!

If you need more info please ask

Thank you

 

 

Error Regex on Canalsat France

Forums: 

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

OS : Ubuntu 22.04.5

XML channels : canalplus.com.channels.france.xml

INI file : canalplus.com.ini

 

Hi, 

When I want to grab the TV programs of the CANAL+ CINEMA(S) "fr##fr##198", I get the following REGEX error:

Can you tell me what this error means and if it is possible to fix the problem?

 

  !! -- WARNING : canalplus.com doesn't allow epg grabbing !!
it is advised to disable this channel / site from your channel list

pinnnnnnnnnnnnnnnnnnnnnnnn
Unable to update channel CANAL+ CINEMA(S)
See log file for details
Exception.Message: Invalid pattern '\d+h\d+|^.*+ de courts.*$|^.*+ DE COURTS.*$' at offset 12. Nested quantifier '+'.
Exception.StackTrace:    at System.Text.RegularExpressions.RegexParser.ScanRegex()
   at System.Text.RegularExpressions.RegexParser.Parse(String pattern, RegexOptions options, CultureInfo culture)
   at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, CultureInfo culture)
   at  .―. (String, String, String,  ,  , Boolean , String )
   at  .―. (String, String, String, String, String, Boolean, String )
   at  .―. (String, String[], String)
   at  .―. (String, String[], String, Boolean)
   at  .―. (Dictionary`2, String, Boolean)
   at  .―. (String, •)
   at  .—. (String, 
, ‥)
   at  .—. (String[])
Existing guide data restored!

I also have a lot of tv programs on different channels that are not in the grabbed xml. 

Exemple : TF1 09/04 21h10 - HPI S05E05

This program is not grabbed by canalplus.com... While when I watch the tv program from https://www.canalplus.com/programme-tv/, this program is indeed present ! ...

Thank you.

 

 

Attachments: 

tvguide.com.ini, using regex with index_showsplit, and various thoughts

Forums: 

i got to playing recently with an old tv card i hadn't touched in 10 years and as a part of that casual project i came across your program. i was really pleased with how well thought out it is, and the documentation is just stellar: everything you need without a whole bunch of fluff making it tedious. props to Jan and Francis, and also Blackbear199 for the inis he wrote, including this's original, and for all the forum support he's given people, which i most definitely made use of. 

so i saw that there's all this well-made documentation for a well-made program, but when i went into the inis to look for something to mimic, i found that most the stuff was encrypted, and the most thorough-looking one for me to ape wasn't working anymore. i thought that was a shame enough that i decided to make a little sub-project of updating the tvguide.com.ini as best as i could to the best-practices extolled by the documentation and the documented config files. i checked tvguide over for all that could populate the available elements, optimized the regexes for large files, and commented everything for easy reading. i hit a wall partway through, but i've pretty much accomplished my goals, and it gets basic data fine now. check my comments in the header about keepindexpage if using it.

the one gap in the documentation that really stymied me was figuring out what wg+ was doing with the showsplit regex. now that i've figured it out, i made a little explanation / demo of how wg+ parses regex matches in the showsplit, to hopefully save anyone else some time and stress: see also: https://regex101.com/r/itVcnE/

so after working with it a while, i have a couple constructive observations:

it would be nice if the B number format could be opened up alongside the F and D formats for conversion. That would allow dec->bool and then using substring to find a 1 at a set position instead of having to AND on decimal values for a bitwise lookup value. it'd be more readable and easier to work with.

it would be nice if keepindexpage could be cached more granularly, ie, 1 url per channelgroup (zip etc) when that's how the source provides it, instead of either by channel or by whole site. right now i choose between using the "keepindexpage" option and dividing zipcode-feeds among separate config.xmls so that the massive indexpage is only req'd once, or leaving "keepindexpage" off and rerequing it every channel to enable mixed zipcodes in the same config. 

a json parser would sometimes be nicer than regexes, it'd be convenient to be doing node.last/child/etc instead of building regexes that deal with inner nodes that share the same name as outer nodes and such. same with a html dom object.

an extra parameter to add a random delay between 0-x above and beyond the *-delay config options would be neat.

is there a way to preemptively cleanup a whole response for the urlshow->showdetails & urlsubdetail->showsubdetails scopes like showsplit.modify{cleanup(style=jsondecode)} does for the indexshowdetails scope?

the regex engine doesn't like valid ways of dealing with escaped quotes (\") inside two quotes like "((?:[^"\\]|\\.)*)" or "((?:\\.|[^"])+)"

index_urlshow{url|file://.. doesn't seem to work whereas url_index{url|file://.. does, i haven't gotten as far as detail_urlsubdetail

in the showdetails scope, none of these seem to work when element 1 and 2 have the same content:
 detail_element2.modify {clear([='detail_element1'])}
 detail_element2.modify {clear(['detail_element1' = 'detail_element2'])}
 detail_element2.modify {clear(['detail_element1' ~ 'detail_element2'])}
 detail_element2.modify {clear(['detail_element2' ~ 'detail_element1'])}
detail_element2.modify {set|###'detail_element1'###'detail_temp1'###} 
  yields <element2>###detail_element1###detail_temp1###</element2>
whereas these things work in the indexshowdetails scope with their respective index_ counterparts.

if the above 2 are just a thing for non-donators, maybe could variable substitutions be opened up to use at least just within the options ()s so that app behavior doesn't vary in the showdetails scope between donated/non versions?

i was going to finish out the showsubdetails scope if i could, but i'm held up by the file:// options not working for me in some scopes, and being unable to test anything with variable substitutions in the showdetails scope, so that's as far as i can get. its fixed enough for decent index listings, and it still can serve well enough as a decent template for others i think. enjoy!

TVGuide error downloading page: Response status code does not indicate success: 403 (Forbidden)

Forums: 

My instance of tvguide stopped downloading. I updated to version 31 with the same results.

I tried to start over and just create the channel listing and I got the same error. I'm in the US no VPN. I can go to tvguide site in a browser, so I don't think I'm blocked. Below is the exact error I get just trying to create the provider list for my zip code.:

root@webgrabplus:/app# ./update.sh 

            WebGrab+Plus/w MDB & REX Postprocess -- version V5.3.1.0            

                                Jan van Straaten                                
                             Francis De Paemeleere                              

 thanks to Paul Weterings, Mat8861, Blackbear199 and all the contributing users 
--------------------------------------------------------------------------------

Job started at 11/08/2025 10:42:07
Checking Internet ..
For License request/update data, see WGLicense.log.txt
Checking License ..
-   Program benefits setting "donator"
found: /config/siteini.pack/International/tvguide.com.ini -- Revision 31

!! SiteIni tvguide.com.ini in channelfile creation mode !!!

processing /data/guide.xml ...
Found existing channel (xmltv_id=dummy) in the config file
...

      i=index  .=same  c=change  g=gab  r=replace  n=new

Group (0) :
update requested for - 1 - out of - 1 - channels for 2 day(s)
(   1/1   ) TVGUIDE.COM -- chan. (xmltv_id=dummy) -- mode ChannelList
i
error downloading page: Response status code does not indicate success: 403 (Forbidden).

Channellist file 68521 created.

Job finished at 11/08/2025 10:42:10 done in 2s

 

Any ideas what to try next?

E! Entertainment USA

Forums: 

Hi,

Is someone get the EPG for E! Entertainment, USA version?

Br

Juan

Pages

Brought to you by Jan van Straaten

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