You are here

Can't create an updated channel list for OSN.com

4 posts / 0 new
Last post
jhr1948
Offline
Donator
Joined: 4 years
Last seen: 1 day
Can't create an updated channel list for OSN.com

Linux Mint 19 Tricia
WG+ v. 3.1
6.10.0.104

Not sure why, but i commented out all the things at the bottom and put a dummy entry. Am i doing something incorrect?

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 min

bad matt8861.lol
for the url_index at the end add V2(GetTVChannelsPageWiseV2).
channge postdata line to..
url_index.headers {postdata={"pageIndex":'subpage',"package":"ALL","genre":"ALL","culture":"en-US"}}
add this line to ur channel.xml creation section after the url_index line.
subpage.format {list(format=D0 step=1 count=25)|1}
someone deleted it or forgot to include it.
u can also remove the debug from the url_index line.

this should have been something you could have figured out yourself learning...

jhr1948
Offline
Donator
Joined: 4 years
Last seen: 1 day
Blackbear199 wrote:

bad matt8861.lol
for the url_index at the end add V2(GetTVChannelsPageWiseV2).
channge postdata line to..
url_index.headers {postdata={"pageIndex":'subpage',"package":"ALL","genre":"ALL","culture":"en-US"}}
add this line to ur channel.xml creation section after the url_index line.
subpage.format {list(format=D0 step=1 count=25)|1}
someone deleted it or forgot to include it.
u can also remove the debug from the url_index line.
this should have been something you could have figured out yourself learning...

Thanks Blackbear199, i got it to work with your adjustments!

Don't forget, i'm still in WG+ Kindergarten. Haha, so no way i would have figured out all those adjustments, however, i did click on the url_index page to poke around (url_index{url|http://www.osn.com/CMSPages/TVScheduleWebService.asmx/GetTVChannelsPageW...}), since i do want to grasp things.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 15 min

u wont get a response as this site uses POST(see the manual) and thats why the postdata is needed.
in your developer tools(i use chrome as i find its the best).look under network then xhr tab.
the subpage.format line is needed as if u view the site epg and click on load more u will see the pageindex parameter in the postdata line increases by 1 each time.

one step at a time and u will learn more each time.

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