Update README.md
Browse files
README.md
CHANGED
|
@@ -23,24 +23,25 @@ A dataset of recipes scraped from the Israeli recipe websites.
|
|
| 23 |
|
| 24 |
### Dataset Description
|
| 25 |
|
| 26 |
-
The dataset
|
| 27 |
|
| 28 |
- **Curated by:** [@Wissotsky]
|
| 29 |
- **Language:** [Hebrew]
|
| 30 |
|
| 31 |
### Dataset Sources
|
| 32 |
|
| 33 |
-
[Sugat Recipes](
|
|
|
|
| 34 |
|
| 35 |
## Dataset Structure
|
| 36 |
|
| 37 |
The data is stored in a single Parquet file (`recipes.parquet`) with the following columns:
|
| 38 |
|
| 39 |
- **URL** (string): The original URL of the recipe page.
|
| 40 |
-
- **Title** (string): The title of the webpage
|
| 41 |
- **JsonLd** (string): The "Recipe" schema.org JSON-LD data, if found on the page. Stored as a JSON string.
|
| 42 |
-
- **Html** (string): The cleaned, printable HTML content of the recipe
|
| 43 |
-
- **Sitemap** (string): The source sitemap
|
| 44 |
- **ScrapeTimestamp** (int64): Unix timestamp indicating when the data for the specific URL was scraped.
|
| 45 |
- **JsonLdPresent** (bool): A flag that is `true` if a "Recipe" JSON-LD block was successfully found and extracted.
|
| 46 |
- **HtmlRecipePresent** (bool): A flag that is `true` if the printable HTML block (`#print_area`) was found.
|
|
@@ -50,4 +51,4 @@ The data is stored in a single Parquet file (`recipes.parquet`) with the followi
|
|
| 50 |
|
| 51 |
### Data Collection and Processing
|
| 52 |
|
| 53 |
-
A
|
|
|
|
| 23 |
|
| 24 |
### Dataset Description
|
| 25 |
|
| 26 |
+
The dataset contains recipes scraped from multiple Israeli recipe websites, including [sugat.com](https://www.sugat.com/) and [hashulchan.co.il](https://hashulchan.co.il/). It includes structured JSON-LD data conforming to schema.org Recipe specifications, cleaned HTML from the printable recipe views, and various metadata for each recipe URL.
|
| 27 |
|
| 28 |
- **Curated by:** [@Wissotsky]
|
| 29 |
- **Language:** [Hebrew]
|
| 30 |
|
| 31 |
### Dataset Sources
|
| 32 |
|
| 33 |
+
- [Sugat Recipes](https://www.sugat.com/recipes/)
|
| 34 |
+
- [Hashulchan Recipes](https://hashulchan.co.il/)
|
| 35 |
|
| 36 |
## Dataset Structure
|
| 37 |
|
| 38 |
The data is stored in a single Parquet file (`recipes.parquet`) with the following columns:
|
| 39 |
|
| 40 |
- **URL** (string): The original URL of the recipe page.
|
| 41 |
+
- **Title** (string): The title of the webpage.
|
| 42 |
- **JsonLd** (string): The "Recipe" schema.org JSON-LD data, if found on the page. Stored as a JSON string.
|
| 43 |
+
- **Html** (string): The cleaned, printable HTML content of the recipe.
|
| 44 |
+
- **Sitemap** (string): The source sitemap filepath on disk (e.g., `sitemaps/recipes-sitemap.xml`).
|
| 45 |
- **ScrapeTimestamp** (int64): Unix timestamp indicating when the data for the specific URL was scraped.
|
| 46 |
- **JsonLdPresent** (bool): A flag that is `true` if a "Recipe" JSON-LD block was successfully found and extracted.
|
| 47 |
- **HtmlRecipePresent** (bool): A flag that is `true` if the printable HTML block (`#print_area`) was found.
|
|
|
|
| 51 |
|
| 52 |
### Data Collection and Processing
|
| 53 |
|
| 54 |
+
A scraper written in golang using the [gocolly](https://github.com/gocolly/colly) library. It goes through recipe URLs found in the XML sitemaps, extracting the page title, the "Recipe" JSON-LD block, and the printable recipe HTML from each page. The HTML is cleaned to match the site's print view. The data is then saved into a Parquet file (recipes.parquet) with Zstandard compression.
|