LDRã®APIã使ãã«ã¯ãã°ã¤ã³ãå¿ è¦ã ããpythonçmechanizeã使ãã¨cookieãªã©ã®å¦çãæèããç°¡åã«ã§ããã #! /usr/bin/env python # coding: utf-8 import mechanize import json import urllib def account(service_name): import sys, os import yaml # ã¹ã¯ãªããã®ãã£ã¬ã¯ã㪠dir = os.path.abspath(os.path.dirname(__file__)) return yaml.load(open(dir + '/accounts.yaml'))[service_name] class LDRbrowser(object): LD_LOGIN_URL = 'https://member.livedoor.com/log
{{#tags}}- {{label}}
{{/tags}}