mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 06:46:14 +00:00
Vendored
BIN
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 281 KiB |
@@ -0,0 +1,77 @@
|
|||||||
|
<!-- Alabaster (krTheme++) Hacks -->
|
||||||
|
<aside id="python27">
|
||||||
|
Python 3, the new best practice, is here to stay.
|
||||||
|
Python 2 will retire in only <time></time> months!
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<!-- Python 2 Death Clock™ -->
|
||||||
|
<style type="text/css">
|
||||||
|
body { margin-top: 4em; }
|
||||||
|
#python27 {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0; right: 0;
|
||||||
|
height: auto;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
background-color: black;
|
||||||
|
font-size: larger;
|
||||||
|
line-height: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
|
||||||
|
<script>
|
||||||
|
var death = new Date('2020-04-12');
|
||||||
|
|
||||||
|
var diff = moment.duration(death - moment());
|
||||||
|
|
||||||
|
document.querySelector('#python27 time').innerText = (diff.years() * 12) + diff.months();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- CSS Adjustments (I'm very picky.) -->
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
/* Rezzy requires precise alignment. */
|
||||||
|
img.logo {margin-left: -20px!important;}
|
||||||
|
|
||||||
|
/* "Quick Search" should be capitalized. */
|
||||||
|
div#searchbox h3 {text-transform: capitalize;}
|
||||||
|
|
||||||
|
/* Make the document a little wider, less code is cut-off. */
|
||||||
|
div.document {width: 1008px;}
|
||||||
|
|
||||||
|
/* Much-improved spacing around code blocks. */
|
||||||
|
div.highlight pre {padding: 11px 14px;}
|
||||||
|
|
||||||
|
/* Remain Responsive! */
|
||||||
|
@media screen and (max-width: 1008px) {
|
||||||
|
div.sphinxsidebar {display: none;}
|
||||||
|
div.document {width: 100%!important;}
|
||||||
|
|
||||||
|
/* Have code blocks escape the document right-margin. */
|
||||||
|
div.highlight pre {margin-right: -30px;}
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Analytics tracking for Kenneth. -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
var _gauges = _gauges || [];
|
||||||
|
(function() {
|
||||||
|
var t = document.createElement('script');
|
||||||
|
t.type = 'text/javascript';
|
||||||
|
t.async = true;
|
||||||
|
t.id = 'gauges-tracker';
|
||||||
|
t.setAttribute('data-site-id', '5a956183ba4ae36e18000033');
|
||||||
|
t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif');
|
||||||
|
t.src = 'https://d2fuc4clr7gvcn.cloudfront.net/track.js';
|
||||||
|
var s = document.getElementsByTagName('script')[0];
|
||||||
|
s.parentNode.insertBefore(t, s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- That was not a hack. That was art. -->
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
<p class="logo">
|
||||||
|
<a href="{{ pathto(master_doc) }}">
|
||||||
|
<img class="logo" src="{{ pathto('_static/requests-html-logo.png', 1) }}" title="https://kennethreitz.org/tattoos"/>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<iframe src="https://ghbtns.com/github-btn.html?user=kennethreitz&repo=requests-html&type=watch&count=true&size=large"
|
||||||
|
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<strong>Requests-HTML</strong> intends to make parsing HTML (e.g. scraping the web) as
|
||||||
|
simple and intuitive as possible.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3>Stay Informed</h3>
|
||||||
|
<p>Receive updates on new releases and upcoming projects.</p>
|
||||||
|
|
||||||
|
<p><iframe src="https://ghbtns.com/github-btn.html?user=kennethreitz&type=follow&count=false"
|
||||||
|
allowtransparency="true" frameborder="0" scrolling="0" width="200" height="20"></iframe></p>
|
||||||
|
|
||||||
|
<p><a href="https://twitter.com/kennethreitz" class="twitter-follow-button" data-show-count="false">Follow @kennethreitz</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></p>
|
||||||
|
<p><a href="https://saythanks.io/to/kennethreitz">Say Thanks!</a></p>
|
||||||
|
<p><a href="http://tinyletter.com/kennethreitz">Join Mailing List</a>.</p>
|
||||||
|
|
||||||
|
<h3>Other Projects</h3>
|
||||||
|
|
||||||
|
<p>More <a href="http://kennethreitz.org/">Kenneth Reitz</a> projects:</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://python-requests.org/">python-requests.org</a></li>
|
||||||
|
<li><a href="http://howtopython.org/">howtopython.org</a></li>
|
||||||
|
<li><a href="http://pipenv.org/">pipenv</a></li>
|
||||||
|
<li><a href="http://pep8.org/">pep8.org</a></li>
|
||||||
|
<li><a href="http://httpbin.org/">httpbin.org</a></li>
|
||||||
|
<li><a href="http://python-guide.org">The Python Guide</a></li>
|
||||||
|
<li><a href="https://github.com/kennethreitz/maya">Maya: Datetimes for Humans</a></li>
|
||||||
|
<li><a href="https://github.com/kennethreitz/records">Records: SQL for Humans</a></li>
|
||||||
|
<li><a href="http://www.git-legit.org">Legit: Git for Humans</a></li>
|
||||||
|
<li><a href="http://docs.python-tablib.org/en/latest/">Tablib: Tabular Datasets</a></li>
|
||||||
|
</ul>
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
<p class="logo">
|
||||||
|
<a href="{{ pathto(master_doc) }}">
|
||||||
|
<img class="logo" src="{{ pathto('_static/requests-html-logo.png', 1) }}" title="https://kennethreitz.org/tattoos"/>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<iframe src="https://ghbtns.com/github-btn.html?user=kennethreitz&repo=requests-html&type=watch&count=true&size=large"
|
||||||
|
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<strong>Requests-HTML</strong> intends to make parsing HTML (e.g. scraping the web) as
|
||||||
|
simple and intuitive as possible.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3>Stay Informed</h3>
|
||||||
|
<p>Receive updates on new releases and upcoming projects.</p>
|
||||||
|
|
||||||
|
<p><iframe src="https://ghbtns.com/github-btn.html?user=kennethreitz&type=follow&count=false"
|
||||||
|
allowtransparency="true" frameborder="0" scrolling="0" width="200" height="20"></iframe></p>
|
||||||
|
|
||||||
|
<p><a href="https://twitter.com/kennethreitz" class="twitter-follow-button" data-show-count="false">Follow @kennethreitz</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></p>
|
||||||
|
<p><a href="https://saythanks.io/to/kennethreitz">Say Thanks!</a></p>
|
||||||
|
<p><a href="http://tinyletter.com/kennethreitz">Join Mailing List</a>.</p>
|
||||||
|
|
||||||
|
<h3>Other Projects</h3>
|
||||||
|
|
||||||
|
<p>More <a href="http://kennethreitz.org/">Kenneth Reitz</a> projects:</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="https://python-requests.org/">python-requests.org</a></li>
|
||||||
|
<li><a href="http://howtopython.org/">howtopython.org</a></li>
|
||||||
|
<li><a href="http://pipenv.org/">pipenv</a></li>
|
||||||
|
<li><a href="http://pep8.org/">pep8.org</a></li>
|
||||||
|
<li><a href="http://httpbin.org/">httpbin.org</a></li>
|
||||||
|
<li><a href="http://python-guide.org">The Python Guide</a></li>
|
||||||
|
<li><a href="https://github.com/kennethreitz/maya">Maya: Datetimes for Humans</a></li>
|
||||||
|
<li><a href="https://github.com/kennethreitz/records">Records: SQL for Humans</a></li>
|
||||||
|
<li><a href="http://www.git-legit.org">Legit: Git for Humans</a></li>
|
||||||
|
<li><a href="http://docs.python-tablib.org/en/latest/">Tablib: Tabular Datasets</a></li>
|
||||||
|
</ul>
|
||||||
+16
-2
@@ -88,7 +88,14 @@ html_theme = 'alabaster'
|
|||||||
# further. For a list of options available for each theme, see the
|
# further. For a list of options available for each theme, see the
|
||||||
# documentation.
|
# documentation.
|
||||||
#
|
#
|
||||||
# html_theme_options = {}
|
html_theme_options = {
|
||||||
|
'show_powered_by': False,
|
||||||
|
'github_user': 'kennethreitz',
|
||||||
|
'github_repo': 'requests-html',
|
||||||
|
'github_banner': True,
|
||||||
|
'show_related': False,
|
||||||
|
'note_bg': '#FFF59C'
|
||||||
|
}
|
||||||
|
|
||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
@@ -103,8 +110,15 @@ html_static_path = ['_static']
|
|||||||
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
|
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
|
||||||
# 'searchbox.html']``.
|
# 'searchbox.html']``.
|
||||||
#
|
#
|
||||||
# html_sidebars = {}
|
html_sidebars = {
|
||||||
|
'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html',
|
||||||
|
'hacks.html'],
|
||||||
|
'**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',
|
||||||
|
'sourcelink.html', 'searchbox.html', 'hacks.html']
|
||||||
|
}
|
||||||
|
|
||||||
|
html_show_sphinx = False
|
||||||
|
html_show_sourcelink = False
|
||||||
|
|
||||||
# -- Options for HTMLHelp output ---------------------------------------------
|
# -- Options for HTMLHelp output ---------------------------------------------
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user