def setUpClass(cls): path = os.path.split(module_path(cls.setUpClass))[0] ep_html_path = os.path.join(path, 'ep_html') with open(ep_html_path) as f: cls._ep_html = f.read() ep_ids = [519] + range(7027, 7052) + [46037] + range(103232, 103236) cls._ep_ids = [str(i) for i in ep_ids] cls._ep_nums = range(1, 27) + [0, 1, 1, 2, 3] cls._ep_types = ['EP'] * 26 + ['SP', 'OP'] + ['ED'] * 3
def setUpClass(cls): path = os.path.split(module_path(cls.setUpClass))[0] on_hold_html_path = os.path.join(path, 'on_hold_page') with open(on_hold_html_path) as f: on_hold_html = f.read() cls.soup = BeautifulSoup(on_hold_html, 'html.parser') cls.sub_ids = ['1451', '45241', '8484'] cls.titles = [u'東のエデン', u'ベルセルク 黄金時代篇III 降臨', u'機動警察パトレイバー'] cls.ch_titles = [u'东之伊甸', u'剑风传奇 黄金时代篇III 降临', u'机动警察']
def setUpClass(cls): path = os.path.split(module_path(cls.setUpClass))[0] on_hold_html_path = os.path.join(path, 'on_hold_page') with open(on_hold_html_path) as f: on_hold_html = f.read() cls.soup = BeautifulSoup(on_hold_html, 'html.parser') cls.c_status = 4 cls.c_statuses = [4, 4, 4] cls.ratings = [6, 6, 7] cls.n_eps = [11, None, 47]
def setUpClass(cls): path = os.path.split(module_path(cls.setUpClass))[0] ep_html_path = os.path.join(path, 'ep_html') sub_html_path = os.path.join(path, 'sub_html') with open(ep_html_path) as f: cls._ep_html = f.read() with open(sub_html_path) as f: cls._sub_html = f.read() cls._c_statuses = ['watched'] * 24 + ['queue', 'drop'] + [None] * 5 cls._id_ = "253"
def setUpClass(cls): path = os.path.split(module_path(cls.setUpClass))[0] ep_html_path = os.path.join(path, 'ep_html') sub_html_path = os.path.join(path, 'sub_html') with open(ep_html_path) as f: cls._ep_html = f.read() with open(sub_html_path) as f: cls._sub_html = f.read() cls._id_ = "253" cls._title = u'カウボーイビバップ' cls._ch_title = u'星际牛仔' cls._n_eps = 26
def setUpClass(cls): path = os.path.split(module_path(cls.setUpClass))[0] ep_html_path = os.path.join(path, 'ep_html') sub_html_path = os.path.join(path, 'sub_html') with open(ep_html_path) as f: cls._ep_html = f.read() with open(sub_html_path) as f: cls._sub_html = f.read() cls._c_status = 3 cls._id = "253" cls._rating = 8 cls._tags = [u'科幻', u'TV', u'SUNRISE'] cls._comment = u'佳作' cls._n_watched_eps = 25