Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Obtain text and perform analysis from Lexis Nexis

Notifications You must be signed in to change notification settings

stphnem/LexisNexis-Automator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LexisNexis Automator

##Installation The following program requires:

  • Chrome
  • Python 2.7
  • Chrome Webdriver (Included in the repo)

##Usage Before using, make sure that the chromedriver.exe and LNAutomator class are in the same directory.

  1. Instantiate an instance of LNAutomator
   myAutomator = LNAutomator()
  1. Call the search method with the search query as an argument.
   myAutomator.search("gun control")
  1. After calling search, calling download_all_docs will automate the downloading of documents until it is exhausted
   myAutomator.download_all_docs()

#####In LNAutomator File

   if __name__ == "__main__":
       myAutomator = LNAutomator()
       myAutomator.search("gun control")
       myAutomator.download_all_docs()

##Future Support Web Drivers are needed to use the automator in other browsers. Drivers can be found in the link below. http://www.seleniumhq.org/download/

Selenium IDE can be a very useful tool in the instance that the layout of LexisNexis changes. Selenium IDE is a Mozilla Firefox plugin that records the user clicks, inputs, etc. It provides plenty of informative information to modifying the automator such as when to switch frames, what ids are selected, and much more.

http://www.seleniumhq.org/projects/ide/

About

Obtain text and perform analysis from Lexis Nexis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages