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

Form URL out of the form #255

Closed
Kijan opened this issue Sep 24, 2023 · 2 comments
Closed

Form URL out of the form #255

Kijan opened this issue Sep 24, 2023 · 2 comments

Comments

@Kijan
Copy link

Kijan commented Sep 24, 2023

Is your feature request related to a problem? Please describe.
Hi
I am trying to get the timetable from my daughters school.
I got it wo work, but the login drives me crazy.
when i try to login in browser i get the link to the login with a uuid or something. when i put this in the ressource it works. but i dont want to do that manually each day.
so i tried to find out how to do this.
now i saw the link is in the “form_page_response_body.txt”
so can i use a link out of this txt file for the ressource for the form?
it looks like this:

<title>

Describe the solution you'd like
read the URL from the Form body

Describe alternatives you've considered
i will try to get the URL with a second scrape

@jeremicmilan
Copy link
Contributor

#327 might fix your problem. It will not allow you to set the link directly, but maybe a hack where you set the location redirect header? https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location
If this works, please let me know. Looking forward to feedback. :)

@danieldotnl
Copy link
Owner

Please try release 7.1.2 and let me know if it addresses your issue!

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