Repository navigation
Can Crawl4AI scrap pricing AFTER logging into a website #1153
Replies: 1 comment
1.Launch Selenium session Another Approach. APPROCH 1 `import time options = Options() try: finally: session = requests.Session() session.headers.update({"User-Agent": "Mozilla/5.0"}) resp = session.get("http://frescofoodservice.co.uk/pricing") ` APPROCH --2 `import time PROFILE_DIR = "/path/to/your/chrome/profile" options = Options() driver = webdriver.Chrome(options=options) driver.get("http://frescofoodservice.co.uk/") print("Please log in now... then return here and press Enter") driver.quit() options = Options() driver = webdriver.Chrome(options=options) driver.get("http://frescofoodservice.co.uk/pricing") driver.quit() |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I just came across this awesome project. I want to crawl a website that needs to be logged in first before getting the pricing. Is this possible using crawl4ai?
Here is the link: http://frescofoodservice.co.uk
Any pointers would be highly appreciated
All reactions