Skip to content
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

[diablotorrent] Can password login be done instead of cookie login #5963

Closed
BurhanDanger opened this issue Sep 7, 2019 · 3 comments
Closed
Assignees

Comments

@BurhanDanger
Copy link

Diablotorrents cookie expire very quickly ( probably within a week ). They don't need captcha on login page, so can this tracker be configured with username and password.

@garfield69
Copy link
Contributor

this indexer is written in yaml and has a form based login coded.

login:
path: login
submitpath: login/run
method: form
inputs:
referer: ""
nev: "{{ .Config.username }}"
jelszo: "{{ .Config.password }}"
fsv: "0"
login: "1"
belepes: "1"
rhash: "123"
test:
path: browse

However, the cardigann processor spots the

			<div class="form-group" id="recaptca_group" style="display:none;">
				<label class="control-label col-sm-5"></label>
				<div class="col-sm-5">
					<div class="g-recaptcha" data-sitekey="6LcIzA0UAAAAAAkwH2E8TJt5DNAVJDt7ehRInCyj"></div>
				</div>
			</div>

within the html of the sites login form, and since it cannot know if the captcha is activated it presents a cookie login instead.

sorry, don't think there is anything we can do about this. @kaso17 am i right?

@garfield69
Copy link
Contributor

I think I have enhanced the Cardigann processor's ability to recognise if a recaptcha is active or not, and thus whether a cookie login is required.
I've tested this against freetorrent, desireleasers and diablotorrent, which are three sites that I know have the recaptcha is each variation: active, not present, present but inactive.
while I have logins for freetorrent and desireleasers I don't have one for diablotorrent so I have not actually completed the login process for that indexer. But the jackett indexer config displays the username and password now, while prior versions displayed the cookie, so I'm hopeful it will work.
Try out jackett pre-release 0.11.762

@BurhanDanger
Copy link
Author

Looking good here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants