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.
"I'm Feeling Lucky" script problem (again)
"I'm Feeling Lucky" script problem (again)
|
|
Messages In This Thread |
"I'm Feeling Lucky" script problem (again) - by tab_lo_lo - Jul-11-2019, 03:21 PM
RE: "I'm Feeling Lucky" script problem (again) - by nilamo - Jul-11-2019, 03:47 PM
RE: "I'm Feeling Lucky" script problem (again) - by tab_lo_lo - Jul-16-2019, 03:54 PM
RE: "I'm Feeling Lucky" script problem (again) - by snippsat - Jul-16-2019, 07:45 PM
RE: "I'm Feeling Lucky" script problem (again) - by tab_lo_lo - Jul-23-2019, 06:20 PM
RE: "I'm Feeling Lucky" script problem (again) - by snippsat - Jul-23-2019, 09:30 PM
RE: "I'm Feeling Lucky" script problem (again) - by tab_lo_lo - Jul-23-2019, 10:16 PM
RE: "I'm Feeling Lucky" script problem (again) - by snippsat - Jul-23-2019, 11:26 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
requests problem in python script "content type" | abdlwafitahiri | 4 | 3,196 |
Dec-29-2019, 02:29 PM Last Post: abdlwafitahiri |
|
Project: “I’m Feeling Lucky” Google Search | Truman | 31 | 28,438 |
Jul-09-2019, 04:20 PM Last Post: tab_lo_lo |
|
Problem With Simple Multiprocessing Script | digitalmatic7 | 11 | 9,236 |
Apr-16-2018, 07:18 PM Last Post: digitalmatic7 |
Users browsing this thread: 2 Guest(s)