<commit_before>from comics.aggregator.crawler import CrawlerBase, CrawlerImage
from comics.meta.base import MetaBase

class Meta(MetaBase):
    name = 'Player vs Player'
    language = 'en'
    url = 'http://www.pvponline.com/'
    start_date = '1998-05-04'
    rights = '<NAME>'

class Crawler(CrawlerBase):
    history_capable_days = 10
    schedule = 'Mo,Tu,We,Th,Fr'
    time_zone = -6

    def crawl(self, pub_date):
        feed = self.parse_feed('http://feeds.feedburner.com/Pvponline')
        for entry in feed.for_date(pub_date):
            url = entry.content0.src('img[src*="/comics/"]')
            title = entry.title
            return CrawlerImage(url, title)<commit_msg>Bugfix on Player vs Player Crawler<commit_after>from comics.aggregator.crawler import CrawlerBase, CrawlerImage
from comics.meta.base import MetaBase

class Meta(MetaBase):
    name = 'Player vs Player'
    language = 'en'
    url = 'http://www.pvponline.com/'
    start_date = '1998-05-04'
    rights = 'Scott R. Kurtz'

class Crawler(CrawlerBase):
    history_capable_days = 10
    schedule = 'Mo,Tu,We,Th,Fr'
    time_zone = -6

    def crawl(self, pub_date):
        feed = self.parse_feed('http://feeds.feedburner.com/Pvponline')
        url == None
        for entry in feed.for_date(pub_date):
            url = entry.content0.src('img[src*="/comics/"]')
            if url != None:
                title = entry.title
                return CrawlerImage(url, title)
{'fraction_non_alphanumeric': 0.12457221081451061, 'fraction_numerical': 0.01642710472279261, 'mean_word_length': 2.768041237113402, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5978196', 'n_tokens_mistral': 512, 'n_tokens_neox': 478, 'n_words': 105}