Simple scraper to pull data from a website.
Nikpy is used to scrape a car site for which I have an account. I use the data from that site to help with a website I help to run.
from nikpy import NikPy
from os import environ
from sys import argv
user = environ.get('NIKUSR') # define this user in terminal
pwd = environ.get('NIKPWD')
script, code = argv
NikPy(username=user, password=pwd)\
.login()\
.get_by_code(code)\
.end()
In the example above "get_by_code" downloads the pictures and additional information for the image being scraped.
Frees up some of my time by making something tedious more seamless.