--- id: learnflakes name: LearnFlakes description: "LearnFlakes is a Private Torrent Tracker for CERTIFICATE / TRAINING E-LEARNING" language: en-US type: private encoding: UTF-8 requestDelay: 2 links: - https://learnflakes.net/ caps: categorymappings: - {id: 1, cat: Books, desc: "LearnFlakes"} - {id: 14, cat: Books, desc: "EMC"} - {id: 16, cat: Books, desc: "SANS"} - {id: 17, cat: Books, desc: "MOC "} - {id: 31, cat: Books, desc: "CareerAcademy"} - {id: 32, cat: Books, desc: "CBTNuggets"} - {id: 33, cat: Books, desc: "INE"} - {id: 34, cat: Books, desc: "Symantec"} - {id: 35, cat: Books, desc: "Infiniteskills"} - {id: 36, cat: Books, desc: "IPExpert"} - {id: 37, cat: Books, desc: "Tuts+"} - {id: 38, cat: Books, desc: "Pluralsight"} - {id: 39, cat: Books/EBook, desc: "E-Books"} - {id: 40, cat: Books, desc: "CBT-Videos"} - {id: 41, cat: Books, desc: "Linux-CBT"} - {id: 42, cat: Books, desc: "VTC"} - {id: 43, cat: Books, desc: "Lynda"} - {id: 44, cat: Books, desc: "TrainSignal"} - {id: 50, cat: Books, desc: "LiveLessons"} - {id: 47, cat: Books, desc: "Health"} - {id: 48, cat: Books/Mags, desc: "Magazines"} - {id: 49, cat: Books, desc: "CourseWare"} - {id: 51, cat: Books, desc: "Programming"} - {id: 52, cat: Books, desc: "Graphic & Design"} - {id: 53, cat: Books, desc: "Udemy"} - {id: 45, cat: Books/Other, desc: "Others"} - {id: 54, cat: Books, desc: "SAP"} - {id: 46, cat: Books, desc: "LF VIP"} - {id: 55, cat: Books, desc: "Exclusive"} modes: search: [q] book-search: [q] settings: - name: username type: text label: Username - name: password type: password label: Password - name: freeleech type: checkbox label: Filter freeleech only default: false - name: sort type: select label: Sort requested from site default: added options: added: created seeders: seeders size: size - name: type type: select label: Order requested from site default: desc options: desc: desc asc: asc - name: info_results type: info label: Search results default: "If you are getting the error Found no results while trying to browse this tracker then first access the site with your browser and check that you are not being forced to change your password because it has expired after 180 days." login: path: ?p=home&pid=1 method: form form: form#loginbox_form submitpath: ajax/login.php inputs: action: login loginbox_membername: "{{ .Config.username }}" loginbox_password: "{{ .Config.password }}" loginbox_remember: 1 selectorinputs: securitytoken: selector: "script:contains(\"stKey: \")" filters: - name: regexp args: "stKey: \"(.+?)\"," error: - selector: div.error - selector: :contains("-ERROR-") test: path: ?p=home&pid=1 selector: div#member_info_bar search: paths: # 15 results per page - path: / inputs: page: 1 - path: / inputs: page: 2 - path: / inputs: page: 3 inputs: p: torrents pid: 10 $raw: "{{ range .Categories }}&cid[]={{.}}{{end}}" keywords: "{{ .Keywords }}" # name, description, both, uploader search_type: name "sortOptions[sortBy]": "{{ .Config.sort }}" "sortOptions[sortOrder]": "{{ .Config.type }}" rows: selector: "div.torrent-box[id^=\"torrent_\"]{{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}" fields: title: selector: a[href*="?p=torrents&pid=10&action=details&tid="] details: selector: a[href*="?p=torrents&pid=10&action=details&tid="] attribute: href category: selector: a[href*="?p=torrents&pid=10&cid="] attribute: href filters: - name: querystring args: cid download: selector: a[href*="?p=torrents&pid=10&action=download&tid="] attribute: href poster: selector: a[href*="data/torrents/torrent_images/"] attribute: href genre: selector: div.torrentDetails > div:has(a[href*="&genre="]) filters: - name: replace args: ["Genre:", ""] description: text: "{{ .Result.genre }}" size: selector: a[rel="torrent_size"] grabs: selector: a[rel="times_completed"] seeders: selector: a[rel="torrent_seeders"] leechers: selector: a[rel="torrent_leechers"] date_day: selector: div.torrentOwner:contains("day") # auto adjusted by site account profile optional: true filters: - name: regexp args: "Uploaded (.+?) by" - name: fuzzytime date_year: selector: div.torrentOwner:contains("-") # auto adjusted by site account profile optional: true filters: - name: regexp args: "Uploaded (.+?) by" - name: dateparse args: "dd-MM-yyyy HH:mm" date_unix: selector: div.torrentOwner abbr optional: true attribute: data-time date: text: "{{ if or .Result.date_day .Result.date_year .Result.date_unix }}{{ or .Result.date_day .Result.date_year .Result.date_unix }}{{ else }}now{{ end }}" downloadvolumefactor: case: img[src$="/torrent_free.png"]: 0 "*": 1 uploadvolumefactor: text: 1 minimumratio: text: 0.5 # TSUE 2.2