lucadibello / beer-search-engine Goto Github PK
View Code? Open in Web Editor NEW๐บ An intuitive beer search engine leveraging PyTerrier and FastAPI, with a user-friendly web interface powered by NextJS and React.js
๐บ An intuitive beer search engine leveraging PyTerrier and FastAPI, with a user-friendly web interface powered by NextJS and React.js
Website URL: https://www.brewerydb.com/brewknowledge
Website URL: https://beerme.com/beerlist.php
Website URL: https://www.ratebeer.com/
Since this website loads content dynamically, their GraphQL API will be used!
(Scrapy documentation here!)
Add additional pages to the website.
Some ideas:
Show search results as snippets (2-3 lines of text with highlighted keywords, google-like)
Useful links:
The beerme.com
crawler does not follow the chosen standard format, and a lot of information is simply missing (even though it is clearly available on the website...). Also, the information you are crawling is wrong: now you are crawling brewery information, not beers.
@Enrico-Benedettini you must follow this exact format (are TS typings but I hope you will understand):
type Brewer = {
name: string | null
city: string | null
country: {
code: string | null
name: string | null
}
state: {
name: string | null
}
}
type CriticScore = {
max: number
actual: number
}
type BeerPrice = {
amount: number
currency: string
}
interface Beer {
docno: string
name: string
description: string
image_url: string
price: BeerPrice | null
style: null | string
critic_score: CriticScore
brewer: Brewer
alcohol_bv: number
tasting_notes: null | string
closure: null | string
packaging: null | string
}
Todo list:
Create APIs to be able to interact with the PyTerrier document index.
Dependencies:
Notice:
Please, remember to use bun commands when working with the project!
bun dev
/ bun build
/ ...bun install ...
/ bun install -d ...
Website URL: https://winevybe.com
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.