Python Forum
Processing "I am not a spammer" with requests
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Processing "I am not a spammer" with requests
#1
I'd like to download all posts from a support site. Can I process the "I am not a spammer" button using requests?

The site has a search feature but I'd like to peruse the posts offline.
Reply
#2
(Jan-18-2022, 05:09 PM)rhubarbpieguy Wrote: I'd like to download all posts from a support site. Can I process the "I am not a spammer" button using requests?
It is not straightforward to click on buttons using Requests,
need to look what send in network request(Dev tools) and also JavaScript code that trigger the button.
Then try to recreate the Get/Post requests that is send to HTTP endpoint.

Selenium is much more strait forward for this as you find name or eg the CSS selector of button,
then use the .click() method.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  POST requests - different requests return the same response Default_001 3 1,933 Mar-10-2022, 11:26 PM
Last Post: Default_001

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020