Python Forum
"I'm Feeling Lucky" script problem (again)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"I'm Feeling Lucky" script problem (again)
#2
print(linkElems)
# []
If you look at the response you're getting, there are no links nested under a .r class. The page that google sends you is dependent upon whether or not you have javascript enabled. So, inspect what you're getting, and narrow your selector appropriately.
Reply


Messages In This Thread
RE: "I'm Feeling Lucky" script problem (again) - by nilamo - Jul-11-2019, 03:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  requests problem in python script "content type" abdlwafitahiri 4 3,122 Dec-29-2019, 02:29 PM
Last Post: abdlwafitahiri
  Project: “I’m Feeling Lucky” Google Search Truman 31 28,084 Jul-09-2019, 04:20 PM
Last Post: tab_lo_lo
  Problem With Simple Multiprocessing Script digitalmatic7 11 9,122 Apr-16-2018, 07:18 PM
Last Post: digitalmatic7

Forum Jump:

User Panel Messages

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