summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/video.google.com/searchresults.xsl4
1 files changed, 2 insertions, 2 deletions
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>