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

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -