Quantcast
Channel: Plex Channel Plugins — Plex Forums
Viewing all articles
Browse latest Browse all 5522

TheCW Update Request - Very Simple

$
0
0

Hey Channel Team,

Check this out. In the code for this channel is a line:

for item in html.xpath('//div[@class="shows-current"]//a[@class="hublink"]'):

which, if you change it to this:

for item in html.xpath('//div[@class="shows"]//a[@class="hublink"]'):

allows all the available shows in the channel to be listed and watched. In other words, just delete the "-current" and the loop will read all the shows on the webpage.

Not a python coder yet, but I can recognize patterns, and figured this out on my own. Let me know if this works for you! I'm already using it to watch "Masters of Illusion!"!

Thanks ~James


Viewing all articles
Browse latest Browse all 5522

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>