Move some more modules to HTTPS and fix canonical URL

This commit is contained in:
Tobias Gruetzmacher 2020-01-12 22:36:24 +01:00
parent 5e09b631db
commit fc4655157a
6 changed files with 10 additions and 13 deletions

View file

@ -173,7 +173,7 @@ class Alice(_WordPressScraper):
class AlienDice(_WordPressScraper):
url = 'http://aliendice.com/'
url = 'https://aliendice.com/'
stripUrl = url + 'comic/%s/'
firstStripUrl = stripUrl % '05162001'
@ -190,7 +190,7 @@ class AlienDice(_WordPressScraper):
class AlienDiceLegacy(_WordPressScraper):
name = 'AlienDice/Legacy'
stripUrl = 'http://aliendice.com/comic/%s/'
stripUrl = 'https://aliendice.com/comic/%s/'
url = stripUrl % 'legacy-2-15'
firstStripUrl = stripUrl % 'legacy-1'

View file

@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012-2014 Bastian Kleineidam
# Copyright (C) 2015-2016 Tobias Gruetzmacher
# Copyright (C) 2019-2020 Tobias Gruetzmacher
from __future__ import absolute_import, division, print_function
@ -9,7 +7,7 @@ from .common import _WordPressScraper
class TheCyantianChronicles(_WordPressScraper):
baseUrl = 'http://cyantian.net/'
baseUrl = 'https://cyantian.net/'
stripUrl = baseUrl + 'comic/%s/'
def __init__(self, name, story, first, last=None, nav=None):
@ -53,13 +51,13 @@ class TheCyantianChronicles(_WordPressScraper):
class Shivae(_WordPressScraper):
url = 'http://shivae.com/'
url = 'https://shivae.com/'
stripUrl = url + 'gnip/%s/'
firstStripUrl = stripUrl % 'cler/09202001'
class ShivaeComics(_WordPressScraper):
baseUrl = 'http://shivae.net/'
baseUrl = 'https://shivae.net/'
def __init__(self, name, story, first, last=None, nav=None):
super(ShivaeComics, self).__init__('Shivae/' + name)

View file

@ -188,7 +188,7 @@ class DieselSweetiesOld(_ParserScraper):
class Dilbert(_ParserScraper):
url = 'http://dilbert.com/'
url = 'https://dilbert.com/'
stripUrl = url + 'strip/%s'
firstStripUrl = stripUrl % '1989-04-16'
starter = indirectStarter

View file

@ -220,7 +220,7 @@ class FullFrontalNerdity(_BasicScraper):
class FunInJammies(_WordPressScraper):
url = ('https://web.archive.org/web/20170205105241/'
'http://www.funinjammies.com/')
'http://funinjammies.com/')
stripUrl = url + 'comic.php?issue=%s'
firstStripUrl = stripUrl % '1'
prevSearch = '//a[text()="< Prev"]'

View file

@ -343,12 +343,11 @@ class SomethingPositive(_ParserScraper):
class Sorcery101(_WPWebcomic):
baseUrl = 'http://www.sorcery101.net/sorcery-101/'
baseUrl = 'https://kelmcdonald.com/sorcery-101/'
stripUrl = baseUrl + '%s/'
url = stripUrl % 'sorcery101-ch-01'
firstStripUrl = url
starter = indirectStarter
allow_errors = (500,)
help = 'Index format: stripname'

View file

@ -59,7 +59,7 @@ class TheClassMenagerie(_ParserScraper):
class TheDevilsPanties(_WPNavi):
url = 'http://thedevilspanties.com/'
url = 'https://thedevilspanties.com/'
stripUrl = url + 'archives/%s'
firstStripUrl = stripUrl % '300'
help = 'Index format: number'