摘要: import re import requests import time def main(): # 访问第三关,需要登录,登录的url url_login = 'http://www.heibanke.com/accounts/login/?next=/lesson/crawler_ex02/' # 登录成功后,访问第三关url url = 'http://www.heibanke.com/l 阅读全文
posted @ 2019-10-14 17:35 天乐_技术博客 阅读(179) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding:utf-8 -*- # Author: LiTianle # Time:2019/9/24 15:36 ''' 你需要在网址后输入数字53639 下一个你需要输入的数字是10963. ''' import requests,re def main(): url='http://www.heibanke.com/lesso... 阅读全文
posted @ 2019-10-14 17:32 天乐_技术博客 阅读(158) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding:utf-8 -*- # Author: LiTianle # Time:2019/9/24 15:36 ''' 你需要在网址后输入数字53639 下一个你需要输入的数字是10963. ''' import requests,re def get_num(s): headers = { 'User... 阅读全文
posted @ 2019-10-14 17:31 天乐_技术博客 阅读(178) 评论(0) 推荐(0) 编辑