In [1]:
from requests_html import HTMLSession

session = HTMLSession()

In [5]:
resp = session.get('https://medium.com/we-distribute/hiveway-io-shamelessly-rips-off-of-mastodon-and-slaps-a-blockchain-on-top-for-some-reason-57b7aba3e84f')

resp.ok


Out[5]:
True

In [6]:
resp.html


Out[6]:
<HTML url='https://medium.com/we-distribute/hiveway-io-shamelessly-rips-off-of-mastodon-and-slaps-a-blockchain-on-top-for-some-reason-57b7aba3e84f'>

In [12]:
stylesheets = resp.html.find('link[rel=stylesheet]')

In [21]:
s = stylesheets[0]

s.link


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-21-ae18a0febb9f> in <module>()
      1 s = stylesheets[0]
      2 
----> 3 s.link

AttributeError: 'Element' object has no attribute 'link'

In [ ]: