What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-21 14:13:03
python scrape data from aspx page
#pip install requests #pip install lxml #pip install bs4 import requests from bs4 import BeautifulSoup r_obj = requests.Session() url = "aspx_website_url_here" # i.e. http://bisegrw.edu.pk/ r_soup = r_obj.get(url) soup = BeautifulSoup(r_soup.co... Add solution -
Python 2021-09-29 02:54:02
how to get text from a website python
import requests from bs4 import BeautifulSoup #pip install bs4 url = 'https://www.troyhunt.com/the-773-million-record-collection-1-data-reach/' res = requests.get(url) html_page = res.content soup = BeautifulSoup(html_page, 'html.parser') text = soup.fi... Add solution
Best helpers
Rlw
+5
John Rualo
+5
Michael Wang
+5
Heavens
+5
Calvino
+5
Withparadox2
+5
SuzyTypehead
+5
Aj Morales
+5