<commit_before># encoding: utf-8

from comics.aggregator.crawler import CrawlerBase, CrawlerImage
from comics.comics.pondus import ComicData as PondusData


class ComicData(PondusData):
    name = 'Pondus (bt.no)'
    url = 'http://www.bt.no/bergenpuls/tegneserier/tegneserier_pondus/'


class Crawler(CrawlerBase):
    history_capable_days = 32
    schedule = 'Mo,Tu,We,Th,Fr,Sa'
    time_zone = 'Europe/Oslo'

    def crawl(self, pub_date):
        url = 'http://www.bt.no/external/cartoon/pondus/%s.gif' % (
            pub_date.strftime('%d%m%y'),)
        return CrawlerImage(url)<commit_msg>Update 'pondusbt' after site change<commit_after># encoding: utf-8

from comics.aggregator.crawler import CrawlerBase, CrawlerImage
from comics.comics.pondus import ComicData as PondusData


class ComicData(PondusData):
    name = 'Pondus (bt.no)'
    url = 'https://www.bt.no/kultur/tegneserier/'


class Crawler(CrawlerBase):
    history_capable_date = '2008-07-01'
    schedule = 'Mo,Tu,We,Th,Fr,Sa'
    time_zone = 'Europe/Oslo'

    def crawl(self, pub_date):
        url = 'https://cartoon-prod.schibsted.tech/pondus/%s.gif' % (
            pub_date.strftime('%d%m%y'),)
        return CrawlerImage(url)
{'fraction_non_alphanumeric': 0.13598673300165837, 'fraction_numerical': 0.009950248756218905, 'mean_word_length': 3.66023166023166, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6478984', 'n_tokens_mistral': 475, 'n_tokens_neox': 451, 'n_words': 77}