use https where specified
parent
a42faaac92
commit
0162735f32
|
@ -26,7 +26,7 @@ import BaseSearcher
|
|||
# https://developers.google.com/recaptcha/docs/verify
|
||||
#
|
||||
|
||||
API = "http://www.google.com/recaptcha/api/verify"
|
||||
API = "https://www.google.com/recaptcha/api/verify"
|
||||
|
||||
|
||||
class QuestionPage (Page.Page):
|
||||
|
|
|
@ -299,5 +299,5 @@ class EbookMetaData (object):
|
|||
""" Return the url of the ebook file on gutenberg.org. """
|
||||
|
||||
return urllib.parse.urljoin (
|
||||
'http://' + cherrypy.config['file_host'],
|
||||
'https://' + cherrypy.config['file_host'],
|
||||
'ebooks/%d.%s' % (self.id, self.filetype))
|
||||
|
|
|
@ -355,7 +355,7 @@ Gutenberg metadata much faster than by scraping.
|
|||
<td><span class="icon icon_folder" /></td>
|
||||
<td class="unpadded icon_file"><a href="${e.base_dir}" class="link"
|
||||
i18n:comment="Link to the directory containing all files.">More Files…</a></td>
|
||||
<td class="noscreen">http:${os.qualify (e.base_dir)}</td>
|
||||
<td class="noscreen">https:${os.qualify (e.base_dir)}</td>
|
||||
<td/>
|
||||
<td class="noprint"><!--! dropbox column --></td>
|
||||
<td class="noprint"><!--! gdrive column --></td>
|
||||
|
|
|
@ -6,7 +6,7 @@ DON'T USE THIS PAGE FOR SCRAPING.
|
|||
|
||||
Seriously. You'll only get your IP blocked.
|
||||
|
||||
Download http://www.gutenberg.org/feeds/catalog.rdf.bz2 instead,
|
||||
Download https://www.gutenberg.org/feeds/catalog.rdf.bz2 instead,
|
||||
which contains *all* Project Gutenberg metadata in one RDF/XML file.
|
||||
|
||||
-->
|
||||
|
|
|
@ -6,7 +6,7 @@ DON'T USE THIS PAGE FOR SCRAPING.
|
|||
|
||||
Seriously. You'll only get your IP blocked.
|
||||
|
||||
Download http://www.gutenberg.org/feeds/catalog.rdf.bz2 instead,
|
||||
Download https://www.gutenberg.org/feeds/catalog.rdf.bz2 instead,
|
||||
which contains *all* Project Gutenberg metadata in one RDF/XML file.
|
||||
|
||||
-->
|
||||
|
|
|
@ -6,7 +6,7 @@ DON'T USE THIS PAGE FOR SCRAPING.
|
|||
|
||||
Seriously. You'll only get your IP blocked.
|
||||
|
||||
Download http://www.gutenberg.org/feeds/catalog.rdf.bz2 instead,
|
||||
Download https://www.gutenberg.org/feeds/catalog.rdf.bz2 instead,
|
||||
which contains *all* Project Gutenberg metadata in one RDF/XML file.
|
||||
|
||||
-->
|
||||
|
@ -47,7 +47,7 @@ which contains *all* Project Gutenberg metadata in one RDF/XML file.
|
|||
<subtitle>Free ebooks since 1971.</subtitle>
|
||||
<author>
|
||||
<name>Marcello Perathoner</name>
|
||||
<uri>http://www.gutenberg.org</uri>
|
||||
<uri>https://www.gutenberg.org</uri>
|
||||
<email>webmaster@gutenberg.org</email>
|
||||
</author>
|
||||
<icon>${os.qualify ('/pics/favicon.png')}</icon>
|
||||
|
|
Loading…
Reference in New Issue