About creating, modifying site INI files. (SiteIni Pack)
published by DenisG on Mon, 2019-06-17 18:45
Before I start thanks again for this magnificent tool!
WebGrab+Plus/w MDB & REX Postprocess -- version V2.1.5
Running on: Unix 5.1.9.1
Environment: 4.0.30319.42000
Mono version: 5.20.1 (makepkg/886c4901747 Wed Apr 17 15:49:14 UTC 2019)
Same results with V2.1.9. I haven't tried with the 2.1.0 version.
I have recently decided to switch to the BBC's own source for program info on BBC World News. The result is excellent actually better than any other source I have used before but... I can only get one day. For some reason even though it loads index for as many days as requested it stops at the end of the first day with "skipped : last show, no next startime to use as stop" as the last message on the log. Yet there is another full day in the html source... I have put in a debug at the creation of the index_variable_element and although the Block 0 debug info is as expected, the Block 1 seems strange to me.
I have tried a whole bunch of variations but in all cases only the first day is processed.
The attached zip contains
Config: WebGrab++.config.xml
Site.ini: bbc.co.uk.ini
Cookies: hot_cookies.txt
Log: WebGrab++.log.txt
html dump: html.source.htm
Guide: test-debug.xml
Any help will be greatly appreciated...
Cheers,
Denis
published by alfabe on Sun, 2019-06-16 19:40
Hello,
I am trying to make an ini file on macos over mono 5.20.
But I am unable to use scrubbed temp element. I simpy try to add the hour from temp_2 to the end of the temp_1. I tried addend, addstart, replace with 'element' but they did not work.
Here is the snippet of the ini file
Quote:
index_showsplit.modify {sort(ascending,string)}
sort_by.scrub {single(target="index_showsplit")|"no"|:|,|,}
index_showsplit.modify {cleanup}
*
index_temp_1.scrub {regex||"day": "(.*?)", "||}
index_temp_1.modify {calculate(format=date,yyyy-MM-ddThh:mm:ssZ)|1:0 +}
index_temp_2.scrub {regex||"start_date": "[\d-]*(T.*?Z)", "||}
temp_3.scrub {regex||"end_date": "[\d-]*(T.*?Z)", "||}
index_temp_1.modify{substring(type=regex)|([\d-]*)T.*?Z}
index_temp_1.modify{addend(debug)|'index_temp_2'}
Here is the debug output.
Quote:
[ Debug ] Element: INDEX_TEMP_1
[ Debug ] Modify
[ Debug ] command & arguments : addend(debug)
[ Debug ] Expression-1 : 'index_temp_2'
[ Debug ] Element value before operation:
[ Debug ] 2019-06-16
[ Debug ] String composer result for Expression-1 :
[ Debug ] Expression-1 expanded :
[ Debug ] Element value after operation:
[ Debug ] 2019-06-16
[ Debug ] Debugging information SiteIni
[ Debug ] Element: INDEX_TEMP_1
[ Debug ] Modify
[ Debug ] command & arguments : addend(debug)
[ Debug ] Expression-1 : 'index_temp_2'
[ Debug ] Element value before operation:
[ Debug ] 2019-06-16
[ Debug ] String composer result for Expression-1 :
[ Debug ] Expression-1 expanded :
[ Debug ] Element value after operation:
[ Debug ] 2019-06-16
[ Debug ] Debugging information SiteIni
published by martin85 on Wed, 2019-06-12 10:10
Quote:
index_start.scrub {multi(debug,type=regex,pattern="HHmmss")||"program_stime":"(\d{6})"||}
index_stop.scrub {multi(type=regex,pattern="HHmmss")||"program_etime":"(\d{6})"||}
In the above code if the time below 24 hours the pattern works properly, but when it is above 24 hours up then an error occurs.
What about the solution?
published by ddanijell on Sun, 2019-05-26 21:14
Hi
I have a problem with update of mts.rs channels
my log file:
[ ]
[ ] WebGrab+Plus/w MDB & REX Postprocess -- version V2.1.9
[ ]
[ ] Jan van Straaten
[ ] Francis De Paemeleere
[ ]
[ ] thanks to Paul Weterings and all the contributing users
[ ] --------------------------------------------------------------------------------
[ ]
[ ] Job started at 26/05/2019 20:57:02
[ Debug ]
[ Debug ] Running on: Microsoft Windows NT 6.2.9200.0
[ Debug ] Environment: 4.0.30319.42000
[ Debug ]
[ Debug ] Loading timezone data
[ Debug ] Embedded timezones source: timezone.timezonesdata.txt
[ Debug ] Reading config file: C:\Users\Utente\AppData\Local\WebGrab+Plus\WebGrab++.config.xml
[ Debug ]
[ Info ] found: C:\Users\Utente\AppData\Local\WebGrab+Plus\mts.rs.ini -- Revision 00
[ Info ] encrypted with userkey and expiry date
[ Info ] input file C:\Users\Utente\AppData\Local\WebGrab+Plus\guide.xml not found ... created a new one ...
[ Info ]
[ Info ]
[ Info ] i=index .=same c=change g=gab r=replace n=new
[ Info ]
[ Info ]
[ Info ] Group (0) :
[ Info ] update requested for - 1 - out of - 1 - channels for 1 day(s)
[ Debug ]
[ Info ] ( 1/1 ) MTS.RS -- chan. (xmltv_id=Superstar HD) -- mode Incremental
[Error ] Unable to update channel Superstar HD
[Critical] Generic syntax exception:
[Critical] message:
[Error ] Current culture: en-GB
[Error ] time parsing error : String was not recognized as a valid DateTime.
[Error ] nextstartdatetime time scrubbed :
[Error ] computer date/time format: 26/05/2019 20:57:06
[ Info ] Existing guide data restored!
[ Debug ]
[ Debug ] 0 shows in 1 channels
[ Debug ] 0 updated shows
[ Debug ] 38 new shows added
[ Info ]
[ Info ]
[ ] Job finished at 26/05/2019 20:57:06 done in 4s
[ Debug ] statistics upload error: The remote server returned an error: (404) Not Found.
and this is my guide.xml:
<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.1.9 -- Jan van Straaten" generator-info-url="http://www.webgrabplus.com">
<channel id="Superstar HD">
<display-name lang="en">Superstar HD</display-name>
<url>http://www.mts.rs</url>
</channel>
</tv>
published by Pamm on Mon, 2019-05-20 00:46
The season and the episode do not appear, I checked the NOS guide and they do. Can someone help me to change the ini to appear in the guide also the episode and season?
published by Peter88 on Wed, 2019-05-15 14:30
Hi,
Rude of me to ask. but I'm cheeky and will ask anyway.
Could anybody kindly create a tvtv.uk ini file? I've had a quick look into modifying the existing tvtv.uk one to suit, but It's a bit beyond me. Would it be possible for someone to look into it for me? I'm loving webgrab as it's given me control over my epg usage and I'm enjoying the reading up and implementing side of things.
Thanks
Peter
published by cixxo on Wed, 2019-05-15 05:53
Hi everyone, I'm looking for a developer who can create a new site.ini from superguidatv.it.
The site is always up to date, and the file would replace many .ini
I accept offers also for a fee :-)
published by yangyanch on Sun, 2019-05-12 18:33
Is it possible to load a site and read some info and save it in an index_variable, before calling the index_url?
The preload function in the manual doesn't seem to do that what I need.
Pages