You are here

Scraper output validation tools?

3 posts / 0 new
Last post
gdogg371
Offline
Donator
Joined: 4 years
Last seen: 2 years
Scraper output validation tools?

Hi all - is there anything built in WG+ itself, or in the wider world of XMLTV that can validate if an XMLTV file you have generated is of the correct format? Thanks.

gdogg371
Offline
Donator
Joined: 4 years
Last seen: 2 years

NM - after a bit more reading I found the xmltv.exe and the command line arguments to validate an XMLTV file. However next issue, here is the first few lines of a guide.xml file generated by WG+:

<?xml version="1.0" encoding="UTF-8"?>

4music

http://www.tvguide.co.uk

...this is a simple test file scraping only one channel and using one scraper. However, I am now getting this error:

Timezone is +0100
Line 3 Invalid channel-id '4music'
1 error found.

...can anyone advise what the problem is?

jhr1948
Offline
Donator
Joined: 4 years
Last seen: 3 weeks
gdogg371 wrote:

NM - after a bit more reading I found the xmltv.exe and the command line arguments to validate an XMLTV file. However next issue, here is the first few lines of a guide.xml file generated by WG+:
<?xml version="1.0" encoding="UTF-8"?>
4music
http://www.tvguide.co.uk
...this is a simple test file scraping only one channel and using one scraper. However, I am now getting this error:
Timezone is +0100
Line 3 Invalid channel-id '4music'
1 error found.
...can anyone advise what the problem is?

You need to post the logs, cant tell from just that line. I pull that channel and the channel name itself is not a problem. Are you sure you don't have that channel ID duplicated in the config?

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