Add a semicolon at the end of a line
[GM_direct_download_links.git] / direct_download_links.user.js
index 81a6fb8..8a34ffc 100644 (file)
@@ -98,7 +98,7 @@ var supported_sites = [
     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\/.*$/,
@@ -146,7 +146,7 @@ function getElementByXPath(query, root) {
  * @return: null on error, true on success
  */
 function direct_download_link_add(pageURL, site) {
-  site.pageURL = pageURL
+  site.pageURL = pageURL;
   var element = getElementByXPath(site.urlContainerXPath);
   if (!element) {
     DDL_log('DirectDL (' + site.pageURL  + '): Cannot find the element ' + site.urlContainerXPath + ' containing the URL.');