diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | templates/video.google.com/searchresults.xsl | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -214,4 +214,4 @@ Video site modules: by Matti Lehtimäki). - Bookmarklet for sending a video from web browser to VDR. - Some Youtube links were broken. -- Fixed metacafe video module. +- Fixed Metacafe and Google video modules. diff --git a/templates/video.google.com/searchresults.xsl b/templates/video.google.com/searchresults.xsl index 5069825..806c60e 100644 --- a/templates/video.google.com/searchresults.xsl +++ b/templates/video.google.com/searchresults.xsl @@ -9,7 +9,7 @@ <title>Search results</title> <xsl:choose> - <xsl:when test="not(//li[@class='g videobox s']/table/tr/td/h3/a)"> + <xsl:when test="not(//li[contains(@class, 'videobox')]//td/h3/a)"> <textarea> <label> <xsl:text>Your search did not return any results.</xsl:text> @@ -18,7 +18,7 @@ </xsl:when> <xsl:otherwise> - <xsl:for-each select="//li[@class='g videobox s']/table/tr/td/h3/a"> + <xsl:for-each select="//li[contains(@class, 'videobox')]//td/h3/a"> <xsl:choose> <xsl:when test="starts-with(@href, 'http://www.youtube.com/')"> <link> |