[GH-ISSUE #297] Kinozal.tv error #234

Closed
opened 2026-10-13 19:52:08 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @DryginMax on GitHub (May 7, 2019).
Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/297

Никак не могу настроить работу на зеркало https://kinozal-tv.appspot.com/
Я не програмист, но на какой то старой версии monitorret работало так:

class KinozalTracker(object):
    tracker_settings = None
    login_url = "https://kinozal-tv.appspot.com/takelogin.php"

    profile_page = "https://kinozal-tv.appspot.com/inbox.php"

    url_regex = re.compile(six.text_type(r'^https?://kinozal-tv.appspot\.com/details\.php\?.{9}&id=(\d+)$'))

    last_update_text_re = re.compile(u'^Торрент-файл обновлен\s+(.*)$', re.UNICODE | re.IGNORECASE)

    date_parser = KinozalDateParser()

Сейчас выдает ошибку

Exception while execute topic
Traceback (most recent call last):
  File "C:\monitorrent\monitorrent\plugins\trackers\__init__.py", line 212, in execute
    changed = self.check_changes(topic)

  File "C:\monitorrent\monitorrent\plugins\trackers\kinozal.py", line 278, in check_changes
    last_torrent_update = self.tracker.get_last_torrent_update(topic.url)

  File "C:\monitorrent\monitorrent\plugins\trackers\kinozal.py", line 202, in get_last_torrent_update
    last_update_text_element = content.find('b', text=self.last_update_text_re)

AttributeError: 'NoneType' object has no attribute 'find'

(Ошибка есть на версиях Monitorrent с v.1.1.8 по v.1.1.10)
Да и основная проблема - не добавляются НОВЫЕ раздачи. т.е. не происходит идентификации торрента по добавляемой ссылке!
Что посоветуете?

Originally created by @DryginMax on GitHub (May 7, 2019). Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/297 Никак не могу настроить работу на зеркало https://kinozal-tv.appspot.com/ Я не програмист, но на какой то старой версии monitorret работало так: ``` class KinozalTracker(object): tracker_settings = None login_url = "https://kinozal-tv.appspot.com/takelogin.php" profile_page = "https://kinozal-tv.appspot.com/inbox.php" url_regex = re.compile(six.text_type(r'^https?://kinozal-tv.appspot\.com/details\.php\?.{9}&id=(\d+)$')) last_update_text_re = re.compile(u'^Торрент-файл обновлен\s+(.*)$', re.UNICODE | re.IGNORECASE) date_parser = KinozalDateParser() ``` Сейчас выдает ошибку ```` Exception while execute topic Traceback (most recent call last): File "C:\monitorrent\monitorrent\plugins\trackers\__init__.py", line 212, in execute changed = self.check_changes(topic) File "C:\monitorrent\monitorrent\plugins\trackers\kinozal.py", line 278, in check_changes last_torrent_update = self.tracker.get_last_torrent_update(topic.url) File "C:\monitorrent\monitorrent\plugins\trackers\kinozal.py", line 202, in get_last_torrent_update last_update_text_element = content.find('b', text=self.last_update_text_re) AttributeError: 'NoneType' object has no attribute 'find' ```` (Ошибка есть на версиях Monitorrent с v.1.1.8 по v.1.1.10) Да и основная проблема - не добавляются НОВЫЕ раздачи. т.е. не происходит идентификации торрента по добавляемой ссылке! Что посоветуете?
bsakaguchi 2026-10-13 19:52:08 +00:00
Author
Owner

@werwolfby commented on GitHub (Apr 3, 2023):

Вопрос ещё актуальный? Если да, то переоткройте ишью.

<!-- gh-comment-id:1494933775 --> @werwolfby commented on GitHub (Apr 3, 2023): Вопрос ещё актуальный? Если да, то переоткройте ишью.
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#234
No description provided.