<commit_before>from cwgooglelinkedin.items import GoogleLinkedIn
from cwgooglelinkedin.parser.base_parser import BaseParser

import urlparse


class ResponseParse(BaseParser):
    def __init__(self):
        super(ResponseParse, self).__init__()

    def parse_paginate(self, url, hxs, cache_db):
        links = hxs.select('//*[@class="ires"]/ol/div').extract()
        count = 0
        for link in links:
            appLink = urlparse.urljoin(url, link.strip())
            cache_db.process_item(url)
            count += 1
<commit_msg>google linkedin.<commit_after>from cwgooglelinkedin.items import GoogleLinkedIn
from cwgooglelinkedin.parser.base_parser import BaseParser

import urlparse


class ResponseParse(BaseParser):
    def __init__(self):
        super(ResponseParse, self).__init__()

    def parse_paginate(self, url, hxs, cache_db):
        links = hxs.xpath('//*[@id="ires"]/ol/div')
        count = 0
        for link in links:
            appLink = urlparse.urljoin(url, link.strip())
            cache_db.process_item(url)
            count += 1

{'fraction_non_alphanumeric': 0.10851262862488306, 'fraction_numerical': 0.0037418147801683817, 'mean_word_length': 3.0225563909774436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2140352', 'n_tokens_mistral': 330, 'n_tokens_neox': 321, 'n_words': 71}