Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Предварительная фильтрация торрентов #49

Closed
CoderFF opened this issue Jul 17, 2018 · 3 comments
Closed
Assignees
Labels
feature New feature or request

Comments

@CoderFF
Copy link

CoderFF commented Jul 17, 2018

Предложение, запилить предварительную фильтрацию торрентов, чтобы можно было настроить запрет на индексацию торрентов меньше определенного размера, или по типу содержимого.

Поясняю, у меня сейчас в базе ~300k торрентов, при этом меня, в общем-то, не интересует ничего кроме видео, плюс навряд ли интересны торренты размером меньше 1,37ГБ

Посмотрел содержимое базы, там 70% торрентов меньше 1ГБ, а если по файлам, так думаю вообще. Очень много каких-то PDF, стрёмных книжек, при том размер базы уже переваливает за 1ГБ, страшно становится!

Есть много торрентов с японским и корейским названием, не так, чтобы очень, но процентов 5-10 есть. Их вообще не вижу смысла индексировать.

Предварительная фильтрация могла бы решить массу проблем.
Я готов взяться за реализацию, не без подсказок, конечно.

@DEgITx DEgITx added the feature New feature or request label Jul 17, 2018
@DEgITx
Copy link
Owner

DEgITx commented Jul 17, 2018

там есть предварительная фильтрация, для ограничение по количеству файлов и именам, в частности есть пример для иероглифов как обрубить
нету по размерам и типу - мне казалась она слишком жесткой, но можно добавить

@DEgITx DEgITx self-assigned this Jul 17, 2018
@CoderFF
Copy link
Author

CoderFF commented Jul 17, 2018

Вижу, spider::checkTorrent()
ОК, тогда запилю вначале фильтр по размеру, а с остальным пока интерфейс проработаю.

@DEgITx
Copy link
Owner

DEgITx commented Jul 18, 2018

Я уже сам взялся, тут на самом деле несложная таска, если будешь что-то брать, ты говори, я буду ставить (или сам есть возможно) в assignees тебя, тогда буду другие вещи трогать

DEgITx added a commit that referenced this issue Jul 18, 2018
@DEgITx DEgITx closed this as completed Jul 18, 2018
DEgITx pushed a commit that referenced this issue Jul 19, 2018
# [0.25.0](v0.24.0...v0.25.0) (2018-07-19)

### Bug Fixes

* **bootstrap:** parallel bootstrap saving ([908163e](908163e))
* **feed:** feed error ordering resolved ([a442964](a442964))
* **feed:** fix feed synchronization ([d602003](d602003))
* **network:** fix network availability detection [#45](#45) ([5be36fa](5be36fa))
* **scroll:** fix jolting on menu clicks ([d429b8a](d429b8a))
* **web:** set default nodejs version 8 for web version ([743b27b](743b27b))

### Features

* **filters:** add size filter ([1e941f5](1e941f5))
* **filters:** content type filters [#49](#49) ([785dc7c](785dc7c))
* **p2p:** information about feed ([37ff661](37ff661))
* **portative:** display message about update in portative version [#41](#41) ([a89c390](a89c390))
* **scroll:** smaller scrollbar for more comport view ([25a2aae](25a2aae))

### Performance Improvements

* **torrents:** optimization files saving ([a84f8c7](a84f8c7))
DEgITx added a commit that referenced this issue Jun 1, 2023
DEgITx pushed a commit that referenced this issue Jun 1, 2023
# [0.25.0](v0.24.0...v0.25.0) (2018-07-19)

### Bug Fixes

* **bootstrap:** parallel bootstrap saving ([908163e](908163e))
* **feed:** feed error ordering resolved ([a442964](a442964))
* **feed:** fix feed synchronization ([d602003](d602003))
* **network:** fix network availability detection [#45](#45) ([5be36fa](5be36fa))
* **scroll:** fix jolting on menu clicks ([d429b8a](d429b8a))
* **web:** set default nodejs version 8 for web version ([743b27b](743b27b))

### Features

* **filters:** add size filter ([1e941f5](1e941f5))
* **filters:** content type filters [#49](#49) ([785dc7c](785dc7c))
* **p2p:** information about feed ([37ff661](37ff661))
* **portative:** display message about update in portative version [#41](#41) ([a89c390](a89c390))
* **scroll:** smaller scrollbar for more comport view ([25a2aae](25a2aae))

### Performance Improvements

* **torrents:** optimization files saving ([a84f8c7](a84f8c7))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants