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

Alternative login method. #5

Open
sharesourcecode opened this issue Sep 18, 2021 · 0 comments
Open

Alternative login method. #5

sharesourcecode opened this issue Sep 18, 2021 · 0 comments

Comments

@sharesourcecode
Copy link

sharesourcecode commented Sep 18, 2021

Create configuration file with its contents:
conf.txt

SET_COOKIES:TRUE
ACCEPT_ALL_COOKIES:TRUE
PERSISTENT_COOKIES:TRUE
COOKIE_FILE:~/cookie

Login
Repeat the process twice:

echo "username=COPOSITE NAME&password=your_password" | lynx -cfg=conf.txt -post-data $website

But each site has its specific login parameter:

echo "login=Some name&pass=1234" | lynx -cfg=conf.txt -post-data http://tiwar.net/?sign_in=1

After login, access the website in this way:

lynx -cfg=conf.txt $website
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

1 participant