Advertisement
Guest User

webgrabplusplus

a guest
Feb 21st, 2020
936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. *** WebGrab+Plus Setup - Windows ***
  2.  
  3. Some Info:
  4. - There is a pre-made docker image which you can use if you are on Linux.
  5. - Many Many providers DO NOT WORK, or need a cookie to work. Expect many sources to fail ya. For example, for the Chinese ones, I wanted Asian Food Network (16 sources) and only 4 worked.
  6. - The program is VERY SLOW! I only grab 1 channel, and grab 4 days for that channel. It takes about 3 mins for that. So if you wanna grab 100 channels, it'll be like 5h updates each night.
  7. - For the reasons above, I think WebGrab+Plus is only useful for a few hard to get channels (like AFC). I'm not too sure if it's useful as a "large EPG database". I do use it as my NHL Center Ice EPG as well.
  8. - If things go wrong, you do have to edit the provider.ini file. So some coding is nessasary. I needed to do this to make the EP numbering work on AFC.
  9.  
  10.  
  11. 1) Download the Base Install from: http://webgrabplus.com/download
  12. http://webgrabplus.com/sites/default/files/download/SW/V2.1.0/WebGrabPlus_V2.1_install.exe
  13.  
  14. 2) Download the Beta Insatll from: http://webgrabplus.com/download/sw
  15. http://webgrabplus.com/sites/default/files/download/SW/V2.1.11/WebGrabPlus_V2.1.11_beta_install.exe
  16.  
  17.  
  18. Install the base (v2.1.0), then install the (v2.1.11) overtop. The beta just modifies the base install (at least on Windows), so you need to install the beta overtop of the base.
  19.  
  20.  
  21. 3) After install it'll automatically get the lastest sitepack (verify the date). To manually get the new sitepack, either run:
  22. C:\Program Files (x86)\WebGrab+Plus\bin\SiteIni.Pack.Update.exe
  23. or you can manually download it and copy the files into your config folder:
  24. https://github.com/SilentButeo2/webgrabplus-siteinipack/releases
  25.  
  26.  
  27. Installation is complete, now you just have to configure the channels you want:
  28.  
  29. 4) First find the list of channels you would like from:
  30. http://webgrabplus.com/epg-channels
  31.  
  32. I for example wanted "Asian Food Network (AFC)" (not on m3u4u.com), and I see there are about 16 of them at the URL above. I make a note of which countries and providers they are in, then go to that folder in your config/sitepack/. Lets use AFC as an example in Hong Kong:
  33. C:\Users\***USERNAME***\AppData\Local\WebGrab+Plus\siteini.pack\Hong Kong\nowtv.now.com.channels.xml
  34.  
  35. 5) Open that file, and grab the line with the channel and put it in your config.xml file:
  36.  
  37. So put this line: <channel update="i" site="nowtv.now.com" site_id="527" xmltv_id="Asian Food Channel">Asian Food Channel</channel>
  38. into: C:\Users\***USERNAME***\AppData\Local\WebGrab+Plus\WebGrab++.config.xml
  39.  
  40.  
  41. 6) Now if its working, edit your .confg to provide more than 1 day of listings. The url above with the channel list, says the max days each provider provides. You can edit the top of the .config. I only edited two values:
  42. <timespan>3</timespan>
  43. <update>s</update>
  44. timespan being the # of days (0 counts, so 3 = 4 days of listings). And "update" I changed from "f" (force), to "s" (smart).
  45.  
  46. You may also edit the xmltv_id & the name in the <channel> tag, if you want a new tvg-id or tvg-name.
  47.  
  48. 7) Add the program to run in Windows Task Scheduler once a day at whatever time you like.
  49.  
  50.  
  51.  
  52.  
  53.  
  54. NOTES:
  55. 1) I didn't play with the MDB/REX stuff, which grabs info from IMDB to give more info in the XMLTV.xml.
  56. 2) There were 16 versions of AFC. I put all 16 from different providers in to the .config, and ran it. Only about 4 of the 16 worked. The rest needed cookies, or didn't work at all.
  57. 3) The provider I liked (nowtv.hk), had the wrong timezone, I had to copy the provider.ini (in the sitepack) and past it into: sitepack.user. Then I edited it (include ep info, and change timezone), and it'll automatically use that edited version over the normal one.
  58. 4) Many providers need "cookies" to work (register for site). The list of which providers need cookies is at the URL with all the channels. If you need to do that, the documentation is online below to enable cookies:
  59. http://webgrabplus.com/documentation/configuration/cookie
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement