mirror of
https://github.com/werwolfby/monitorrent.git
synced 2026-10-14 21:39:03 +00:00
[GH-ISSUE #111] rutor and unionpeer support #77
Labels
No labels
bug
docs
duplicate
enhancement
Epic
feature
feature
future
help wanted
in progress
need more info
plugin
proxy
pull-request
python 2
python 3
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
werwolfby/monitorrent#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andrewt82 on GitHub (Jul 14, 2016).
Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/111
i install latest build monitorrent from https://github.com/werwolfby/monitorrent/releases/download/1.0.1/monitorrent-1.0.1.zip
go into web interface and can't see this trackers:
www.rutor.org
www.unionpeer.org
what could be the problem?
@DSilence commented on GitHub (Jul 14, 2016):
Since those plugins do not require authentication, we didn't add dedicated settings pages for them. They will work without additional configuration.
@andrewt82 commented on GitHub (Jul 14, 2016):
ok thank's now i understand!
@andrewt82 commented on GitHub (Jul 16, 2016):
Why when i add rutor url (http://rutor.info/torrent/501106/) nothing happens?
Strip runs but add button becomes active :(
In the console there are no errors.
in what could be the problem here?
@DSilence commented on GitHub (Jul 16, 2016):
Most likely - rutor.info is inaccessible by your device. Try pinging it.
@andrewt82 commented on GitHub (Jul 16, 2016):
ping work

@DSilence commented on GitHub (Jul 16, 2016):
What version of python are you running? (python --version)
@andrewt82 commented on GitHub (Jul 16, 2016):
Python 2.7.9
@andrewt82 commented on GitHub (Jul 16, 2016):
I think this happens because of Rostelecom locks
it would be good proxy to work Rutor
@DSilence commented on GitHub (Jul 16, 2016):
Could be. We've discussed possible solutions to ISP locks like build-in proxy support or customizable mirrors. Meanwhile, could you try it with proxy? Thanks for investigating btw.
@andrewt82 commented on GitHub (Jul 16, 2016):
I can check with the proxy, just do not know where in the code to enter the proxy server
@DSilence commented on GitHub (Jul 16, 2016):
We're using requests package. To add proxy to rutor, find the plugin file (/monitorrent/plugins/trackers/rutor.py) and find all places where http request is being sent (there are 2 of them).
Then add proxy url to each request as specified here:
http://docs.python-requests.org/en/master/user/advanced/#proxies
@andrewt82 commented on GitHub (Jul 16, 2016):
it's too hard for me, I'm still in Python does not understand so much to do it :(
I understand that it is necessary to add to the file (rutor.py) after importing the top
proxies = {
'http': 'http://login:passwrd@ip:port/'
}
and
change line in function def parse_url on this:
r = requests.get(url, proxies=proxies, allow_redirects=False, timeout=self.tracker_settings.requests_timeout)
change line in function def get_hash on this:
r = requests.get(download_url, proxies=proxies, allow_redirects=False, timeout=self.tracker_settings.requests_timeout)
?
@DSilence commented on GitHub (Jul 16, 2016):
If it's possible, you could send me the proxy info, and I'll update it for you. Or, I could just send you the modified file and you will just change the proxy ip and port.
@andrewt82 commented on GitHub (Jul 16, 2016):
please send modified file and i change the proxy ip and port ant check it
@DSilence commented on GitHub (Jul 16, 2016):
Uploaded zip with updated file. At the top is the list of proxies. No need to change https, just modify the http one.
rutor.zip
@andrewt82 commented on GitHub (Jul 16, 2016):
ok thank's, but when i try run python server.py i get error:
@werwolfby commented on GitHub (Jul 16, 2016):
Looks like you have two files of rutor plugin.
One _rutor.py and rutor.py?
@andrewt82 commented on GitHub (Jul 16, 2016):
you'l right!
i am just rename original rutor.py in rutor.py :) my error plugins with .py extension automaticly loads, i rename original file to rutor.py and now all ok, rutor.info work perfect via proxy!
thank's for you help!
@werwolfby commented on GitHub (Jul 16, 2016):
You are welcome, and thank you for investigation.
@andrewt82 commented on GitHub (Jul 16, 2016):
strangely, when I perform the Execute rutor.info i get error


and this
@werwolfby commented on GitHub (Jul 16, 2016):
Could you please click on particular report for additional details?
@andrewt82 commented on GitHub (Jul 16, 2016):
i attach additional details in post upward
@werwolfby commented on GitHub (Jul 16, 2016):
Do you have any logs in std output?
@andrewt82 commented on GitHub (Jul 16, 2016):
in std output no errors
@werwolfby commented on GitHub (Jul 16, 2016):
Yep, I've checked there shouldn't be any output.
According to code, the Error status can be in case if the status code of downloaded file hasn't status 200.
Could you please try download it manually?
@werwolfby commented on GitHub (Jul 16, 2016):
And thx for news that Mr. Robot started 👍
Will wait when Monitorrent download it automatically from lostfilm.tv
@andrewt82 commented on GitHub (Jul 16, 2016):
manually downloading ok, this trouble with any torrents on rutor :(
Mr. Robot - good movie, I'm also waiting for translation from lostfilm.tv ;)
@werwolfby commented on GitHub (Jul 16, 2016):
We need more logging, will do this, not in nearest release, but soon.
For now we can try to insert output in rutor plugin, let me update rutor plugin for you.
@andrewt82 commented on GitHub (Jul 16, 2016):
ok, thank's!

I have noticed when edit rutor and unionpeer torrents no choice of series and seasons like lostfilm.tv
this is normal?
@werwolfby commented on GitHub (Jul 16, 2016):
Yes, this is ok, because we download whole torrent, and not update info what download, and what not.
For lostfilm.tv we can select which torrent we should download
Try use this rutor.zip plugin, and send output.
@andrewt82 commented on GitHub (Jul 18, 2016):
i get this error:
what could be the problem?
@andrewt82 commented on GitHub (Jul 18, 2016):
i change in function
row 155 with this url:
return "http://ru-tor.net/download/" + match.group(1)and all everything was ok :)
apparently they changed the URL from which downloaded the torrent file
@werwolfby commented on GitHub (Jul 18, 2016):
Got it, i think I know what to do with this issue :)
@werwolfby commented on GitHub (Jul 18, 2016):
I want to know, why it is not redirecting me by http://d.rutor.info/download/513492
Looks like strange behavior of Russian Federation blocking system
@andrewt82 commented on GitHub (Jul 18, 2016):
My Rostelecom is very bad Provider...
I think that it is necessary setup TOR or VPN on my NAS ))), in browser i use Economy Traffic on Google Chrome.
thank's I also put download s4 Ray Donavan :))
@werwolfby commented on GitHub (Jul 18, 2016):
Could you please revert your changes, and update rutor.py:
Replace in this code (line 195)
FalseonTrue:And I try to investigate why I disabled redirects for rutor, this should solve your issues as well.
@andrewt82 commented on GitHub (Jul 18, 2016):
ok i revert url and enable redirects on def _prepare_request
and in this functions
and in this
without redirects in this functions torrents also don't add in monitortorrent :(
@werwolfby commented on GitHub (Jul 18, 2016):
Yep, make sense, we will update working with mirrors, to simplify this process.
@andrewt82 commented on GitHub (Jul 18, 2016):
ok thank's you VERY MUCH for you help and this cool programm!
@werwolfby commented on GitHub (Jul 18, 2016):
You are welcome, and thx for issues investigation