Skip to content

Commit c1e3e19

Browse files
committed
Scraping
1 parent 866fc84 commit c1e3e19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2441,7 +2441,7 @@ retention=<int>|<datetime.timedelta>|<str>
24412441

24422442
Scraping
24432443
--------
2444-
#### Scrapes Python's URL, version number and logo from Wikipedia page:
2444+
#### Scrapes Python's URL, version number and logo from its Wikipedia page:
24452445
```python
24462446
# $ pip3 install requests beautifulsoup4
24472447
import requests, sys

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2123,7 +2123,7 @@
21232123
<li><strong><code class="python hljs"><span class="hljs-string">'&lt;timedelta&gt;'</span></code> - Max age of a file.</strong></li>
21242124
<li><strong><code class="python hljs"><span class="hljs-string">'&lt;str&gt;'</span></code> - Max age as a string: <code class="python hljs"><span class="hljs-string">'1 week, 3 days'</span></code>, <code class="python hljs"><span class="hljs-string">'2 months'</span></code>, …</strong></li>
21252125
</ul>
2126-
<div><h2 id="scraping"><a href="#scraping" name="scraping">#</a>Scraping</h2><div><h4 id="scrapespythonsurlversionnumberandlogofromwikipediapage">Scrapes Python's URL, version number and logo from Wikipedia page:</h4><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install requests beautifulsoup4</span>
2126+
<div><h2 id="scraping"><a href="#scraping" name="scraping">#</a>Scraping</h2><div><h4 id="scrapespythonsurlversionnumberandlogofromitswikipediapage">Scrapes Python's URL, version number and logo from its Wikipedia page:</h4><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install requests beautifulsoup4</span>
21272127
<span class="hljs-keyword">import</span> requests, sys
21282128
<span class="hljs-keyword">from</span> bs4 <span class="hljs-keyword">import</span> BeautifulSoup
21292129
URL = <span class="hljs-string">'https://en.wikipedia.org/wiki/Python_(programming_language)'</span>

0 commit comments

Comments
 (0)