Name | recipe-urls JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | Scrapes all recipe URLs from provided base URL. |
upload_time | 2024-04-28 20:54:07 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | MIT License |
keywords |
recipe
scraper
urls
links
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# recipe-urls
## Overview
`recipe-urls` is a Python package designed to gather recipe URLs from a given base URL or from provided html content.
<br>
## Installation
```bash
pip install recipe-urls
```
## Usage
```python
from recipe_urls import scrape_urls, scrape_html
```
## Example usage
```python
base_urls = ['https://bakingmischief.com', 'https://www.allrecipes.com/recipes/80/main-dish/']
compiled_recipe_links = []
for base_url in base_urls:
scraped_links = scrape_urls(base_url)
compiled_recipe_links.extend(scraped_links)
```
```python
input_html = [baking_mischief_html, all_recipes_html]
compiled_recipe_links = []
for html_content in input_html:
scraped_links = scrape_html(html) # optionally, scrape_html(html, base_url)
compiled_recipe_links.extend(scraped_links)
```
## Supported Websites
- https://abuelascounter.com
- https://www.acouplecooks.com
- https://addapinch.com
- http://www.afghankitchenrecipes.com
- https://www.allrecipes.com
- https://www.ambitiouskitchen.com
- https://www.archanaskitchen.com
- https://www.averiecooks.com
- https://bakingmischief.com
- https://www.baking-sense.com
- https://barefootcontessa.com
- https://www.bbc.co.uk
- https://www.bettycrocker.com
- https://www.bigoven.com
- https://bluejeanchef.com
- https://www.bonappetit.com
- https://www.bongeats.com
- https://www.bowlofdelicious.com
- https://www.budgetbytes.com
- https://carlsbadcravings.com
- https://www.castironketo.net
- https://www.cdkitchen.com
- https://chefsavvy.com
- https://www.closetcooking.com
- https://cookieandkate.com
- https://copykat.com
- https://www.countryliving.com
- https://creativecanning.com
- https://www.davidlebovitz.com
- https://www.delish.com
- https://domesticate-me.com
- https://downshiftology.com
- https://www.eatingbirdfood.com
- https://www.eatingwell.com
- https://www.eatliverun.com
- https://eatsmarter.com
- https://www.eatwell101.com
- https://eatwhattonight.com
- https://elavegan.com
- https://www.ethanchlebowski.com
- https://www.errenskitchen.com
- https://www.epicurious.com
- https://www.farmhouseonboone.com
- https://www.fifteenspatulas.com
- https://www.finedininglovers.com
- https://fitmencook.com
- https://fitslowcookerqueen.com
- https://www.food.com
- https://food52.com
- https://www.foodandwine.com
- https://www.foodnetwork.com
- https://www.foodrepublic.com
- https://www.forksoverknives.com
- https://forktospoon.com
- https://www.gimmesomeoven.com
- https://www.gonnawantseconds.com
- https://goodfooddiscoveries.com
- https://www.goodhousekeeping.com
- https://www.greatbritishchefs.com
- https://www.halfbakedharvest.com
- https://handletheheat.com
- https://headbangerskitchen.com
- https://heatherchristo.com
- https://www.hellofresh.com
- https://www.hersheyland.com
- https://hostthetoast.com
- https://im-worthy.com
- https://www.indianhealthyrecipes.com
- https://insanelygoodrecipes.com
- https://inspiralized.com
- https://izzycooking.com
- https://www.jamieoliver.com
- https://jimcooksfoodgood.com
- https://joyfoodsunshine.com
- https://www.justataste.com
- https://justbento.com
- https://www.justonecookbook.com
- https://www.kingarthurbaking.com
- https://leanandgreenrecipes.net
- https://lifestyleofafoodie.com
- https://littlespicejar.com
- https://livelytable.com
- https://lovingitvegan.com
- https://ninjatestkitchen.eu
- https://cooking.nytimes.com
- https://ohsheglows.com
- https://www.onceuponachef.com
- https://www.paleorunningmomma.com
- https://www.persnicketyplates.com
- https://www.pickuplimes.com
- https://www.platingpixels.com
- https://rachlmansfield.com
- https://rainbowplantlife.com
- https://reciperunner.com
- https://sallysbakingaddiction.com
- https://simple-veganista.com
- https://www.simplywhisked.com
- https://www.tasteofhome.com
- https://tasty.co
- https://www.wellplated.com
- https://whole30.com
## Acknowledgments
This package was inspired by (and meant to be used in conjunction with) [recipe-scrapers](https://github.com/hhursev/recipe-scrapers) by [hhursev](https://github.com/hhursev). Thanks for making the intersection of programming and recipes more doable!
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "recipe-urls",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "recipe, scraper, URLs, links",
"author": null,
"author_email": "Melissa Terry <mkayeterry@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/14/3c/03fd6adc1533a0cea35c19cec6684e5d2c2e5dea9c9351cf067ecaf85944/recipe_urls-0.2.0.tar.gz",
"platform": null,
"description": "# recipe-urls\n\n## Overview\n\n`recipe-urls` is a Python package designed to gather recipe URLs from a given base URL or from provided html content.\n\n<br>\n\n## Installation\n\n```bash\npip install recipe-urls\n```\n\n## Usage\n\n```python\nfrom recipe_urls import scrape_urls, scrape_html\n```\n\n## Example usage\n\n```python\nbase_urls = ['https://bakingmischief.com', 'https://www.allrecipes.com/recipes/80/main-dish/']\ncompiled_recipe_links = []\n\nfor base_url in base_urls:\n scraped_links = scrape_urls(base_url)\n compiled_recipe_links.extend(scraped_links)\n```\n```python\ninput_html = [baking_mischief_html, all_recipes_html]\ncompiled_recipe_links = []\n\nfor html_content in input_html:\n scraped_links = scrape_html(html) # optionally, scrape_html(html, base_url)\n compiled_recipe_links.extend(scraped_links)\n```\n\n## Supported Websites\n\n- https://abuelascounter.com\n- https://www.acouplecooks.com\n- https://addapinch.com\n- http://www.afghankitchenrecipes.com\n- https://www.allrecipes.com\n- https://www.ambitiouskitchen.com\n- https://www.archanaskitchen.com\n- https://www.averiecooks.com\n- https://bakingmischief.com\n- https://www.baking-sense.com\n- https://barefootcontessa.com\n- https://www.bbc.co.uk\n- https://www.bettycrocker.com\n- https://www.bigoven.com\n- https://bluejeanchef.com\n- https://www.bonappetit.com\n- https://www.bongeats.com\n- https://www.bowlofdelicious.com\n- https://www.budgetbytes.com\n- https://carlsbadcravings.com\n- https://www.castironketo.net\n- https://www.cdkitchen.com\n- https://chefsavvy.com\n- https://www.closetcooking.com\n- https://cookieandkate.com\n- https://copykat.com \n- https://www.countryliving.com\n- https://creativecanning.com\n- https://www.davidlebovitz.com\n- https://www.delish.com\n- https://domesticate-me.com\n- https://downshiftology.com\n- https://www.eatingbirdfood.com\n- https://www.eatingwell.com\n- https://www.eatliverun.com\n- https://eatsmarter.com\n- https://www.eatwell101.com\n- https://eatwhattonight.com\n- https://elavegan.com\n- https://www.ethanchlebowski.com\n- https://www.errenskitchen.com\n- https://www.epicurious.com\n- https://www.farmhouseonboone.com\n- https://www.fifteenspatulas.com\n- https://www.finedininglovers.com\n- https://fitmencook.com\n- https://fitslowcookerqueen.com\n- https://www.food.com\n- https://food52.com\n- https://www.foodandwine.com\n- https://www.foodnetwork.com\n- https://www.foodrepublic.com\n- https://www.forksoverknives.com\n- https://forktospoon.com\n- https://www.gimmesomeoven.com\n- https://www.gonnawantseconds.com\n- https://goodfooddiscoveries.com\n- https://www.goodhousekeeping.com\n- https://www.greatbritishchefs.com\n- https://www.halfbakedharvest.com\n- https://handletheheat.com\n- https://headbangerskitchen.com\n- https://heatherchristo.com\n- https://www.hellofresh.com\n- https://www.hersheyland.com\n- https://hostthetoast.com\n- https://im-worthy.com\n- https://www.indianhealthyrecipes.com\n- https://insanelygoodrecipes.com\n- https://inspiralized.com\n- https://izzycooking.com\n- https://www.jamieoliver.com\n- https://jimcooksfoodgood.com\n- https://joyfoodsunshine.com\n- https://www.justataste.com\n- https://justbento.com\n- https://www.justonecookbook.com\n- https://www.kingarthurbaking.com\n- https://leanandgreenrecipes.net\n- https://lifestyleofafoodie.com\n- https://littlespicejar.com\n- https://livelytable.com\n- https://lovingitvegan.com\n- https://ninjatestkitchen.eu\n- https://cooking.nytimes.com\n- https://ohsheglows.com\n- https://www.onceuponachef.com\n- https://www.paleorunningmomma.com\n- https://www.persnicketyplates.com\n- https://www.pickuplimes.com\n- https://www.platingpixels.com\n- https://rachlmansfield.com\n- https://rainbowplantlife.com\n- https://reciperunner.com\n- https://sallysbakingaddiction.com\n- https://simple-veganista.com\n- https://www.simplywhisked.com\n- https://www.tasteofhome.com\n- https://tasty.co\n- https://www.wellplated.com\n- https://whole30.com\n\n\n## Acknowledgments \nThis package was inspired by (and meant to be used in conjunction with) [recipe-scrapers](https://github.com/hhursev/recipe-scrapers) by [hhursev](https://github.com/hhursev). Thanks for making the intersection of programming and recipes more doable!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Scrapes all recipe URLs from provided base URL.",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [
"recipe",
" scraper",
" urls",
" links"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2662dd5ebf3f3a28838fabc7a5319b16476b7f62f9eb047042c2bc579d41cc59",
"md5": "2539c4ee5a404556ae2ac5dd1937dbfa",
"sha256": "37e22686d62a732aae5ba1968b885621f8740e7aa27164b455f0842064f0564f"
},
"downloads": -1,
"filename": "recipe_urls-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2539c4ee5a404556ae2ac5dd1937dbfa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 56038,
"upload_time": "2024-04-28T20:54:03",
"upload_time_iso_8601": "2024-04-28T20:54:03.341770Z",
"url": "https://files.pythonhosted.org/packages/26/62/dd5ebf3f3a28838fabc7a5319b16476b7f62f9eb047042c2bc579d41cc59/recipe_urls-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "143c03fd6adc1533a0cea35c19cec6684e5d2c2e5dea9c9351cf067ecaf85944",
"md5": "dfdb5aa7c09b652c9ce15beb87c4d6b7",
"sha256": "e9863d50028d1b516a72a763bfe5b78af644cd877cb37cd9b6ff3918ac37c951"
},
"downloads": -1,
"filename": "recipe_urls-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "dfdb5aa7c09b652c9ce15beb87c4d6b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5870280,
"upload_time": "2024-04-28T20:54:07",
"upload_time_iso_8601": "2024-04-28T20:54:07.633841Z",
"url": "https://files.pythonhosted.org/packages/14/3c/03fd6adc1533a0cea35c19cec6684e5d2c2e5dea9c9351cf067ecaf85944/recipe_urls-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-28 20:54:07",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "recipe-urls"
}