NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 15 16 17 18 19 … 93 Next »
zap2xml - a free zap2it scraper

 
  • 0 Vote(s) - 0 Average
zap2xml - a free zap2it scraper
gangaskan
Offline

Member

Posts: 59
Threads: 16
Joined: Jul 2007
#41
2007-09-17, 03:17 PM (This post was last modified: 2007-09-17, 03:25 PM by gangaskan.)
pvruser Wrote:ok here are 2 versions of UpdateEPG.bat:

cd "C:\Program Files\devnz\gbpvr\"
zap2xml\zap2xml.exe -u xxx@xxx.com -p xxx -d 12 -o zap2xml\epgfile.xml -c zap2xml\cache

this assumes that you set up a directory called zap2xml inside the gbpvr directory (thats why we CD and then use relative paths).


second version of UpdateEPG.bat:

cd "C:\Program Files\devnz\gbpvr\"
zap2xml\zap2xml.exe -C zap2xml\zap2xmlrc

and then create the config file zap2xmlrc inside the directory zap2xml:

start=0
days=12
user=xxx@xxx.com
pass=xxx
cache=zap2xml\cache
icon=media\ChannelLogos
outfile=zap2xml\epgfile.xml


either way works and will pull 12 days of programming.


then of course you need to set up the XMLTV plugin to load the XML file C:\Program Files\devnz\gbpvr\zap2xml\epgfile.xml (i used the full path not the relative one)

also see my instructions on the previous page of this post http://forums.gbpvr.com/showpost.php?p=2...stcount=30


i tried getting this to work but i get

C:\Program Files\devnz\gbpvr>zap2xml\zap2xml.exe -C zap2xml\zap2xmlrc
Logging in as ""
Login failed: Invalid e-mail address/password. Please log in again. at script/zap2xml.pl line 264.
C:\Program Files\devnz\gbpvr>


edit: i'm using the 2nd version if the UpdateEPG you have in your post.

edit 2: i seem to be able to use the command line functions instead of the config file fine. i will try updating my EPG when i get home from work.
TomH
Offline

Member

Posts: 177
Threads: 10
Joined: Aug 2006
#42
2007-09-17, 03:42 PM
gangaskan Wrote:i tried getting this to work but i get

C:\Program Files\devnz\gbpvr>zap2xml\zap2xml.exe -C zap2xml\zap2xmlrc
Logging in as ""
Login failed: Invalid e-mail address/password. Please log in again. at script/zap2xml.pl line 264.
C:\Program Files\devnz\gbpvr>

Double check your membership account id/login at http://tvlistings.zap2it.com/tvlistings/
to be sure that you are entering exactly what they have on their site for your access info.

This info is NOT the same as the previous Zap2It account info from before the changeover - I had to register again (new account) at the link above.

HTH,
TomH
[SIZE="1"]/TomH/ Win7 running nPVR 3.1.1 (via NMTInstall2) on HP p6624y AMD AthlonII 635, 8Gb, 1Tb, HVR-2250 (ATSC) + WebRadio, Universe (broken), BlueRetroVE+, TV Listings. SearchLite Network: Cable Modem - Belkin 54g router - box#1 Win7 Next-PVR 3.1.1, box#2 Win7 wireless laptop, and 2x wired eGreat M34A NMT clients[/SIZE]
scezic
Offline

Junior Member

Posts: 13
Threads: 0
Joined: Sep 2006
#43
2007-09-17, 08:06 PM (This post was last modified: 2007-09-17, 10:21 PM by scezic.)
TomH Wrote:I'm also running zap2xml and pushing it through I-xmltv -- and have experienced no errors or problems.
I would try killing (or renaming) all the old .xml's then running UpdateEPG.bat directly from it's subdir -- just to insure that I-xmltv.exe is processing the file that you expect.

I'm also getting Error = 62 when trying to get this to run with I-xmltv (build 8-13-07). I deleted the old .xml's like you suggested but I still get the error. I do get an I-XMLTV.XML file but it's just a copy of my zap2xml .xml file so it appears it's using the correct file. TomH could you explain the steps and version you used to get this to work.

I just noticed that some channels are listed strangely. For example channel 2 shows as (2) 2 KREM which works fine but channel 22 shows as (23) 22 KSKN. To get to channel 22 using my remote I have to press 23. Any thoughts on what's going on?
gangaskan
Offline

Member

Posts: 59
Threads: 16
Joined: Jul 2007
#44
2007-09-17, 10:06 PM
TomH Wrote:Double check your membership account id/login at http://tvlistings.zap2it.com/tvlistings/
to be sure that you are entering exactly what they have on their site for your access info.

This info is NOT the same as the previous Zap2It account info from before the changeover - I had to register again (new account) at the link above.

HTH,
TomH

i did, i actually used the same l/p on the command line and it worked flawlessly
tony1234
Offline

Junior Member

Posts: 31
Threads: 1
Joined: Dec 2006
#45
2007-09-18, 01:43 AM
Let's say you grab for 10 days. If the schedule for day 10 is updated let's say tomorrow or the day after. When day 10 will be the current day (in 10 days) it won't have been updated since it has been cached and won't be re-downloaded. Still with me? How about forcing a re-download of the current day and the day after in order to have the freshest epg possible. Does that make sens?
scezic
Offline

Junior Member

Posts: 13
Threads: 0
Joined: Sep 2006
#46
2007-09-18, 03:22 AM
The author has added a -A "new" switch that adds the * to new shows so hopefully I won't need to solve my error=62 problem with i-xmltv.
Modular
Offline

Member

Posts: 73
Threads: 20
Joined: Oct 2006
#47
2007-09-18, 03:23 AM (This post was last modified: 2007-09-18, 03:48 AM by Modular.)
Can someone post a walkthrough describing the setup of this program. I have followed all the steps that I can understand, but I don't know where to point GB-PVR to grab the EPG data from.

I have changed my EPG source to "XMLTV Plugin" but where is the XMLTV file to point the updater to?

Edit: When I run the "Zap2XML" program a black box opens and closes immediately. I can't enter in my information for my account, and I'm sure it's not creating a file. I tried installing activeperl and that didn't work either. Maybe noobs like me should just subscribe to SD, but I'd rather learn then spend $$
jschoef
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Feb 2007
#48
2007-09-18, 04:01 AM
Ok:
These steps are assuming you already signed up with zap2it listings as per instructions on the top of http://zap2xml.110mb.com/.

1: Make a folder in the third party folder called "zap" (ex:C:\Program Files\devnz\gbpvr\Third Party\zap)

2. Put zap2xml.exe in that folder.

3. Create a .txt file with notepad and cut and paste this code in it (put in your email and password):
"C:\Program Files\devnz\gbpvr\Third Party\zap\zap2xml.exe" -u email@email.net -p password -d 14 -o zap.xml

4. Rename the text file (new text document.txt) to "updateepg.bat" (make sure you change the settings in windows so that you can see and edit file extensions).

5. Double click on that new .bat file

6. Set up the epg xml to point to C:\Program Files\devnz\gbpvr\zap.xml

Those are my settings....you might need to empty and update epg a few times to see your results.
scezic
Offline

Junior Member

Posts: 13
Threads: 0
Joined: Sep 2006
#49
2007-09-18, 04:02 AM
Modular Wrote:Can someone post a walkthrough describing the setup of this program. I have followed all the steps that I can understand, but I don't know where to point GB-PVR to grab the EPG data from.

I have changed my EPG source to "XMLTV Plugin" but where is the XMLTV file to point the updater to?

Edit: When I run the "Zap2XML" program a black box opens and closes immediately. I can't enter in my information for my account, and I'm sure it's not creating a file. I tried installing activeperl and that didn't work either. Maybe noobs like me should just subscribe to SD, but I'd rather learn then spend $$

You have to add the command line switches to get it to work. See http://zap2xml.110mb.com/ for examples. Create a file called UpdateEPG.bat in your zap2xml folder and add the line
Code:
zap2xml -u [email]zap2xmluser@email.xx[/email] -p password
filling in your information of course. Save and run UpdateEPG.bat. The .xml file you need gb-pvr to use will be created after you run the .exe.


jschoef beat me to it
Modular
Offline

Member

Posts: 73
Threads: 20
Joined: Oct 2006
#50
2007-09-18, 04:25 AM (This post was last modified: 2007-09-18, 05:00 AM by Modular.)
scezic Wrote:The .xml file you need gb-pvr to use will be created after you run the .exe.

Interestingly enough (or just my luck) this is not happening.

Heh, I got it. I'm an idiot and didn't use the quotation mark at the beginning of step 3.

OK new problem: I only get the EPG data on one channel. I tried deleting the cache as was written about in the 3rd post in this thread, but that didn't work for me. Any suggestions?
« Next Oldest | Next Newest »

Users browsing this thread: 4 Guest(s)

Pages (20): « Previous 1 … 3 4 5 6 7 … 20 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Free XMLTV EPG scraper dneprrider 214 101,351 2010-03-29, 04:54 AM
Last Post: dljones8053
  xmltv zap2it & msn scraper merge tvshowman 2 1,939 2007-12-12, 03:48 AM
Last Post: tvshowman
  Thanks to all the Scraper Developers obiwan 1 1,511 2007-09-18, 01:43 AM
Last Post: whurlston
  Quick plug for the FREE Gimp Digital712 2 2,181 2006-08-05, 04:49 AM
Last Post: reven
  Free code librarys? McBainUK 7 3,405 2006-05-19, 04:52 PM
Last Post: acheyne
  Free eBook on how SharpDevelop was written gruskada 0 1,251 2006-02-04, 02:07 PM
Last Post: gruskada
  Extra Zap2It Meta Data jorm 18 6,831 2005-03-15, 03:45 PM
Last Post: sub
  free icons for skins. reven 0 1,899 2004-12-31, 05:32 AM
Last Post: reven

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode