WebGrab+Plus and Argus - Supporter Thread

Discuss XMLTV grabbers or get help with XMLTV grabbing here
Post Reply
ghost5
Posts: 14
Joined: Sun Dec 30, 2012 3:04 am

Re: Perfect XMLTV solution: WebGrab+Plus

Post by ghost5 » Thu Jan 10, 2013 7:37 pm

Webgrab+plus is a great program but it is very daunting for a newcomer.

To try and help here are the .bat files I use to make it work good with Argus TV's different directories it requires for TV and radio.

These files will run the webgrab+plus program and copy the data to the correct folders for Argus to process. It will also save a copy of the data inside the Webgrab folder so that incremental updates work.

These are very similar to the ones post at the beginning of this topic so I have to say thanks for the help to those people (and thanks the the author of Webgrab+plus)

Firstly I start the name of all of my files with a _ so that it appears at the top of the list of files within that folder.
Image
I store all of these files within the Webgrab+plus folder which is
C:\ProgramData\ServerCare\WebGrab

You need to make 2 different configuration files for Webgrab. 1 for TV listings and 1 for Radio listings.
Name them as _tvguide.config.xml and _radioguide.config.xml and set them up as required, making sure you set the file names of the collected data for TV and Radio data as

Code: Select all

 <filename>C:\ProgramData\ServerCare\WebGrab\_tvguide.xml</filename>

Code: Select all

 <filename>C:\ProgramData\ServerCare\WebGrab\_radioguide.xml</filename>
Now for the .bat files which will run Webgrab minimized and move the .xlm (EPG) data to the correct folders.

To create a .bat file simply create a new text document within the folder C:\ProgramData\ServerCare\WebGrab, copy and paste the data below into that text document, press save, then right click the file and rename it to the name that is in bold, making sure that you change the extension from .txt to .bat

First the main file that will copy and rename the configuration files and move the .xml data to the correct folder
_Grab_TV_Radio.bat

Code: Select all

echo off

REM grab tv channels
if exist C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml DEL C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml
COPY "C:\ProgramData\ServerCare\WebGrab\_tvguide.config.xml" "C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml"
START /D "C:\Program Files (x86)\ServerCare\WebGrab+PlusV1.1.1" /MIN /WAIT WebGrab+Plus.exe

REM move tv xmltv file to ARGUS TV directory
COPY "C:\ProgramData\ServerCare\WebGrab\_tvguide.xml" "C:\ProgramData\ARGUS TV\XMLTV\_tvguide.xml"

REM wait for 5 seconds (by pinging an invalid address)
ping 1.1.1.1 -n 6 > nul

REM grab radio channels
if exist C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml DEL C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml
COPY "C:\ProgramData\ServerCare\WebGrab\_radioguide.config.xml" "C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml"
START /D "C:\Program Files (x86)\ServerCare\WebGrab+PlusV1.1.1" /MIN /WAIT WebGrab+Plus.exe


REM delete config files and move radio xmltv file to ARGUS TV directory
if exist C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml DEL C:\ProgramData\ServerCare\WebGrab\WebGrab++.config.xml
COPY "C:\ProgramData\ServerCare\WebGrab\_radioguide.xml" "C:\ProgramData\ARGUS TV\XMLTV\Radio\_radioguide.xml"
This second .bat file will run the above .bat but will make it run minimized
_runwebgrab_minimized.bat

Code: Select all

START /D "C:\ProgramData\ServerCare\WebGrab" /MIN _Grab_TV_Radio.bat
To test it simply double click the file
_runwebgrab_minimized.bat
Note that you will still need to manually close window when it has finished if you double click it, but not if you run it as a task.

To make this run everyday open task scheduler and create a new task to run everyday (I find early morning at around 4am to work best for me) and set it to run the program

Code: Select all

C:\ProgramData\ServerCare\WebGrab\_runwebgrab_minimized.bat
Make sure you set it to run whether the user is logged in or not and that it is run with the highest privileges

That's all there is to it.


As I know that this program is daunting for new comers here are my configuration files that grab UK Sky TV data for 14 days from tvguide.co.uk and radio data from mydigiguide.co.uk, which will give you a good starting point

Note to get 14 days of data you need to edit
C:\ProgramData\ServerCare\WebGrab\tvguide.co.uk.ini
Change the 9th line down to

Code: Select all

site {url=tvguide.co.uk|timezone=UTC+00:00|maxdays=15|cultureinfo=en-GB|charset=ISO-8859-1|titlematchfactor=50}
_tvguide.config.xml

Code: Select all

<?xml version="1.0"?>
<!-- Configuration file for WebGrab+Plus, the incremental Electronic-Program-Guide web grabber
by Jan van Straaten, December 2011
Version V1.1.1 -->

<settings>
  <!-- filename      
The path (required) + filename where the epgguide xml file is /will be located. It must include drive and folder. Like C:\ProgramData\ServerCare\WebGrab\guide.xml
If the file already exist (from last run or from another xmltv source) it will read it and use what fits the requested output. In that case the file will be updated. If no such file exist it will be created.
Change the following to your own needs  :
-->
 <filename>C:\ProgramData\ServerCare\WebGrab\_tvguide.xml</filename>
  
  <!-- modes:   
d or debug    saves the output xmltv file in a file with -debug addition in the file name . The original xmltv file will be kept.  
m or measure  measures the time for each updated show or new show added 
n = nomark    disables the update-type marking (n) (c) (g) (r) at the end of the description
v or verify   verifies the result following a channel update
w or wget     use wget as grab engine (might improve site recognition in rare cases)
Note that modes can be added in one line, separated by comma's or spaces, or both. 
-->
  <mode>w</mode>
  
  <!-- postprocess:
  Optional , specifies which of the available postprocesses should run.
  syntax: <postprocess run="" grab="">processname</postprocess>
  
(optional) grab="yes" or "y" or "true" or "on" : grabs epg first (default)     ; "no" or "n" or "false" or "off" : skip epg grabbing 
(optional) run="yes" or "y" or "true" or "on" : runs the postprocess (default) ; "no" or "n" or "false" or "off" : do not run post process
processname: the process to run : 
processname = mdb runs a build in movie database grabber (read / adapt  ...\mdb\mdb.confif.xml
processname = rex runs a postprocess that re-allocates xmltv elements (read / adapt  ...\rex\rex.config.xml)
examples:
  <postprocess run="on" grab="on">mdb</postprocess>  grabs first , then run mdb
  <postprocess>mdb</postprocess>  same as above (uses defaults for grab and run)
  <postprocess grab="no">rex</postprocess>  runs rex without grab (existing xmltv file)
-->
  <postprocess run="no" grab="y">mdb,imdb.com</postprocess>
  
  <!-- proxy:
This setting is only required if your computer is connected to internet behind a proxy
specify proxy address as ip:port like <proxy>192.168.2.4:8080</proxy>
or as <proxy>automatic</proxy> which attempts to read the proxy address from your connection settings. If your proxy requires a username and password, add them like 
<proxy user="username" password="password">192.168.2.4:8080</proxy>  
  <proxy>192.168.2.2:8080</proxy>
-->
<proxy>automatic</proxy>

  <!-- user agent:
The user agent string that is sent to the tvguide website. Some sites require this. Valid values are either 
, in which case the program generates a random string, or any other string like <user-agent>Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US)</user-agent>  <user-agent>random</user-agent><user-agent>Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US)</user-agent><user-agent>Mozilla/5.0 (Linux; U; Android 0.5; en-us) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3</user-agent>
-->
<user-agent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; yie9)</user-agent>
  
  
  <!-- logging: 
simply put 'on' in there to start logging, anything else will turn it off 
-->
  <logging>on</logging>

  <!--retry
The most simple form of retry defines the amount of times the grabber engine should attempt to capture a web page before giving up and continuing with the next page, like <retry>4</retry>
It is also the place to specify delays between retries and the grabbing of html pages with the following attributes: timeout; the delay between retries (default is 10 sec), channel-delay; the delay between subsequent channels (default is 0), index-delay; the delay between the grabbing of index pages (default is 0), show-delay; the delay between the grabbing of detail show pages (default is 0). In the most complete version it will look like this:
<retry time-out="5" channel-delay="5" index-delay="1" show-delay="1">4</retry> show-delay="2"
-->
  <retry time-out="10">4</retry>

  <!--skip
It takes two values H,m  separated by a comma: 
The first H : if a show takes more than H hours, it's either tellsell or other commercial fluff, or simply a mistake or error, we want to skip such shows.
The second m : if a show is less or equal than m minutes it is probably an announcement , in any case not a real show. 
When entered as <skip></skip> the defaults are 12 hours, 1 minute, same as <skip>12,1</skip>. To disable this function enter  or just leave out this entry completely<skip>14, 1</skip><skip>16,1</skip>
-->
  
<skip>7,3</skip>
  
  <!--timespan
The timespan for which shows will be grabbed.
It takes one or two values separated by a comma or a space. The first is the number of days (including today) to download, note that 0 is today. The second (optional) is a time specified between 0:00 and 24:00 which will reduce the download to only the one show (per day) which is scheduled around the specified time. Any value between start time (including) and stop time will do
This -one-show-only mode is helpfull if a SiteIni file needs to be debugged
-->
  <timespan>13</timespan>

  <!-- update mode
i or incremental     only updates of changes , gabs, repairs and new shows
l or light           forces update of today and new shows, rest as incremental
s or smart           forces update of today and tomorrow and new shows, rest as light
f or full or force   forces full update 
If one of these values is entered here it will apply to all channels selected for update 
(see channel).  This value overrules the value of 'update' for in the individual channels 
If no value is entered here the individual 'update' values from the channellist are taken 
-->
  <update>i</update>

  <!-- The channel-list :
Each channel to be grabbed has a separate entry in the list, the most common form is: 
<channel update=.. site=.. site_id=.. xmltv_id=..  >display-name</channel> 
Besides this form, there is a possibility to specify special channels like 'combi-channels' and 'timeoffset-channels', see further down for more information-->
  <!-- Channel list files : 
The easiest way to compose this channel-list is to copy the required channels from the channel-list files which can be found in the SiteIni.Pack for nearly every supported tvguide site. -->
  <!-- update :
The mode values here can be set for each channel differently if not overruled by the general update setting (see above). Allowed values are as the same as the general update setting. Any other value will be ignored.  If any of the allowed values of 'update' is entered, this channel will be updated , no value no update ! In that case the epg data of that channel will remain as it is.  -->
  <!-- site:
The website to be used to get the EPG from. The value entered here is the name of the .ini file that supplies the specific parameters for the site without .ini extension.
e.g tvgids.nl.ini becomes site="tvgids.nl" and gids.publiekeomroep.nl.ini becomes site="gids.publiekeomroep.nl".-->
  <!-- site_id: 
This is the number or text used by the site as reference to the correct html page for this channel. It is used by the program to compose the url for the shows for a channel. For nearly all sites supported by the program a channel-list file is provided in the siteini-pack. It list most of the available channels including this site_id -->
  <!-- xmltv_id :
The xmltv_id can be any string that suits your needs, you will find it back as the "channel" in your xml file as in : 
<programme start="20100218072500 +0200" stop="20100218075500 +0200" channel="RTL7-id"> -->
  <!-- display-name: This will be used in the xmltv file to give the channel's displayname. That is the name the epgprogram  will use to display the channel. Give it any value you like. It is no problem if site_id , xmltv_id and display-name are equal -->
  <!-- Important ! 
Be aware that all channels entered here will be included in the xmltv channel table even if no update is requested. This allows the update of individual channels without affecting the data of the others in the list. A channel not in this list will be removed from your xmltv listing together with all the show data of it if found there by WebGrab+Plus. (If you use WebGrab+Plus with a xmltv input file from another source, it will remove all data from channels not in this list and create an entry for new channels)
WebGrab+Plus uses the xmltv_id to identify a channel in an existing xmltv file.
-->    
  <!--UK-->
    <channel update="i" site="tvguide.co.uk" site_id="77" xmltv_id="BBC1 N West">BBC1 N West</channel>
    <channel update="i" site="tvguide.co.uk" site_id="550" xmltv_id="Blighty">Blighty</channel>
    <channel update="i" site="tvguide.co.uk" site_id="120" xmltv_id="Challenge">Challenge</channel>
    <channel update="i" site="tvguide.co.uk" site_id="476" xmltv_id="Channel 4 HD">Channel 4 HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="387" xmltv_id="BBC HD">BBC HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="66" xmltv_id="BBC News">BBC News</channel>
    <channel update="i" site="tvguide.co.uk" site_id="96" xmltv_id="BBC2 N West">BBC2 N West</channel>
    <channel update="i" site="tvguide.co.uk" site_id="108" xmltv_id="BBC3">BBC3</channel>
    <channel update="i" site="tvguide.co.uk" site_id="109" xmltv_id="BBC4">BBC4</channel>
    <channel update="i" site="tvguide.co.uk" site_id="126" xmltv_id="CNN">CNN</channel>
    <channel update="i" site="tvguide.co.uk" site_id="215" xmltv_id="Comedy Central Extra">Comedy Central Extra</channel>
    <channel update="i" site="tvguide.co.uk" site_id="664" xmltv_id="Comedy Central HD">Comedy Central HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="556" xmltv_id="Crime & Investigation HD">Crime & Investigation HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="455" xmltv_id="Dave ja vu">Dave ja vu</channel>
    <channel update="i" site="tvguide.co.uk" site_id="395" xmltv_id="Discovery HD">Discovery HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="129" xmltv_id="Discovery History">Discovery History</channel>
    <channel update="i" site="tvguide.co.uk" site_id="372" xmltv_id="Discovery Real Time">Discovery Real Time</channel>
    <channel update="i" site="tvguide.co.uk" site_id="134" xmltv_id="Discovery Science">Discovery Science</channel>
    <channel update="i" site="tvguide.co.uk" site_id="397" xmltv_id="Discovery Shed">Discovery Shed</channel>
    <channel update="i" site="tvguide.co.uk" site_id="386" xmltv_id="Discovery Turbo">Discovery Turbo</channel>
    <channel update="i" site="tvguide.co.uk" site_id="454" xmltv_id="DMAX">DMAX</channel>
    <channel update="i" site="tvguide.co.uk" site_id="609" xmltv_id="E4 HD">E4 HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="670" xmltv_id="Eden HD">Eden HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="662" xmltv_id="ESPN America HD">ESPN America HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="401" xmltv_id="ESPN Classic">ESPN Classic</channel>
    <channel update="i" site="tvguide.co.uk" site_id="579" xmltv_id="ESPN HD">ESPN HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="502" xmltv_id="Eurosport HD">Eurosport HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="145" xmltv_id="Film4">Film4</channel>
    <channel update="i" site="tvguide.co.uk" site_id="148" xmltv_id="five">Five</channel>
    <channel update="i" site="tvguide.co.uk" site_id="657" xmltv_id="Five HD">Five HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="375" xmltv_id="Five USA">Five USA</channel>
    <channel update="i" site="tvguide.co.uk" site_id="596" xmltv_id="Food Network">Food Network</channel>
    <channel update="i" site="tvguide.co.uk" site_id="488" xmltv_id="FX HD">FX HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="669" xmltv_id="Good Food (HD)">Good Food (HD)</channel>
    <channel update="i" site="tvguide.co.uk" site_id="527" xmltv_id="HISTORY HD">HISTORY HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="322" xmltv_id="Home">Home</channel>
    <channel update="i" site="tvguide.co.uk" site_id="624" xmltv_id="Horse & Country">Horse & Country</channel>
    <channel update="i" site="tvguide.co.uk" site_id="535" xmltv_id="Investigation Discovery">Investigation Discovery</channel>
    <channel update="i" site="tvguide.co.uk" site_id="171" xmltv_id="ITV1 Granada">ITV1 Granada</channel>
    <channel update="i" site="tvguide.co.uk" site_id="180" xmltv_id="ITV2">ITV2</channel>
    <channel update="i" site="tvguide.co.uk" site_id="360" xmltv_id="ITV3">ITV3</channel>
    <channel update="i" site="tvguide.co.uk" site_id="367" xmltv_id="ITV4">ITV4</channel>
    <channel update="i" site="tvguide.co.uk" site_id="592" xmltv_id="Living HD">Living HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="403" xmltv_id="Livingit">Livingit</channel>
    <channel update="i" site="tvguide.co.uk" site_id="615" xmltv_id="MGM HD">MGM HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="505" xmltv_id="Military History">Military History</channel>
    <channel update="i" site="tvguide.co.uk" site_id="361" xmltv_id="More4">More4</channel>
    <channel update="i" site="tvguide.co.uk" site_id="204" xmltv_id="MUTV">MUTV</channel>
    <channel update="i" site="tvguide.co.uk" site_id="557" xmltv_id="Nat Geo Wild HD">Nat Geo Wild HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="408" xmltv_id="National Geographic HD">National Geographic HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="559" xmltv_id="QUEST">QUEST</channel>
    <channel update="i" site="tvguide.co.uk" site_id="422" xmltv_id="Really">Really</channel>
    <channel update="i" site="tvguide.co.uk" site_id="366" xmltv_id="Setanta Ireland">Setanta Ireland</channel>
    <channel update="i" site="tvguide.co.uk" site_id="426" xmltv_id="Setanta Sports 1 Ireland">Setanta Sports 1 Ireland</channel>
    <channel update="i" site="tvguide.co.uk" site_id="484" xmltv_id="Sky Arts 1 HD">Sky Arts 1 HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="553" xmltv_id="Sky Arts 2 HD">Sky Arts 2 HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="514" xmltv_id="Sky Movies Action & Adventure HD">Sky Movies Action & Adventure HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="663" xmltv_id="Sky Movies Classics HD">Sky Movies Classics HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="522" xmltv_id="Sky Movies Comedy HD">Sky Movies Comedy HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="247" xmltv_id="Sky Movies Crime & Thriller HD">Sky Movies Crime & Thriller HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="513" xmltv_id="Sky Movies Drama & Romance HD">Sky Movies Drama & Romance HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="523" xmltv_id="Sky Movies Family HD">Sky Movies Family HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="593" xmltv_id="Sky Movies Indie HD">Sky Movies Indie HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="512" xmltv_id="Sky Movies Modern Greats HD">Sky Movies Modern Greats HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="489" xmltv_id="Sky Movies Premiere HD">Sky Movies Premiere HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="524" xmltv_id="Sky Movies Sci-fi & Horror HD">Sky Movies Sci-fi & Horror HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="649" xmltv_id="Sky News HD">Sky News HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="415" xmltv_id="Sky Sports HD1">Sky Sports HD1</channel>
    <channel update="i" site="tvguide.co.uk" site_id="416" xmltv_id="Sky Sports HD2">Sky Sports HD2</channel>
    <channel update="i" site="tvguide.co.uk" site_id="479" xmltv_id="Sky Sports HD3">Sky Sports HD3</channel>
    <channel update="i" site="tvguide.co.uk" site_id="646" xmltv_id="Sky Sports HD4">Sky Sports HD4</channel>
    <channel update="i" site="tvguide.co.uk" site_id="666" xmltv_id="Sky Sports News HD">Sky Sports News HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="478" xmltv_id="Sky1 HD">Sky1 HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="259" xmltv_id="Sky2">Sky2</channel>
    <channel update="i" site="tvguide.co.uk" site_id="369" xmltv_id="PickTV">PickTV</channel>
    <channel update="i" site="tvguide.co.uk" site_id="545" xmltv_id="Syfy HD">Syfy HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="655" xmltv_id="Universal Channel HD">Universal Channel HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="286" xmltv_id="Viva">Viva</channel>
    <channel update="i" site="tvguide.co.uk" site_id="320" xmltv_id="YeSTERDAY">YeSTERDAY</channel>
    <channel update="i" site="tvguide.co.uk" site_id="683" xmltv_id="BBC1 HD">BBC1 HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="642" xmltv_id="ITV1 HD">ITV1 HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="121" xmltv_id="Channel 4">Channel 4</channel>
    <channel update="i" site="tvguide.co.uk" site_id="432" xmltv_id="Dave">Dave</channel>
    <channel update="i" site="tvguide.co.uk" site_id="726" xmltv_id="Watch HD">Watch HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="703" xmltv_id="Atlantic HD">Sky Atlantic HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="752" xmltv_id="4Seven">4 Seven</channel>
    <channel update="i" site="tvguide.co.uk" site_id="374" xmltv_id="Five_Star">Five Star</channel>
    <channel update="i" site="tvguide.co.uk" site_id="735" xmltv_id="Animal_Planet_HD">Animal Planet HD</channel>
    <channel update="i" site="tvguide.co.uk" site_id="737" xmltv_id="F1_HD">Sky Sports F1 HD</channel>
</settings>
_radioguide.config.xml

Code: Select all

<?xml version="1.0"?>
<!-- Configuration file for WebGrab+Plus, the incremental Electronic-Program-Guide web grabber
by Jan van Straaten, December 2011
Version V1.1.1 -->

<settings>
  <!-- filename      
The path (required) + filename where the epgguide xml file is /will be located. It must include drive and folder. Like C:\ProgramData\ServerCare\WebGrab\guide.xml
If the file already exist (from last run or from another xmltv source) it will read it and use what fits the requested output. In that case the file will be updated. If no such file exist it will be created.
Change the following to your own needs  :
-->
 <filename>C:\ProgramData\ServerCare\WebGrab\_radioguide.xml</filename>
  
  <!-- modes:   
d or debug    saves the output xmltv file in a file with -debug addition in the file name . The original xmltv file will be kept.  
m or measure  measures the time for each updated show or new show added 
n = nomark    disables the update-type marking (n) (c) (g) (r) at the end of the description
v or verify   verifies the result following a channel update
w or wget     use wget as grab engine (might improve site recognition in rare cases)
Note that modes can be added in one line, separated by comma's or spaces, or both. 
-->
  <mode>m</mode>
  
  <!-- postprocess:
  Optional , specifies which of the available postprocesses should run.
  syntax: <postprocess run="" grab="">processname</postprocess>
  
(optional) grab="yes" or "y" or "true" or "on" : grabs epg first (default)     ; "no" or "n" or "false" or "off" : skip epg grabbing 
(optional) run="yes" or "y" or "true" or "on" : runs the postprocess (default) ; "no" or "n" or "false" or "off" : do not run post process
processname: the process to run : 
processname = mdb runs a build in movie database grabber (read / adapt  ...\mdb\mdb.confif.xml
processname = rex runs a postprocess that re-allocates xmltv elements (read / adapt  ...\rex\rex.config.xml)
examples:
  <postprocess run="on" grab="on">mdb</postprocess>  grabs first , then run mdb
  <postprocess>mdb</postprocess>  same as above (uses defaults for grab and run)
  <postprocess grab="no">rex</postprocess>  runs rex without grab (existing xmltv file)
-->
  <postprocess run="no" grab="y">mdb,imdb.com</postprocess>
  
  <!-- proxy:
This setting is only required if your computer is connected to internet behind a proxy
specify proxy address as ip:port like <proxy>192.168.2.4:8080</proxy>
or as <proxy>automatic</proxy> which attempts to read the proxy address from your connection settings. If your proxy requires a username and password, add them like 
<proxy user="username" password="password">192.168.2.4:8080</proxy>  
  <proxy>192.168.2.2:8080</proxy>
-->
<proxy>automatic</proxy>

  <!-- user agent:
The user agent string that is sent to the tvguide website. Some sites require this. Valid values are either 
, in which case the program generates a random string, or any other string like <user-agent>Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US)</user-agent>  <user-agent>random</user-agent><user-agent>Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US)</user-agent><user-agent>Mozilla/5.0 (Linux; U; Android 0.5; en-us) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3</user-agent>
-->
<user-agent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; yie9)</user-agent>
  
  
  <!-- logging: 
simply put 'on' in there to start logging, anything else will turn it off 
-->
  <logging>on</logging>

  <!--retry
The most simple form of retry defines the amount of times the grabber engine should attempt to capture a web page before giving up and continuing with the next page, like <retry>4</retry>
It is also the place to specify delays between retries and the grabbing of html pages with the following attributes: timeout; the delay between retries (default is 10 sec), channel-delay; the delay between subsequent channels (default is 0), index-delay; the delay between the grabbing of index pages (default is 0), show-delay; the delay between the grabbing of detail show pages (default is 0). In the most complete version it will look like this:
<retry time-out="5" channel-delay="5" index-delay="1" show-delay="1">4</retry> show-delay="2"
-->
  <retry time-out="10">4</retry>

  <!--skip
It takes two values H,m  separated by a comma: 
The first H : if a show takes more than H hours, it's either tellsell or other commercial fluff, or simply a mistake or error, we want to skip such shows.
The second m : if a show is less or equal than m minutes it is probably an announcement , in any case not a real show. 
When entered as <skip></skip> the defaults are 12 hours, 1 minute, same as <skip>12,1</skip>. To disable this function enter  or just leave out this entry completely<skip>14, 1</skip><skip>16,1</skip>
-->
  
<skip>7,1</skip>
  
  <!--timespan
The timespan for which shows will be grabbed.
It takes one or two values separated by a comma or a space. The first is the number of days (including today) to download, note that 0 is today. The second (optional) is a time specified between 0:00 and 24:00 which will reduce the download to only the one show (per day) which is scheduled around the specified time. Any value between start time (including) and stop time will do
This -one-show-only mode is helpfull if a SiteIni file needs to be debugged
-->
  <timespan>7</timespan>

  <!-- update mode
i or incremental     only updates of changes , gabs, repairs and new shows
l or light           forces update of today and new shows, rest as incremental
s or smart           forces update of today and tomorrow and new shows, rest as light
f or full or force   forces full update 
If one of these values is entered here it will apply to all channels selected for update 
(see channel).  This value overrules the value of 'update' for in the individual channels 
If no value is entered here the individual 'update' values from the channellist are taken 
-->
  <update>i</update>

  <!-- The channel-list :
Each channel to be grabbed has a separate entry in the list, the most common form is: 
<channel update=.. site=.. site_id=.. xmltv_id=..  >display-name</channel> 
Besides this form, there is a possibility to specify special channels like 'combi-channels' and 'timeoffset-channels', see further down for more information-->
  <!-- Channel list files : 
The easiest way to compose this channel-list is to copy the required channels from the channel-list files which can be found in the SiteIni.Pack for nearly every supported tvguide site. -->
  <!-- update :
The mode values here can be set for each channel differently if not overruled by the general update setting (see above). Allowed values are as the same as the general update setting. Any other value will be ignored.  If any of the allowed values of 'update' is entered, this channel will be updated , no value no update ! In that case the epg data of that channel will remain as it is.  -->
  <!-- site:
The website to be used to get the EPG from. The value entered here is the name of the .ini file that supplies the specific parameters for the site without .ini extension.
e.g tvgids.nl.ini becomes site="tvgids.nl" and gids.publiekeomroep.nl.ini becomes site="gids.publiekeomroep.nl".-->
  <!-- site_id: 
This is the number or text used by the site as reference to the correct html page for this channel. It is used by the program to compose the url for the shows for a channel. For nearly all sites supported by the program a channel-list file is provided in the siteini-pack. It list most of the available channels including this site_id -->
  <!-- xmltv_id :
The xmltv_id can be any string that suits your needs, you will find it back as the "channel" in your xml file as in : 
<programme start="20100218072500 +0200" stop="20100218075500 +0200" channel="RTL7-id"> -->
  <!-- display-name: This will be used in the xmltv file to give the channel's displayname. That is the name the epgprogram  will use to display the channel. Give it any value you like. It is no problem if site_id , xmltv_id and display-name are equal -->
  <!-- Important ! 
Be aware that all channels entered here will be included in the xmltv channel table even if no update is requested. This allows the update of individual channels without affecting the data of the others in the list. A channel not in this list will be removed from your xmltv listing together with all the show data of it if found there by WebGrab+Plus. (If you use WebGrab+Plus with a xmltv input file from another source, it will remove all data from channels not in this list and create an entry for new channels)
WebGrab+Plus uses the xmltv_id to identify a channel in an existing xmltv file.
-->    
  <!--UK-->
    <channel update="i" site="mydigiguide.com" site_id="502" xmltv_id="BBC Radio One">BBC Radio One</channel>
    <channel update="i" site="mydigiguide.com" site_id="503" xmltv_id="BBC Radio Two">BBC Radio Two</channel>
    <channel update="i" site="mydigiguide.com" site_id="504" xmltv_id="BBC Radio Three">BBC Radio Three</channel>
    <channel update="i" site="mydigiguide.com" site_id="505" xmltv_id="BBC Radio Four">BBC Radio Four</channel>
    <channel update="i" site="mydigiguide.com" site_id="506" xmltv_id="BBC Radio Five Live">BBC Radio Five Live</channel>
    <channel update="i" site="mydigiguide.com" site_id="640" xmltv_id="BBC Radio Five Live Sports Extra">BBC Radio Five Live Sports Extra</channel>
    <channel update="i" site="mydigiguide.com" site_id="666" xmltv_id="BBC Radio 1Xtra">BBC Radio 1Xtra</channel>
    <channel update="i" site="mydigiguide.com" site_id="50258" xmltv_id="Galaxy Manchester">Capital FM</channel>
    <channel update="i" site="mydigiguide.com" site_id="550" xmltv_id="talkSport">talkSport</channel>
</settings>

WGMaker
Posts: 14
Joined: Sun Sep 25, 2011 10:35 pm

Re: Perfect XMLTV solution: WebGrab+Plus

Post by WGMaker » Mon Jan 21, 2013 6:24 pm

Hi Ghost5

thanks for the supportive post.
I will publish a link on the new website (www.webgrabplus.com)

WG++Maker .. Jan

ghost5
Posts: 14
Joined: Sun Dec 30, 2012 3:04 am

Re: Perfect XMLTV solution: WebGrab+Plus

Post by ghost5 » Sat Jan 26, 2013 2:36 pm

Would like to add that for a short while I use to get 14 days worth of epg data. Currently I am only getting 4 days so I need to find a new provider

Sent from my Nexus 7 using Tapatalk 2

WGMaker
Posts: 14
Joined: Sun Sep 25, 2011 10:35 pm

Re: Perfect XMLTV solution: WebGrab+Plus

Post by WGMaker » Wed Jan 30, 2013 11:51 am

As of today there is also another place to get support for WebGrab+Plus .

Visit its new website http://www.webgrabplus.com/

See you there WG++Maker --- Jan

toricred
Posts: 86
Joined: Fri Nov 25, 2011 2:39 am

Re: Perfect XMLTV solution: WebGrab+Plus

Post by toricred » Mon Mar 18, 2013 5:51 am

I'm looking at using this tool ao that I can get the season and episode numbers included in my guide. I'm using DirecTV in the Mountain time zone. I can't seem to get any data picked up from the directv.com site.ini. It looks like they have recently changed their web pages. Is there a tutorial with examples specifically from DirecTV somewhere?

toricred
Posts: 86
Joined: Fri Nov 25, 2011 2:39 am

Re: Perfect XMLTV solution: WebGrab+Plus

Post by toricred » Tue Mar 19, 2013 3:34 am

I still haven't gotten it working with directv.com, but I have had limited success with zap2it. Unfortunately it is only picking up the series descriptions and the shownames not the episode title, description, and the season/episode numbers.

Also is there a way to provide ny username and password for zap2it in case the lack ofthat is limiting what data I am getting?

toricred
Posts: 86
Joined: Fri Nov 25, 2011 2:39 am

Re: Perfect XMLTV solution: WebGrab+Plus

Post by toricred » Sat Mar 23, 2013 11:51 pm

I was able to get this working using zap2it thanks to Francis over on the WGP forums. The only problem I am having is that Argus does not appear to be importing the episode and season numbers. I can see them in the xmltv file, but since I can't figure out what format Argus is expecting them to be in I can't get them imported correctly. Does anybody here know what format they need tobe in andmaybe have an example?

claymic
Posts: 1
Joined: Wed Jun 26, 2013 12:58 am

Re: Perfect XMLTV solution: WebGrab+Plus

Post by claymic » Wed Jun 26, 2013 1:03 am

Hi guys,
Anyway use WebGrab+Plus to get the information from the Argus and generate a xmltv.xml ? Its hard to explain why i need this, my English is very poor. But in resume i have a friend that use the Argus, since my internet its very poor he will generate this xmltv.xml for me, so i will be able to use in my ipad (with my automation).
Thanks
Clayton

User avatar
Sjakko
Posts: 561
Joined: Fri Jan 23, 2009 2:05 pm
Location: Netherlands

Re: Perfect XMLTV solution: WebGrab+Plus

Post by Sjakko » Wed Jun 26, 2013 11:19 am

claymic wrote:Anyway use WebGrab+Plus to get the information from the Argus and generate a xmltv.xml ?
I don't think ARGUS TV has this option. Instead you could take a look at EPG Collector.
ARGUS TV + Recorder, 4 x FloppyDTV DVB-C, Smargo Smartreader Plus, MDAPI Plus, ACamd, OSCam, Win7 x64.

sgibbers17
Posts: 80
Joined: Thu Mar 13, 2014 12:08 am

Re: Argus-TV Guide Enhancer

Post by sgibbers17 » Fri Jul 04, 2014 6:48 am

Is there another option that will allow me to grab the correct season and episode numbers, maybe a different grabber? I am currently using mc2xml to grab the EPG automatically from Schedules Direct. I have also tried the mc2xml windows 7/8 service and Microsoft's legacy service, and the argus tv guide importer with Schedules Direct; all without luck.

I have set up a bunch of recording to record reruns only once and I want to be able to watch them in order and the episode numbers grabbed with my current grabbers have an episode number but it doesn't make any sense to me, for example episode 803 is s10e04 and 806 is s10e16.


Sent from my iPad using Tapatalk

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest