python爬取pubmed的文献_[python爬虫] Selenium定向爬取PubMed生物医学摘要信息

1 # coding=utf-8

2 """

3 Created on 2015-12-05 Ontology Spider

4 @author Eastmount CSDN

5 URL:

6 http://www.meddir.cn/cate/736.htm

7 http://www.medlive.cn/pubmed/

8 http://paper.medlive.cn/literature/1502224

9 """

10

11 import time

12 import re

13 import os

14 import shutil

15 import sys

16 import codecs

17 from selenium import webdriver

18 from selenium.webdriver.common.keys import Keys

19 import selenium.webdriver.support.ui as ui

20 from selenium.webdriver.common.action_chains import ActionChains

21

22 #Open PhantomJS

23 driver = webdriver.Firefox()

24 driver2 = webdriver.PhantomJS(executable_path="G:\phantomjs-1.9.1-windows\phantomjs.exe")

你可能感兴趣的:(python爬取pubmed的文献_[python爬虫] Selenium定向爬取PubMed生物医学摘要信息)