#!/usr/bin/env python
# coding=utf-8

#!/usr/bin/env python3
from selenium import webdriver
import time
import os

class CodeSpider:
    url = ""
    cookie_file = './cookie_file'
    data_path = './data'
    lesson_name = ''
    lesson_url = []
    num = 0
    course = {'数据结构' : 792}

    def _init__(self, lesson_name = "数据结构", url = ""):
        print("__init__...")
        self.

    def get_url(self):

    def get_code(self):

    def save_code(self):

    def destroy(self):

if __name__ == "__main__":
    test = CodeSpider()
    test.get_url()

