Commit Graph

80 Commits

Author SHA1 Message Date
2f02a6dd80 Instead of manually defining dev deps, use requirements-dev. 2021-07-03 19:15:20 +02:00
a19b53903b Resolved merge conflict in readme 2021-07-03 19:13:27 +02:00
7db3a29302 Merge branch 'master' into feat/drone-ci 2021-07-03 19:12:35 +02:00
11cc5f084b Moved badges to table & added drone CI 2021-07-03 19:11:49 +02:00
d828d4e4f0 Add codecov secert as env variable 2021-07-03 19:09:00 +02:00
69991340e6 fix: install codecov before running command 2021-07-03 19:06:37 +02:00
0b22df4f0a fix: install coverage before running command 2021-07-03 19:05:31 +02:00
45fd26ad34 fix: explicit install pytest 2021-07-03 19:03:46 +02:00
60943f3423 First steps for drone CI script. 2021-07-03 18:53:01 +02:00
fa49597669 Update README.md 2021-07-03 18:46:58 +02:00
88d91af382 Moved getConfig to utils. 2021-07-03 18:41:28 +02:00
9bfa913912 Setup default parameters for searchTorrentSite 2021-07-03 18:41:17 +02:00
bd91939121 Save size in bytes and compute & save human_size. 2021-07-03 18:40:13 +02:00
2112147e3c Try find uploader and add to instance of Torrent 2021-07-03 18:37:16 +02:00
f6987eb3f2 Encode any spaces in query as %20. 2021-07-03 18:36:05 +02:00
58c59a6a58 Created __main__ file as entry for pacakge. Updated imports. 2021-07-03 18:34:55 +02:00
d875e7bedb Extended timeout duration from 10 --> 60 seconds. 2021-07-03 18:34:06 +02:00
467615b355 Use __init__ to append this package's dir to path. 2021-07-03 18:33:26 +02:00
86d716391c Updated console script to 'torrentsearch'. 2021-07-03 18:32:49 +02:00
873d2f2c1c Added colored dependency 2021-07-03 18:28:05 +02:00
9985358efb Update README.md 2018-03-19 18:25:36 +01:00
bb456d51af Added default values for SITE_OPTIONS in config file. 2018-03-09 13:54:36 +01:00
4996f20bbc Now we have a option to filter on high quality releases with the -f flag. 2018-02-26 18:19:54 +01:00
bf9ed49a86 Changed travis config to use our setup.py script. 2017-12-22 12:56:40 +01:00
3deaed48b7 Added better import for jackett. 2017-12-22 12:53:55 +01:00
d327f0fc72 To adhear to http_utils the path is split into a list. 2017-12-22 12:53:31 +01:00
98c05a380d Added docstring to all functions. 🎉 2017-12-22 12:52:38 +01:00
6bdf904a40 Changed indentation and wrote docstring for each function. 2017-12-22 12:07:49 +01:00
662c8678ee Added docstring to functions and removed unused print statements. 2017-12-22 11:52:19 +01:00
2c245a5a5c Removed unused and commented code. 2017-12-22 11:47:28 +01:00
db75cba06a Rewrote most of search. Now we use docopt instead of argparser for parsing input arguments. Changed indentation to 3 spaces from 4 tabs. Added logging, this is where the parent logger for the project is defined. Main function changes things like logging level and makes sure that the query is defined. 2017-12-22 11:47:10 +01:00
46455dc04a Added representsInt to check if a string only contains numbers and ColorizeFilter to set specific colors to levels of log severity. 2017-12-22 11:43:47 +01:00
39c12b8ede Added logging and stricter import of functions from local scripts. 2017-12-22 11:42:50 +01:00
a4d400f086 Added logging support. Now we also find and return seed and leech count. Size is now tested before troed to convert to int. 2017-12-22 11:42:11 +01:00
b09695c0fd Http utils now supports logging on our main logger torrentSearch. Changed indentation and added better error handling for requests.urlopen which is the function that fetches from the internet. 2017-12-22 11:41:03 +01:00
060b54b029 Added a setup.py for easy install and execution of script. 2017-12-22 11:35:45 +01:00
c8c109f434 Merge branch 'master' of github.com:KevinMidboe/pirate_search 2017-12-22 11:35:08 +01:00
bab8536b0c Added init file in script folder that holds the current version of the repo. 2017-12-22 11:34:24 +01:00
108a005356 Switched from colored to termcolor for coloring our logging output. 2017-12-22 11:33:33 +01:00
11aa1a095e Update README.md 2017-11-19 17:05:12 +01:00
8f3add3d9e Added Idea section to readme 2017-11-19 17:04:42 +01:00
404d1b161e Added codecov and travis build status in readme 2017-11-19 00:34:22 +01:00
f0972607d1 Merge branch 'master' of github.com:KevinMidboe/pirate_search 2017-11-19 00:29:17 +01:00
ceed5ba145 Wanted to add a init file here. 2017-11-19 00:29:03 +01:00
dbbcb08f16 travis config file. 2017-11-19 00:28:49 +01:00
d12ef55ef8 Added test base and coverage report for codecov. 2017-11-19 00:26:51 +01:00
dd7885ad57 Removed unused file. 2017-11-19 00:19:29 +01:00
f333681071 Update README.md 2017-11-19 00:10:22 +01:00
7da6975243 Now we don't only select our bluray, but all our matches from the query. 2017-11-19 00:08:41 +01:00
cc672efed2 Since the piratebay has the file size in human readable form it is hard to sort by file size. Now we have a de-human size function in our utils that can be used to convert these sizes to byte form. 2017-11-19 00:07:40 +01:00