working
This commit is contained in:
parent
067ba688db
commit
d5b3d98b64
|
@ -4,7 +4,8 @@ from bs4 import BeautifulSoup
|
|||
dryscrape.start_xvfb()
|
||||
|
||||
session = dryscrape.Session()
|
||||
session.visit('http://192.168.1.1')
|
||||
session.set_header("User-Agent", "Mozilla/5.0 (Windows NT 5.1; rv:41.0) Gecko/20100101 Firefox/41.0")
|
||||
session.visit('http://192.168.7.1')
|
||||
response = session.body()
|
||||
soup = BeautifulSoup(response,features="lxml")
|
||||
print(soup)
|
||||
|
|
Loading…
Reference in New Issue