diff --git a/definitions/v7/dasunerwartete.yml b/definitions/v7/dasunerwartete.yml index 6338ccfd2..5a37132e3 100644 --- a/definitions/v7/dasunerwartete.yml +++ b/definitions/v7/dasunerwartete.yml @@ -102,6 +102,10 @@ settings: type: info label: Results Per Page default: For best results, change the <b>Anzahl der Torrents beim Durchsuchen:</b> setting to <b>60</b> on your Control Panel. The default is <i>15</i>. + - name: info_activity + type: info + label: Account Inactivity + default: "Inactive accounts will be deactivated after 7 weeks and deleted after another 3 weeks." login: path: login.php diff --git a/definitions/v7/wihd.yml b/definitions/v7/wihd.yml index beac9dabe..2f8af45d2 100644 --- a/definitions/v7/wihd.yml +++ b/definitions/v7/wihd.yml @@ -200,6 +200,8 @@ search: ":contains(\"Divers\"):contains(\"1080p\")": "5GB" ":contains(\"Divers\"):contains(\"720p\")": "4GB" "*": "" + date: + text: now download: selector: div.download-item > a attribute: href diff --git a/definitions/v9/agsvpt.yml b/definitions/v9/agsvpt.yml index e54069992..2167d9d5b 100644 --- a/definitions/v9/agsvpt.yml +++ b/definitions/v9/agsvpt.yml @@ -7,6 +7,7 @@ type: private encoding: UTF-8 requestDelay: 2 links: + - https://www.agsvpt.com/ - https://abroad.agsvpt.com/ caps: @@ -80,9 +81,8 @@ settings: default: "Account retention rules:<ol><li>Elite User and above will not have their account deleted after parking (in the Control Panel)</li><li>Users who do not log in for 400 consecutive days will be disabled.</li><li>Users with a parked account will be disabled if they do not log in for 150 consecutive days</li><li>Users who have no traffic (i.e., uploading/downloading data is 0) within 7 days of new registration will be disabled</li><li>Users with no traffic (i.e. both upload/download data is 0) who do not log in for 30 consecutive days will be disabled.</li></ol>" login: - path: agsvpt - method: form - form: form[action="takelogin.php"] + path: takelogin.php + method: post inputs: secret: "" username: "{{ .Config.username }}" diff --git a/definitions/v9/oldgreektracker.yml b/definitions/v9/oldgreektracker.yml index 33d4546ae..f7de5ab30 100644 --- a/definitions/v9/oldgreektracker.yml +++ b/definitions/v9/oldgreektracker.yml @@ -6,6 +6,8 @@ language: el-GR type: private encoding: UTF-8 links: + - https://oldgreektracker.xyz/ +legacylinks: - http://oldgreektracker.xyz/ caps: @@ -134,6 +136,16 @@ login: path: index.php selector: a[href*="/logout.php?logouthash="] +download: + before: + path: takethanks.php + method: post + inputs: + torrentid: "{{ .DownloadUri.Query.id }}" + selectors: + - selector: a[href*="download.php?id="] + attribute: href + search: paths: - path: browse.php @@ -154,28 +166,28 @@ search: order: "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}" rows: - selector: "table.sortable tr:has(a[href*=\"/download-torrent-\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}" + selector: "table.sortable tr:has(a[href*=\"/download.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}" fields: category: - selector: a[href*="/torrent-category-"] + selector: a[href*="/browse.php?category="] attribute: href filters: - - name: regexp - args: /torrent-category-(.+?)/ + - name: querystring + args: category title_default: # is usually abbreaviated - selector: a[href*="/torrent-details-"] + selector: a[href*="/details.php?id="] title: # while still abbreviated, is usually longer than the default selector: div.tooltip-content div optional: true default: "{{ .Result.title_default }}" details: - selector: a[href*="/torrent-details-"] + selector: a[href*="/details.php?id="] attribute: href download: - selector: a[href*="/download-torrent-"] + selector: a[href*="/details.php?id="] attribute: href magnet: selector: a[href^="magnet:?xt="] @@ -184,11 +196,15 @@ search: selector: img[src*="/torrents/images/"] attribute: src date: - selector: td:nth-child(2) > div:last-child + selector: td:nth-child(2) # auto adjusted by site account profile filters: + - name: regexp + args: "(\\d{1,2}(?:st|nd|rd|th):\\w{3,9}:\\d{4} \\d{2}:\\d{2})" + - name: re_replace + args: ["^(\\d{1,2})(?:st|nd|rd|th):", "$1:"] - name: dateparse - args: "dd-MM-yyyy HH:mm" + args: "d:MMMM:yyyy HH:mm" size: selector: td:nth-last-child(5) grabs: