From b798870a8a040257e477dbcc559036f608d4c364 Mon Sep 17 00:00:00 2001 From: James Addison Date: Wed, 14 Aug 2024 10:09:25 +0100 Subject: [PATCH] README: fixup: relocate `links` note Relates-to commit 50ab603d0816267e6399959a484687f204bc9c2b. --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 520754075..251259dc8 100644 --- a/README.rst +++ b/README.rst @@ -64,10 +64,6 @@ To learn what the library can do, you can open a `Python interpreter session >> scraper = scrape_html(html, org_url=url) >>> help(scraper) -Notes: - -- ``scraper.links()`` returns a list of dictionaries containing all of the tag attributes. The attribute names are the dictionary keys. - Some Python HTTP clients that you can use to retrieve HTML include `requests`_, `httpx`_, and the `urllib.request module`_ included in Python's standard library. Please refer to their documentation to find out what options (timeout configuration, proxy support, etc) are available. .. _requests: https://pypi.org/project/requests/ @@ -521,6 +517,10 @@ If there is Schema/Recipe available it will work just fine. scraper.keywords() # not always available scraper.dietary_restrictions() # not always available +Notes: + +- ``scraper.links()`` returns a list of dictionaries containing all of the tag attributes. The attribute names are the dictionary keys. + **How do I know if a website has a Recipe Schema?**