コード例 #1
0
def process_ablauf(engine, indexer, url, force=False):
    try:
        data = scrape_ablauf(engine, url, force=force)
        clean_ablauf(engine, data)
        extend_positions(engine, url)
        match_beitraege(engine, url)
    except NoContentException:
        pass
コード例 #2
0
def process_ablauf(engine, indexer, url, force=False):
    try:
        data = scrape_ablauf(engine, url, force=force)
        clean_ablauf(engine, data)
        extend_positions(engine, url)
        match_beitraege(engine, url)

        data = fetch_row(engine, 'ablauf', source_url=url)
        load_ablauf(engine, indexer, data)
    except Unmodified: pass
    except NoContentException: pass
コード例 #3
0
def process_ablauf(engine, indexer, url, force=False):
    try:
        data = scrape_ablauf(engine, url, force=force)
        clean_ablauf(engine, data)
        extend_positions(engine, url)
        match_beitraege(engine, url)

        data = fetch_row(engine, 'ablauf', source_url=url)
        load_ablauf(engine, indexer, data)
    except Unmodified:
        pass
    except NoContentException:
        pass