--- id: btdirectory name: BTdirectory description: "BTdirectory (BT目录) is a Public DHT Crawler" language: en-US type: public encoding: UTF-8 # current domain at https://cursor.vip/btmulu then follow links to the final search-movie link links: - https://btmulu.live/ - https://www.btmulu.cyou/ - https://www.btmulu.cfd/ - https://www.btmulu.help/ - https://www.btmulu.beauty/ legacylinks: - https://www.btmulu.asia/ - https://www.btmulu.digital/ - https://www.btmulu.pw/ - https://www.btmulu.one/ - https://btmulu.work/ - https://www.btmulu.quest/ caps: categorymappings: - {id: Other, cat: Other, desc: Other} modes: search: [q] tv-search: [q, season, ep] movie-search: [q] music-search: [q] book-search: [q] settings: - name: info_category_8000 type: info_category_8000 - name: info_flaresolverr type: info_flaresolverr search: paths: # https://www.btmulu.beauty/en/hash-new.html # https://btmulu.beauty/en/search.html?name=the+boys+s04e08 - path: "en/{{ if .Keywords }}search.html{{ else }}hash-new.html{{ end }}" inputs: name: "{{ re_replace .Keywords \"[\\s]+\" \"+\" }}" rows: selector: article.item:has(a[href^="/en/hash/"]) filters: - name: andmatch fields: category: text: Other title: selector: h4 remove: span details: selector: a[href^="/en/hash/"] attribute: href infohash: selector: a[href^="/en/hash/"] attribute: href filters: - name: regexp args: ([A-F|a-f|0-9]{40}) date: selector: time attribute: datetime filters: - name: replace args: ["T", ""] - name: replace args: ["Z", "+01:00"] # CET - name: dateparse args: "yyyy-MM-ddHH:mm:sszzz" files: selector: p filters: - name: regexp args: "File Count:(\\d+)" size: selector: p filters: - name: regexp args: "Size:(\\d+\\.?\\d* [K|M|G]B)" seeders: text: 1 leechers: text: 1 downloadvolumefactor: text: 0 uploadvolumefactor: text: 1 # engine n/a