Coverage for direct gfycat links that redirect to redgifs. The redirect through the sites themselves are broken but this fixes that.
Coverage for o.imgur links and incorrect capitalisation of domains in download_factory.
Changed tests for direct as gfycat is handled by the gfycat downloader.
fix pornhub test as the previous video was removed.
Consolidates sane flake8 settings to pyproject with the Flake8-pyproject plugin.
Does not change logic of test workflow but allows base settings to live in pyproject for anyone using flake8 as an external linter (e.g. vscode)
Also fixes some flake8 errors that were not being picked up by current testing, mostly unused imports.
Coverage for direct links.
The direct link won't work because it will have the wrong auth anyway but this will at least end up with the right API call.
Standardizes shebang and coding declarations.
Coding matches what's used by install tools such as pip(x).
Removes a few init files that were not needed.
Cleans up test args on new tests.
Add log path to default config test so as not to mangle default log outside of tests.
Match setup functions to archive/clone.
Remove testing marker that was commited in error.
Lint with [refurb](https://github.com/dosisod/refurb) using `--disable 126 --python-version 3.9`
Also update bats to 1.8.2 and bats-assets to 2.1.0. No changes to the tests, all still passing.
Add check to verify token was received.
Update headers sent to content API.
Add availability check for videos to resolve last part of #472 where only SD version is available.