Update rules for http://www.kataweb.it/tvzap/
authorAntonio Ospite <ospite@studenti.unina.it>
Tue, 6 Nov 2012 10:37:40 +0000 (11:37 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Tue, 6 Nov 2012 10:37:40 +0000 (11:37 +0100)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
direct_download_links.user.js

index 9bdab12..5020163 100644 (file)
@@ -99,9 +99,9 @@ var supported_sites = [
   },
   {
     locationRegexp: /^http:\/\/www\.kataweb\.it\/tvzap\/.*$/,
-    urlContainerXPath: '//div[@id="tvzap_video"]',
-    urlRegexp: /'pcUrl', '((http|mms):\/\/[^']*)'/,
-    linkDestXPath: '//div[@id="tvzap_video"]',
+    urlContainerXPath: '//div[@id="contAB"]',
+    urlRegexp: /[^\/]addParam\('pcUrl', '((http|mms):\/\/[^']*)'/,
+    linkDestXPath: '//div[@id="contAB"]',
   },
   {
     locationRegexp: /^http:\/\/www\.rai\.tv\/.*$/,