Added SQL alchemy to the setup.py
Moving everything over to sqlalchemy, made some changes that should reduce
overall requests and added md5 duplicate hashing function and field to the
database.
Added plugin for imgur single links that are not direct links
finished the new error logging and duplicate skipping database code to
minimize unecessary requests, parsing and ure duplicates in the results
Fixed a couple of indentation errors and code placement logic issues that
would allow some unexpected behavior in a few edge cases
Moved some sql stuff out of the if check for the db creation
Removed the conditional to create the table since sqlalchemy handles all
the nastiness of that behind the scenes for you
Fixed an indentation error where after an md5 is flagged as dupe it tries
to add it to the db anyway
Added totals to output, esp. helpful with larger jobs
Needed to convert handle prev to accept a list and ot just one item at a
time.
Fixed improperly ordered string sub args
Added needed fetchoe() to query select results proxy for error count query
And again for previous exception counting.
Final tweaks before merge
Added some doctrings to the new methods