#!/usr/bin/env python # Copyright (C) 2013-2014 Bastian Kleineidam """ Script to get arcamax comics and save the info in a JSON file for further processing. """ from __future__ import print_function import codecs import re import sys import os import requests sys.path.append(os.path.join(os.path.dirname(__file__), "..")) from dosagelib.util import getPageContent from dosagelib.scraper import get_scraperclasses from scriptutil import contains_case_insensitive, save_result, load_result, truncate_name, format_name, format_description json_file = __file__.replace(".py", ".json") url_matcher = re.compile(r'