cabernetwork / provider_video_daddylive

Provides an interface to DaddyLiveHD
MIT License
17 stars 2 forks source link

Option to scrape additional channels from TVGuide #23

Closed subby2006 closed 3 months ago

subby2006 commented 4 months ago

Is there a way to scrape additional channels from the tvguide plugin and include them in the xmltv? I've tried editing the channel_list.json and forced an EPG refresh but the additional channels don't appear.

rocky4546 commented 4 months ago

yes, you can update the channel_list.json file

subby2006 commented 4 months ago

That is what I tried doing but the new channels don't appear in the updated xmltv after clearing and forcing an epg refresh, unless I'm doing something wrong in the json. Here's what I currently have in the channel list channel_list.json I'm presuming zone and id would be https://internal-prod.apigee.fandom.net/v1/xapi/tvschedules/tvguide/{zone}/web?start=1721685600&duration=20160&channelSourceIds={id}&apiKey=DI9elXhZ3bU6ujsA2gXEKOANyncXGUGc in it's respective api request.

The channels I added were Heroes and Icons, Fuse, Grit, Logo and Charge

rocky4546 commented 4 months ago

Just checked H&I. It does not appear in the 24/7 list on DL, so it does not exist and cannot be added... It must exist on the 24/7 list to be added.

subby2006 commented 4 months ago

Yeah these are some extra channels not on DL. I have an IPTV Merge with DL channels and a few extra ones on my Kodi setup and was wondering if I could use the TV Guide scraper here on Cabernet to get epg data for the channels not on DL

dubmn commented 3 months ago

So I found an interesting glitch with the DL 24/7 list. The "Bally Sports" family of channels do not show up on the Full List tab, but are there when you go to the B tab. Therefore, I cannot get them into Cabernet. I haven't looked at the scraper code yet, but the letter tabs are on the same html file as the Full List one. Could you possibly just continue down the document on the scrape and kill the dupes that appear?