Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ffceb67

Browse files
committed
Scraping
1 parent 21d9edc commit ffceb67

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
@@ -2320,7 +2320,7 @@ retention=<int>|<datetime.timedelta>|<str>
23202320

23212321
Scraping
23222322
--------
2323-
#### Scrapes Python's logo, URL and version number from Wikipedia page:
2323+
#### Scrapes Python's URL, version number and logo from Wikipedia page:
23242324
```python
23252325
# $ pip3 install requests beautifulsoup4
23262326
import requests

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,7 @@
20032003
<li><strong><code class="python hljs"><span class="hljs-string">'&lt;timedelta&gt;'</span></code> - Max age of a file.</strong></li>
20042004
<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>
20052005
</ul>
2006-
<div><h2 id="scraping"><a href="#scraping" name="scraping">#</a>Scraping</h2><div><h4 id="scrapespythonslogourlandversionnumberfromwikipediapage">Scrapes Python's logo, URL and version number from Wikipedia page:</h4><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install requests beautifulsoup4</span>
2006+
<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>
20072007
<span class="hljs-keyword">import</span> requests
20082008
<span class="hljs-keyword">from</span> bs4 <span class="hljs-keyword">import</span> BeautifulSoup
20092009
url = <span class="hljs-string">'https://en.wikipedia.org/wiki/Python_(programming_language)'</span>

0 commit comments

Comments
 (0)