Playbook for Windows Python Scraper using Selenium.
Application
- Install Anaconda
- Install browsers: Firefox and Chrome
- Download selenium driver executables/binaries
- for convenience, store in 'bin' folder
- Install Chrome Browser extension: SelectorGadget
- pip install selenium
- Create Windows batch file to execute Python application
- Create Python application
Windows Task Scheduler:
- Start "Windows Task Scheduler"
- On the right-pane, click "Create Basic Task..." (this is Create Basic Task Wizard)
- Give name to task -> Next
- Select frequency: Daily
- Select start time (Note time zone of local machine, esp. if virtual machine @ UTC)
- Action to Perform: Start a program
- Click "Browse" button -> navigate to Windows batch file
- Click "Next" and "Finish" buttons
Documentation:
- Convert MS-Word (docx) documentation to markdown using pandoc
pandoc -s original.docx -t markdown -o converted.md
- -s standalone document, not fragment
- -f convert format from
- -t convert format to
- -o output file
- pandoc demos. https://pandoc.org/demos.html
- pandoc flags. https://pandoc.org/MANUAL.html#options