v15 Help to code "Next Page"
#1
Hi,
I'm just starting out with coding add-ons.
I have figured out how to read the values from the webpage and display them in the add-on menu.
But if the site has "Next Page" features,how can i code it in the add-on?
Thanks.
Reply
#2
(2015-12-08, 08:32)dranix Wrote: Hi,
I'm just starting out with coding add-ons.
I have figured out how to read the values from the webpage and display them in the add-on menu.
But if the site has "Next Page" features,how can i code it in the add-on?
Thanks.

This really depends on how "next page" is managed by the website.
You can have a look here to see how I dealt with one website:
https://github.com/learningit/plugin.vid...lt.py#L181

This website uses a url+'?offset=offset_count" scheme to grab the next page. Most importantly, remember that the "next page" link is a folder, not a playable item - so use isFolder=True for xbmcplugin.addDirectoryItem and do not set the "isPlayable" property on the listitem.

EDIT: In the future it would be better to ask this in the Development->Addons forum thread.
Reply

Logout Mark Read Team Forum Stats Members Help
Help to code "Next Page"0