Access trackers in BTQueue by wget and wpost
I developed BTQueue especially for running in pure text mode without any graphical interface to make it easy to run on any machines (mostly Linux). So you are able to add new metadata by given URL. However, there are so many private trackers around this world. BTQueue can’t access to the given URL of private trackers directly due to unauthentication problem. As a result I added wget and wpost commands for a year.
wget and wpost are just to GET or POST to the given URL and data. The result of this command is in text format. All HTML tags are removed to increase readability on text mode. If you want to see raw source, please specify option "-s". In addition, both wget and wpost take care of cookies set by trackers. In other words, you can login to the tracker using wget or wpost so command add, meta and scrape gain access to the metadata inside private tracker.
For example, in case of a tracker is based on torrentbits, the URL to login is as follow. Assuming that username is admin and password is iamadmin.
http://www.torrentbits.org/takelogin.php?username=admin&password=iamadmin
In BTQueue, you are able to login by running below command.
wpost http://www.torrentbits.org/takelogin.php?username=admin&password=iamadmin
After this point, you will be able to access the metadata by passing URL in below form (torrent id is 1). Good luck.
http://www.torrentbits.org/download.php/1/tb-1.torrent
Technorati Tags: English, Product, BTQueue, Tips and Tricks, Wget, Wpost
- sugree's blog
- 1822 reads
Post new comment