Commit Graph

18 Commits

Author SHA1 Message Date
72d0c74061 forgot to add this, removed import. 2017-11-18 23:39:12 +01:00
783d9870f5 When building jackett url we no longer use, convert_query_to_percent_encoded_octets, this is now done in our build_url function in http_utils. 2017-11-18 23:38:47 +01:00
655259c146 Changed default site to piratebay and added a description on how to change it in our readme. 2017-11-18 23:34:29 +01:00
bc826db4de Reads from the changed config file name and removed some variable declaration that is no longer in use. 2017-11-18 23:33:20 +01:00
ff2f822b5e Renamed our config file and change the apikey variable to be upper case. This is reflected in search.py where we import this config file. Other changes in the search.py file is to so that when importing our config file we use the complete path of our file so we can run our script from anywhere, and still this file will find our config file. That is not use a relative path., 2017-11-18 23:03:24 +01:00
8586521d15 Added humansize for converting byte file sizes to human readable sizes. 2017-11-02 16:24:39 +01:00
c768d1424a Now removes all items we are not intersted in. 2017-11-02 16:24:19 +01:00
dd1c0cabfd Appends only the torrent object. 2017-11-02 16:23:57 +01:00
7a2c760818 Now returns human size of size 2017-11-02 16:23:40 +01:00
ccf55d2654 Also added in our torrent class so that all our indexing sites can create the same class so to be easily managed under the same type. 2017-11-02 15:17:08 +01:00
a8c4e84086 Changed import to not import entire datetime library. 2017-11-02 15:16:13 +01:00
48aab5785f Our main entry where we now handle our args with argparse and can now enter a query and select site to index using our -s option. 2017-11-02 15:15:53 +01:00
eae828a723 A script for doing all our http funcitons like building urls and calling requests. 2017-11-02 15:15:06 +01:00
db570df549 Also modular script for calling piratebay, still need a lot of cleanup, but now works. 2017-11-02 15:13:43 +01:00
191458b409 Jackett is now a modualr script that fetches in its own way and returns a list of torrent objects. 2017-11-02 15:13:15 +01:00
9a31f7b441 Our basic config file for jackett and piratebay. Need to set our host and apikey manually. 2017-11-02 15:12:31 +01:00
b981d12061 Moved santize, return_re_match and pagesToCount to utils. 2017-11-01 16:13:50 +01:00
c1c1ca3ad4 Renamed pirate_search to torrent_search 2017-11-01 16:09:06 +01:00