goofyMagpie8 / bluploader

6 stars 2 forks source link

Requires Python 3.6 or higher

Python3.6 Modules Requirements:
requests
BeautifulSoup
docopt
guessit
IMDb
pickle
argparse dottorrent
dottorrent-cli

Other Software:
mtn:https://gitlab.com/movie_thumbnailer/mtn binaries avalible
font:a file with a.ttf extension
mediainfo

APIs:
blutopia apikey: follow the api instructions on site
imgbb apikey: https://imgbb.com/, create an account api is on the left side
tmdb apikey: create an account follow these instrutions https://developers.themoviedb.org/3/getting-started/introduction

optional: oxipng:https://github.com/shssoichiro/oxipng

Using:
bluploader.py upload [options]
config file is not required but is highly recommended. config file options can be overwritten by commandline as needed

Options:
  -h --help     Show this screen.
 --media <media> can be a single file or directory
 --config ; -x <config> commandline overwrites config
 --imgbb <imgbb> imgbb api key
 --bluapi <bluapi> blutopia api key
 --tmdb <tmdb> tmdb api key
 --userid <userid> blutopia userid
 --torrentdir <torrentdir> where to save torrent files You can set to temp to save to a tempdir.
 --txtoutput <txtoutput> save info on upload, returns uguu.se link auto deletes in 24hours
 --autoupload <autotype> upload to blutopia yes or no
 --autotype <autotype> try to automate finding type of upload yes or no
 --stream <stream> is it stream friendly 0 for no, 1 for yes
 --anon <anon>  anon upload 0 for no, 1 for yes
 --font <font> font for mtn thumbnail
 --compress <compress_png> compress images requires oxipng yes or no
 --mtn path to mtn, defaults to mtn. If on linux just put mtn in your path
 --oxipng path to oxipng defaults to oxipng. If on linux just put it in your path