python - BeautifulSoup html -- load from memory? -


i'm using beautifulsoup in python 3.5 parse html. while can load file, need load memory because http request. i've google found nothing loading html beautifulsoup memory. possible?

if using version 4 of beautifulsoup, try passing request data it

from bs4 import beautifulsoup import requests  # replace following url response = requests.get("https://www.python.org") soup = beautifulsoup(response.text,"html.parser") 

Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -