How get a fragment of the code from External HTML (web site) with python
<p>i want to get a fragment from a HTML website with pithon.</p>

<p>for example from the url <a href="http://steven-universe.wikia.com/wiki/Steven_Universe_Wiki" rel="nofollow">http://steven-universe.wikia.com/wiki/Steven_Universe_Wiki</a> i want to get the text in the box "next Episode", as a string , how can i get it?</p>

<p>First of all download BeautifulSoup latest version from <a href="https://pypi.python.org/pypi/beautifulsoup4" rel="nofollow">here</a>
and requests from <a href="http://docs.python-requests.org/en/master/" rel="nofollow">here</a> </p>

<pre><code>from bs4 import BeautifulSoup
import requests

con = requests.get(url).content
soup = BeautifulSoup(con)
text = soup.find_all("a",href="/wiki/Gem_Harvest").text;
print(link)
</code></pre>

python html