hrbrmstr / cfhttr

:construction_worker: Workaround Cloudflare Anti-DDoS Protection
9 stars 1 forks source link

Username / password challenge #1

Open smithjd opened 6 years ago

smithjd commented 6 years ago

Is it the intention of this package to just do a straight GET or can it / will it eventually handle a username / password challenge? I mean sometehing such as rvest does with:

submit_form(session,filled_form)
jump_to(session, discussion_url)

It's the combination of Cloudflare and a password that has me stumped.

hrbrmstr commented 6 years ago

I'd need to see an example. I haven't come across one so I don't know if it's a POST or GET for the form. If it can be done, it definitely will have a GET with a query=list() parameter or a POST with a body=…" parameter vs be morervest`-y (I'm also personally not a big fan of the rvest high-level abstraction for forms as I firmly believe it causes more problems than it solves in the long run and have a string of SO answers to prove that).

If there's a site I can poke at to see how doable it is I shall gladly poke.