Hello @all!
I’m a long time fan of Plex, now started playing with Plugins. But i need some help with Xpath (its completely new for me)
I’m trying to fetch 10 videoclips from this website www.werder.tv/de (Goal)
At the moment i’m able to get one picture…
element = HTML.ElementFromURL('http://www.werder.tv/de').xpath('//html/body/div[@id="pagewrapper"]/div[@id="content"]')<br />
for item in element:<br />
img = item.xpath(".//img")[0].get("src"))
But i want to get the Thumbs some level deeper... i spend many hours with no luck!
I need the content of every
Could somebody give me a hint to solve this problem?
Thanks in advance
FTZ
<br />
<head><br />
</head><br />
<body><br />
<div id="_atssh" style="visibility: hidden; height: 1px; width: 1px; position: absolute; z-index: 100000;"><br />
</div><br />
<div id="pagewrapper"><br />
<a name="top"></a><br />
<div id="head"><br />
</div><br />
<div id="content" class="werdertv"><br />
<div id="box_topteaser" class="box_topteaser"><br />
</div><br />
<script type="text/javascript"><br />
</script><br />
<div id="tvplayer"> </div><br />
<div class="programmvorschau_head"><br />
</div><br />
<div class="programmvorschau" style="overflow: hidden; padding: 0px; width: 340px;"><br />
</div><br />
<div class="videolist"><br />
<div style="display: inline-block;"><br />
<div id="givenTag" style="display: none;"></div><br />
<div class="filterBack"><br />
</div><br />
<div class="sorting_paging"><br />
</div><br />
<div id="VideoResults"><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="Elem Elem_other"><br />
</div><br />
<div class="clear"></div><br />
</div><br />
</div><br />
</div><br />
<div class="videolist sportline"><br />
<div class="SportlineHead regular"><br />
</div><br />
<div id="VideoResultsSportline" class="regular"><br />
</div><br />
</div><br />
</div><br />
