Commit graph

5 commits

Author SHA1 Message Date
29592de90a
Refactor data fetching logic using stdlib
Removed dependencies on external libraries such as `requests`, `requests-html`, and `playwright` in favor of Python's standard libraries like `urllib` for HTTP requests and parsing functionality. A more robust and efficient data update function was introduced to scrape API keys and fetch project data using Typesense. Transitioned from a manual browser-based scraping approach to an API-based one for improved stability and performance. Added logging for better monitoring and debuggability. Error-handling now leverages `HTTPError` from `urllib.error`. Shifted the configuration of debug mode to rely on an environment variable, aligning with Twelve-Factor principles. Removed unused functions and streamlined the handling of various routes within the Flask app. This change shifts the project towards a more maintainable code base by using built-in libraries, reduces external dependencies, and improves resilience and scalability of the web scraping components.
2024-01-16 17:13:59 +01:00
063f4cc427
Merge remote-tracking branch 'upstream/main' 2023-06-03 23:04:34 +02:00
snowcatridge10
4fa9b1586b commit 2023-06-03 09:50:44 -04:00
823a44f664
Replaced selenium with playwright
Fixed requirements
Added source links to footer
2023-06-02 14:02:40 +00:00
snowcatridge10
31f9bf6c2b first commit 2023-06-01 17:25:13 -04:00