mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
add 01torrent a public site. resolves #8600
This commit is contained in:
@@ -24,6 +24,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||||||
|
|
||||||
<details> <summary> <b> Supported Public Trackers </b> </summary>
|
<details> <summary> <b> Supported Public Trackers </b> </summary>
|
||||||
|
|
||||||
|
* 01torrent
|
||||||
* ØMagnet
|
* ØMagnet
|
||||||
* 1337x
|
* 1337x
|
||||||
* 7torrents
|
* 7torrents
|
||||||
|
107
src/Jackett.Common/Definitions/01torrent.yml
Normal file
107
src/Jackett.Common/Definitions/01torrent.yml
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
---
|
||||||
|
id: 01torrent
|
||||||
|
name: 01Torrent
|
||||||
|
description: "01Torrent is a Public tracker"
|
||||||
|
language: en-US
|
||||||
|
type: public
|
||||||
|
encoding: UTF-8
|
||||||
|
testlinktorrent: false
|
||||||
|
links:
|
||||||
|
- https://www4.01torrent.net/
|
||||||
|
- https://01torrent.unblockit.ws/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categories:
|
||||||
|
"anime": TV/Anime
|
||||||
|
"application": PC
|
||||||
|
"book": Books
|
||||||
|
"game": PC/Games
|
||||||
|
"movie": Movies
|
||||||
|
"music": Audio
|
||||||
|
"tvshow": TV
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
music-search: [q]
|
||||||
|
|
||||||
|
settings: []
|
||||||
|
|
||||||
|
download:
|
||||||
|
# https://www3.01torrent.net/movie/erasing-his-dark-past-2020-720p-webrip-800mb-x264-galaxyrg/163219/
|
||||||
|
# <script type="text/javascript">
|
||||||
|
# $(document).ready(function(){
|
||||||
|
# $("#forall").on('click','#clicktype',function(){
|
||||||
|
# $("#showlinks").html("");
|
||||||
|
# var datg=$(this).attr("name");
|
||||||
|
# var dataString="id=163219&name="+datg;
|
||||||
|
# $('#load').show(200);
|
||||||
|
# setTimeout(function(){
|
||||||
|
# $.ajax({type:"POST",
|
||||||
|
# url:"/showme.php",
|
||||||
|
# data:dataString,
|
||||||
|
# cache:false,
|
||||||
|
# success:function(html){
|
||||||
|
# $("#showlinks").html(html)}
|
||||||
|
# });
|
||||||
|
# Ladda.stopAll();
|
||||||
|
# $("#load").hide(200)}
|
||||||
|
# ,3200)
|
||||||
|
# })
|
||||||
|
# });
|
||||||
|
# </script>
|
||||||
|
before:
|
||||||
|
path: showme.php
|
||||||
|
method: post
|
||||||
|
inputs:
|
||||||
|
id: "{{ re_replace .DownloadUri.AbsoluteUri \"^.*/(\\d+)/$\" \"$1\" }}"
|
||||||
|
name: torrent
|
||||||
|
selectors:
|
||||||
|
- selector: a[href^="magnet:?xt="]
|
||||||
|
attribute: href
|
||||||
|
usebeforeresponse: true
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
# https://www4.01torrent.net/search/
|
||||||
|
- path: search/
|
||||||
|
method: post
|
||||||
|
inputs:
|
||||||
|
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: table.table-striped > tbody > tr
|
||||||
|
filters:
|
||||||
|
- name: andmatch
|
||||||
|
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
selector: span.icomoon
|
||||||
|
attribute: class
|
||||||
|
filters:
|
||||||
|
- name: split
|
||||||
|
args: [" ", 1]
|
||||||
|
- name: replace
|
||||||
|
args: ["icomoon-", ""]
|
||||||
|
title:
|
||||||
|
selector: a.screenshot
|
||||||
|
details:
|
||||||
|
selector: a.screenshot
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a.screenshot
|
||||||
|
attribute: href
|
||||||
|
date:
|
||||||
|
text: now
|
||||||
|
size:
|
||||||
|
selector: span.label-default
|
||||||
|
seeders:
|
||||||
|
text: 1
|
||||||
|
leechers:
|
||||||
|
text: 1
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: 0
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# engine n/a
|
Reference in New Issue
Block a user