FlamePeak

We know something, but we do not know more.

  • Home
  • Archives
  • Notes
  • About

使用Selenium模拟登录网站和常见问题

遇到一个网站,登录验证过程复杂,使用Firefox、Chrome登录均不行,必须使用IE。在编写爬虫过程中,使用requests等工具均没有成功,水平太差。 最后,选择使用Selenium配合IE模拟登录,成功获取到页面。 总结如下: # -*- coding: utf-8 -*

2016-01-20

Python Selenium 和 PhantomJS 简介

Selenium is a poweful web scraping tool developed originally for website testing.Selenium works by automating browsers to load the website,

2016-01-15

python requests 301/302/303重定向cookie和Location问题

Simple One:适用cookie 不会变化的情形 import requestsparams = {'username': 'Ryan',\ 'password': 'password'}r = requests.post("http

2016-01-14
Prev1…232425

Categories

  • Android4
  • Cryptography16
  • Hardware1
  • Life4
  • Linux43
  • Network Security19
  • Python42
  • Tools19
  • Web前端20
  • Web后端14
  • 人工智能7
  • 百家杂谈21

Tags

  • Python43
  • Linux33
  • C21
  • 笔记18
  • cryptography11
  • Hexo10
  • JavaScript9
  • Life9
  • MongoDB7
  • Network Security5
  • Mysql5
  • Kali4
  • Docker4
  • Learning4
  • Scrapy4
  • Tools4
  • VPN4
  • 读书3
  • Tips3
  • 人生3

Links

  • Google Hosts
  • OverAPI
  • DevDocs
RSS

善良 善学 勇敢 坚毅
努力 克制 谦虚 执着

Powered by Hexo and Theme by Jacman © 2021 FlamePeak