MCPcopy Create free account
hub / github.com/Jack-Cherish/python-spider / __init__

Method __init__

12306.py:36–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 buy = "https://kyfw.12306.cn/otn/confirmPassenger/initDc"
35
36 def __init__(self):
37 self.driver_name = 'chrome'
38 self.executable_path = 'D:/chromedriver'
39
40 def login(self):
41 self.driver.visit(self.login_url)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected