def content_xxx_scanner(website):
    """Check if website has xxx related content"""
    key = 'has_content_xxx'
    topic = [
        'xxx', 'p**n', 'erotic', 'sex', 'naked', 'nude', u'nøgen', u'fræk'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
def content_shop_scanner(website):
    """Check if website has shop related content"""
    key = 'has_content_shop'
    topic = [
        'shop', 'butik', u'køb', 'buy', 'bestil', 'order', 'basket', 'kurv',
        'cart', 'sell', u'sælg'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
def content_food_scanner(website):
    """Check if website has food related content"""
    key = 'has_content_food'
    topic = [
        'food', 'mad', 'opskrift', 'recipe', 'frokost', 'brunch', 'restaurant',
        'cafe'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
def content_health_scanner(website):
    """Check if website has health related content"""
    key = 'has_content_health'
    topic = [
        'sundhed', 'health', 'motion', 'diet', 'kur', 'slank', u'vægt',
        'weight', u'træning', 'workout'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
def content_film_scanner(website):
    """Check if website has film related content"""
    key = 'has_content_film'
    topic = [
        'film', 'movie', 'biograf', 'cinema', 'dvd', 'bluray', u'skærm',
        'screen', 'tv', 'fjernsyn'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
def content_business_scanner(website):
    """Check if website has business related content"""
    key = 'has_content_business'
    topic = [
        'business', 'arbejde', u'økonomi', 'economi', 'work', 'money', 'penge',
        'finance', 'finans', 'aktie', 'stock'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
def content_sport_scanner(website):
    """Check if website has sport related content"""
    key = 'has_content_sport'
    topic = [
        'sport', 'bold', 'ball', 'spiller', 'tennis', 'cykling', 'boksning',
        'gold', 'motion'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
def content_technology_scanner(website):
    """Check if website has technology related content"""
    key = 'has_content_technology'
    topic = [
        'computer', 'pc', 'mac', 'phone', 'tablet', 'hardware', 'software',
        u'bærbar', 'laptop', 'notebook'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
def content_transport_scanner(website):
    """Check if website has transport related content"""
    key = 'has_content_transport'
    topic = [
        'transport', 'bus', 'bil', 'car', 'bike', 'bicycle', 'cykel', 'vej',
        'road', 'tog', 'train', 'metro'
    ]
    return create_binary_attribute(key, has_topic(website, topic))
Example #10
0
def backbone_scanner(website):
    key = 'has_js_backbone'
    filename = 'backbone'
    return create_binary_attribute(key, has_script(website, filename))
Example #11
0
def angular_scanner(website):
    key = 'has_js_angular'
    filename = 'angular'
    return create_binary_attribute(key, has_script(website, filename))
Example #12
0
def ember_scanner(website):
    key = 'has_js_ember'
    filename = 'ember'
    return create_binary_attribute(key, has_script(website, filename))
Example #13
0
def knockout_scanner(website):
    key = 'has_js_knockout'
    filename = 'knockout'
    return create_binary_attribute(key, has_script(website, filename))
Example #14
0
def content_business_scanner(website):
    """Check if website has business related content"""
    key = 'has_content_business'
    topic = ['business', 'arbejde', u'økonomi', 'economi', 'work',
             'money', 'penge', 'finance', 'finans', 'aktie', 'stock']
    return create_binary_attribute(key, has_topic(website, topic))
Example #15
0
def content_sport_scanner(website):
    """Check if website has sport related content"""
    key = 'has_content_sport'
    topic = ['sport', 'bold', 'ball', 'spiller',
             'tennis', 'cykling', 'boksning', 'gold', 'motion']
    return create_binary_attribute(key, has_topic(website, topic))
Example #16
0
def content_transport_scanner(website):
    """Check if website has transport related content"""
    key = 'has_content_transport'
    topic = ['transport', 'bus', 'bil', 'car', 'bike',
             'bicycle', 'cykel', 'vej', 'road', 'tog', 'train', 'metro']
    return create_binary_attribute(key, has_topic(website, topic))
Example #17
0
def jquery_scanner(website):
    key = 'has_js_jquery'
    filename = 'jquery'
    return create_binary_attribute(key, has_script(website, filename))
Example #18
0
def content_shop_scanner(website):
    """Check if website has shop related content"""
    key = 'has_content_shop'
    topic = ['shop', 'butik', u'køb', 'buy', 'bestil',
             'order', 'basket', 'kurv', 'cart', 'sell', u'sælg']
    return create_binary_attribute(key, has_topic(website, topic))
Example #19
0
def content_music_scanner(website):
    """Check if website has music related content"""
    key = 'has_content_music'
    topic = ['music', 'musik', 'lyd', 'audio', 'song', 'sang', 'pop', 'rock']
    return create_binary_attribute(key, has_topic(website, topic))
Example #20
0
def content_xxx_scanner(website):
    """Check if website has xxx related content"""
    key = 'has_content_xxx'
    topic = ['xxx', 'p**n', 'erotic', 'sex',
             'naked', 'nude', u'nøgen', u'fræk']
    return create_binary_attribute(key, has_topic(website, topic))
Example #21
0
def content_technology_scanner(website):
    """Check if website has technology related content"""
    key = 'has_content_technology'
    topic = ['computer', 'pc', 'mac', 'phone', 'tablet',
             'hardware', 'software', u'bærbar', 'laptop', 'notebook']
    return create_binary_attribute(key, has_topic(website, topic))
Example #22
0
def content_games_scanner(website):
    """Check if website has games related content"""
    key = 'has_content_games'
    topic = ['game', 'spil', 'xbox', 'playstation', 'wii']
    return create_binary_attribute(key, has_topic(website, topic))
Example #23
0
def prototype_scanner(website):
    key = 'has_js_prototype'
    filename = 'prototype'
    return create_binary_attribute(key, has_script(website, filename))
Example #24
0
def content_news_scanner(website):
    """Check if website has news related content"""
    key = 'has_content_news'
    topic = ['nyheder', 'news', 'avis', '']
    return create_binary_attribute(key, has_topic(website, topic))
Example #25
0
def dojo_scanner(website):
    key = 'has_js_dojo'
    filename = 'dojo'
    return create_binary_attribute(key, has_script(website, filename))
Example #26
0
def modernizr_scanner(website):
    key = 'has_js_modernizr'
    filename = 'modernizr'
    return create_binary_attribute(key, has_script(website, filename))
Example #27
0
def content_news_scanner(website):
    """Check if website has news related content"""
    key = 'has_content_news'
    topic = ['nyheder', 'news', 'avis', '']
    return create_binary_attribute(key, has_topic(website, topic))
Example #28
0
def content_music_scanner(website):
    """Check if website has music related content"""
    key = 'has_content_music'
    topic = ['music', 'musik', 'lyd', 'audio', 'song', 'sang', 'pop', 'rock']
    return create_binary_attribute(key, has_topic(website, topic))
Example #29
0
def content_games_scanner(website):
    """Check if website has games related content"""
    key = 'has_content_games'
    topic = ['game', 'spil', 'xbox', 'playstation', 'wii']
    return create_binary_attribute(key, has_topic(website, topic))
Example #30
0
def content_film_scanner(website):
    """Check if website has film related content"""
    key = 'has_content_film'
    topic = ['film', 'movie', 'biograf', 'cinema', 'dvd',
             'bluray', u'skærm', 'screen', 'tv', 'fjernsyn']
    return create_binary_attribute(key, has_topic(website, topic))
Example #31
0
def underscore_scanner(website):
    key = 'has_js_underscore'
    filename = 'underscore'
    return create_binary_attribute(key, has_script(website, filename))
Example #32
0
def content_health_scanner(website):
    """Check if website has health related content"""
    key = 'has_content_health'
    topic = ['sundhed', 'health', 'motion', 'diet', 'kur',
             'slank', u'vægt', 'weight', u'træning', 'workout']
    return create_binary_attribute(key, has_topic(website, topic))
Example #33
0
def handlebars_scanner(website):
    key = 'has_js_handlebars'
    filename = 'handlebars'
    return create_binary_attribute(key, has_script(website, filename))
Example #34
0
def content_food_scanner(website):
    """Check if website has food related content"""
    key = 'has_content_food'
    topic = ['food', 'mad', 'opskrift', 'recipe',
             'frokost', 'brunch', 'restaurant', 'cafe']
    return create_binary_attribute(key, has_topic(website, topic))