In this project, we'll build a custom search engine that uses filtering to rank results. The engine will get results from the Google Custom Search API, store them, then rank them based on filters we define.
We'll filter based on the number of trackers on the page, and the length of the content. The framework will be extensible, so you can add your own filters, including ones that use machine learning.
We'll also use Flask to render a basic search page and results list so you can use the engine.
You can see the full code and a README for this project here - [ Ссылка ] . This includes links to any files you'll need to download or things you need to setup.
Chapters
00:00 Introduction
02:38 Getting a Custom Search Engine API key
05:46 Initializing our project with PyCharm
09:57 Storing our results with sqlite3
17:36 Querying the search API
30:16 Creating a flask web application
41:48 Filtering results by page content
48:20 Filtering by trackers and ads
55:30 Adding in relevance scores
1:03:21 Next steps with this project
---------------------------------
Join 1M+ Dataquest learners today!
Master data skills and change your life.
Sign up for free: [ Ссылка ]
Ещё видео!