PR-Pilot-AI / pr-pilot

An AI agent for your development workflow that can search and manipulate the code base, browse the internet and interact with Github issues and pull requests
https://www.pr-pilot.ai
GNU General Public License v3.0
148 stars 15 forks source link

🔧 Fix IndexError in `scrape_website` Function #199

Closed pr-pilot-ai[bot] closed 2 months ago

pr-pilot-ai[bot] commented 2 months ago

The IndexError in the scrape_website function has been fixed by adding a check to ensure that the content exists before attempting to access it. The updated function now logs an error if no content is found for the given URL.

The fix has been committed to the repository.