[PR #353] [MERGED] Kinozal improvements #398

Closed
opened 2026-10-13 19:57:00 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/werwolfby/monitorrent/pull/353
Author: @LinFor
Created: 3/22/2021
Status: ✅ Merged
Merged: 4/2/2023
Merged by: @werwolfby

Base: release/1.3.0 ← Head: pr_kinozal


📝 Commits (2)

  • 76917ee Fix kinozal infinite torrent re-downloading for torrents without any updates
  • 1ae8182 Kinozal date_parser improvements

📊 Changes

13 files changed (+1814 additions, -1927 deletions)

View changed files

📝 monitorrent/plugins/trackers/kinozal.py (+19 -9)
📝 tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_for_updated_in_particular_not_changed (+221 -248)
📝 tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_for_updated_in_particular_success (+222 -247)
📝 tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_for_updated_today_success (+211 -215)
📝 tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_for_updated_yesterday_success (+192 -178)
📝 tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_without_updates_success (+154 -184)
📝 tests/cassettes/test_kinozaltracker.TestKinozalTracker.test_get_last_torrent_update_for_updated_in_particular_success (+218 -248)
📝 tests/cassettes/test_kinozaltracker.TestKinozalTracker.test_get_last_torrent_update_for_updated_today_success (+211 -216)
📝 tests/cassettes/test_kinozaltracker.TestKinozalTracker.test_get_last_torrent_update_for_updated_yesterday_success (+194 -179)
📝 tests/cassettes/test_kinozaltracker.TestKinozalTracker.test_get_last_torrent_update_without_updates_success (+154 -184)
📝 tests/plugins/trackers/kinozal/test_kinozalplugin.py (+10 -9)
📝 tests/plugins/trackers/kinozal/test_kinozaltracker.py (+7 -10)
📝 tests/plugins/trackers/kinozal/test_kinozaltracker_dateparser.py (+1 -0)

📄 Description

  1. Добавлен парсинг значения "сейчас" (внезапно, оно встречается).
  2. Изменён парсинг момента последнего изменения торрента - добавлен учёт момента создания если торрент не изменялся.
    Предотвращает постоянное скачивание торрент-файла для проверки изменений в раздачах, которые ещё ни разу не изменялись - соответственно экономит дневной лимит скачиваний на кинопоиске.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/werwolfby/monitorrent/pull/353 **Author:** [@LinFor](https://github.com/LinFor) **Created:** 3/22/2021 **Status:** ✅ Merged **Merged:** 4/2/2023 **Merged by:** [@werwolfby](https://github.com/werwolfby) **Base:** `release/1.3.0` ← **Head:** `pr_kinozal` --- ### 📝 Commits (2) - [`76917ee`](https://github.com/werwolfby/monitorrent/commit/76917eeba22a8d55f9b8e4145a7b73fb4a46bbb2) Fix kinozal infinite torrent re-downloading for torrents without any updates - [`1ae8182`](https://github.com/werwolfby/monitorrent/commit/1ae8182a2032bdc46904b3e6f040733082220896) Kinozal date_parser improvements ### 📊 Changes **13 files changed** (+1814 additions, -1927 deletions) <details> <summary>View changed files</summary> 📝 `monitorrent/plugins/trackers/kinozal.py` (+19 -9) 📝 `tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_for_updated_in_particular_not_changed` (+221 -248) 📝 `tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_for_updated_in_particular_success` (+222 -247) 📝 `tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_for_updated_today_success` (+211 -215) 📝 `tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_for_updated_yesterday_success` (+192 -178) 📝 `tests/cassettes/test_kinozalplugin.KinozalPluginTest.test_get_last_torrent_update_without_updates_success` (+154 -184) 📝 `tests/cassettes/test_kinozaltracker.TestKinozalTracker.test_get_last_torrent_update_for_updated_in_particular_success` (+218 -248) 📝 `tests/cassettes/test_kinozaltracker.TestKinozalTracker.test_get_last_torrent_update_for_updated_today_success` (+211 -216) 📝 `tests/cassettes/test_kinozaltracker.TestKinozalTracker.test_get_last_torrent_update_for_updated_yesterday_success` (+194 -179) 📝 `tests/cassettes/test_kinozaltracker.TestKinozalTracker.test_get_last_torrent_update_without_updates_success` (+154 -184) 📝 `tests/plugins/trackers/kinozal/test_kinozalplugin.py` (+10 -9) 📝 `tests/plugins/trackers/kinozal/test_kinozaltracker.py` (+7 -10) 📝 `tests/plugins/trackers/kinozal/test_kinozaltracker_dateparser.py` (+1 -0) </details> ### 📄 Description 1. Добавлен парсинг значения "сейчас" (внезапно, оно встречается). 2. Изменён парсинг момента последнего изменения торрента - добавлен учёт момента создания если торрент не изменялся. Предотвращает постоянное скачивание торрент-файла для проверки изменений в раздачах, которые ещё ни разу не изменялись - соответственно экономит дневной лимит скачиваний на кинопоиске. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 19:57:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
werwolfby/monitorrent#398
No description provided.