Scraping web error pls help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Scraping web error pls help

import bs4 from urllib.request import urlopen as ureq from bs4 import BeautifulSoup as soup my_url = "http://truecaller.com/search/in/+919810954322" uClient= uReq(my_url) page_html=uClient.read() uClient.close() # error in uClient. Pls help me guys

9th Jul 2017, 4:51 AM
Phanendra A
Phanendra A - avatar
2 Answers
+ 2
Got the answer guys. Instead of fighting with bs4 and urllib, Selenium will help us. Due to dynamic / java script web values, requests will not work with this.
12th Jul 2017, 11:47 AM
Phanendra A
Phanendra A - avatar
0
Pls help this
9th Jul 2017, 8:23 AM
Phanendra A
Phanendra A - avatar