Fix linkDestXPath for kataweb.it
authorAntonio Ospite <ospite@studenti.unina.it>
Sat, 5 May 2012 14:57:26 +0000 (16:57 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Sat, 5 May 2012 14:59:18 +0000 (16:59 +0200)
This way the Direct Link element is not hidden behind the video preview
image.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
direct_download_links.user.js

index 81a6fb8..2c319e6 100644 (file)
@@ -98,7 +98,7 @@ var supported_sites = [
     locationRegexp: /^http:\/\/www\.kataweb\.it\/tvzap\/.*$/,
     urlContainerXPath: '//div[@id="tvzap_video"]',
     urlRegexp: /'pcUrl', '((http|mms):\/\/[^']*)'/,
     locationRegexp: /^http:\/\/www\.kataweb\.it\/tvzap\/.*$/,
     urlContainerXPath: '//div[@id="tvzap_video"]',
     urlRegexp: /'pcUrl', '((http|mms):\/\/[^']*)'/,
-    linkDestXPath: '//div[@id="playerCont"]',
+    linkDestXPath: '//div[@id="tvzap_video"]',
   },
   {
     locationRegexp: /^http:\/\/www\.rai\.tv\/.*$/,
   },
   {
     locationRegexp: /^http:\/\/www\.rai\.tv\/.*$/,