Skip to content

Commit

Permalink
Big rewrite - distributed consumers for ingestion / scraping(scalable…
Browse files Browse the repository at this point in the history
…) - single producer written in c#.

Changed from page scraping to rss xml scraping
Includes RealDebridManager hashlist decoding (requires a github readonly PAT as requests must be authenticated) - This allows ingestion of 200k+ entries in a few hours.
Simplifies a lot of torrentio to deal with new data
  • Loading branch information
iPromKnight committed Feb 1, 2024
1 parent 6fb4ddc commit ab17ef8
Show file tree
Hide file tree
Showing 255 changed files with 18,490 additions and 69,075 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/.idea
**/node_modules
**.env
.now
/scraper/manual/examples.js
.DS_Store
.idea

8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@
```
docker-compose up -d
```
Then open your browser to `127.0.0.1:7000`
Then open your browser to `127.0.0.1:7000`

If you'd like to enable crawling of RealDebridManager's shared hashlists which will massively boost your database cached entries,
enter a readonly github personal access token in 'env/producer.env' as the 'GithubSettings__PAT=<token_here>' value.

You can scale the number of consumers, by changing the consumer deploy replica count in the compose file on line 87. This is currently set to 3.
If you'd like to adjust the number of concurrent processed ingestions per consumer, thats the job concurrency setting within 'env/consumer.env'.
12 changes: 0 additions & 12 deletions addon/Dockerfile

This file was deleted.

82 changes: 0 additions & 82 deletions addon/lib/configuration.js

This file was deleted.

11 changes: 0 additions & 11 deletions addon/lib/namedQueue.js

This file was deleted.

128 changes: 0 additions & 128 deletions addon/lib/sort.js

This file was deleted.

3 changes: 0 additions & 3 deletions catalogs/.dockerignore

This file was deleted.

12 changes: 0 additions & 12 deletions catalogs/Dockerfile

This file was deleted.

99 changes: 0 additions & 99 deletions catalogs/addon.js

This file was deleted.

9 changes: 0 additions & 9 deletions catalogs/index.js

This file was deleted.

Loading

0 comments on commit ab17ef8

Please sign in to comment.