-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Creation of Custom Search Engines for Private Trackers #18
Comments
…ericTorrentSearch interface and config. Still needs work on mirrorresolver and grabbing the configured server from settings. Also, another improvement would be to add detailUrl fetchers and queryselectors for search engines that hide magnet links and torrent linkes onto the details page. re #18
…ustom torrent search engines. re #18
todos / braindump:
var xhr = new XMLHttpRequest();
xhr.open("POST", http+localStorage["host"]+":"+localStorage["port"]+relpath+"?token="+token+"&action=add-file", true, localStorage["login"], localStorage["password"]);
xhr.onreadystatechange = ut_handleResponse;
// mostly stolen from https://github.com/igstan/ajax-file-upload/blob/master/complex/uploader.js
var boundary = "AJAX-----------------------"+(new Date).getTime();
xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary);
var message = "--" + boundary + "\r\n";
message += "Content-Disposition: form-data; name=\"torrent_file\"; filename=\"file.torrent\"\r\n";
message += "Content-Type: application/x-bittorrent\r\n\r\n";
message += torrentdata + "\r\n";
message += "--" + boundary + "--\r\n";
xhr.sendAsBinary(message); |
Note to self: Maybe actually try making sure that they work.
Added a log that is shown on the page that will be able to show stuff.
…cument on changing test search or base ur. re #18
I just discovered https://github.com/zone117x/Jackett/ Note to self: contact these guys when the time comes, see if we can share a common repo with tracker info [edit] moved to https://github.com/Jackett/Jackett. |
happy to report: This latest commit basically makes the custom search engines work! Todos:
|
Looking to understand fixtures...
|
Yes.
Correct :)
They don't currently :) While developing this, i'm dropping the database table using
|
replaced by Jackett #899 |
So, a fully private tracker like td.af would be able to fully integrate with the chrome extension V.1.1.5? |
Yes, Jackett has Torrent Day on it's list of supported sites. |
awesome! can't wait for the stable 1.1.5 release! |
You could try it out with the DuckieTV development nightly https://github.com/SchizoDuckie/DuckieTV/wiki/How-to-Install-a-Development-version-of-the-DuckieTV-Chrome-Browser-Extension-NIGHTLY |
Awesome! Just got everything setup. Can't wait for the stable release! |
Make it as simple as possible to define a scraper that fetches relevant info
The text was updated successfully, but these errors were encountered: