# 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)

@@ -199,32 +199,33 @@
 %0A    url = 'http
+s
 ://www.bt.no/ber
@@ -225,29 +225,13 @@
 .no/
-bergenpuls/tegneserie
+kultu
 r/te
@@ -243,15 +243,8 @@
 rier
-_pondus
 /'%0A%0A
@@ -298,15 +298,25 @@
 e_da
-ys = 32
+te = '2008-07-01'
 %0A   
@@ -432,37 +432,39 @@
 http
+s
 ://
-www.bt.no/external/cartoon
+cartoon-prod.schibsted.tech
 /pon

Update 'pondusbt' after site change