Add Torrents To wTorrent (v2.6)

By Shannon Brooks Last update Nov 3, 2011 — Installed 3,278 times.

wtorrent on https

in
Subscribe to wtorrent on https 2 posts, 2 voices



Keystroke User

U can't use this script if u run wtorrent on https.

There is this script that has the modification to work with https:
"Add Torrents To secure wTorrent (v1.2) (partly german)" http://userscripts.org/scripts/show/47587

But why to fork the hole project just for something that should be configured with a parameter?

Instead of hardcode the protocoll in the souce
post('http://'+wtorrent_host+'/','userf='+wtorrent_username+'&passwdf='+wtorrent_password+'&user_login=Login', function(l)
Why don't use the variable "wTorrent_FQDN" to say there wtorrent it running:

wTorrent_FQDN = "https://my.privateserver.org/wtorrent"
and
post(wtorrent_FQDN+'/','userf='+wtorrent_username+'&passwdf='+wtorrent_password+'&user_login=Login', function(l)

or, to keep the compatibilitly with variable with older versions, add the varialbe wTorrent_protocoll = "http" or "https"

well that are just examples, maybe u find another, better way. But i think running wtorrent on https i an important feature.

 
Shannon Brooks Script's Author
FirefoxWindows

I've made some changes to the script to use your suggestions, please give it a try and let me know. Thanks!