From ffceb67945f492a873cb46a887102b9dda8d3788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 14 Aug 2019 09:15:19 +0200 Subject: [PATCH] Scraping --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe62bac..dcdbbff 100644 --- a/README.md +++ b/README.md @@ -2320,7 +2320,7 @@ retention=|| Scraping -------- -#### Scrapes Python's logo, URL and version number from Wikipedia page: +#### Scrapes Python's URL, version number and logo from Wikipedia page: ```python # $ pip3 install requests beautifulsoup4 import requests diff --git a/index.html b/index.html index 66703b1..de0e6a7 100644 --- a/index.html +++ b/index.html @@ -2003,7 +2003,7 @@ logger.<level>('A logging message.')
  • '<timedelta>' - Max age of a file.
  • '<str>' - Max age as a string: '1 week, 3 days', '2 months', …
  • -

    #Scraping

    Scrapes Python's logo, URL and version number from Wikipedia page:

    # $ pip3 install requests beautifulsoup4
    +

    #Scraping

    Scrapes Python's URL, version number and logo from Wikipedia page:

    # $ pip3 install requests beautifulsoup4
     import requests
     from bs4 import BeautifulSoup
     url   = 'https://en.wikipedia.org/wiki/Python_(programming_language)'