MCPcopy Create free account

hub / github.com/LogicJake/WebMonitor / functions

Functions87 in github.com/LogicJake/WebMonitor

↓ 32 callersFunctionis_changed
(rules, content, last_content)
task/utils/rule.py:144
↓ 10 callersMethodsave
(self, *args, **kwargs)
task/models.py:162
↓ 9 callersMethoddelete
(self, *args, **kwargs)
task/models.py:188
↓ 7 callersFunctionnew_handler
(name)
task/utils/notification/notification_handler.py:13
↓ 7 callersMethodsend
(self, to, header, content)
task/utils/notification/notification.py:15
↓ 6 callersFunctionadd_job
(id, interval, type='html')
task/utils/scheduler.py:204
↓ 6 callersFunctionremove_job
(id, type='html')
task/utils/scheduler.py:226
↓ 4 callersMethodsave
(self, *args, **kwargs)
task/models.py:71
↓ 3 callersFunctionextract_by_re
(conetnt, regular_expression)
task/utils/extract_info.py:12
↓ 3 callersMethodget_html
(self, url, headers)
task/utils/selector/request_selector.py:12
↓ 3 callersMethodget_html
(self, url, headers)
task/utils/selector/phantomjs_selector.py:17
↓ 3 callersFunctionsend_message
(content, header, notifications)
task/utils/scheduler.py:31
↓ 2 callersMethodcss_parse
(self, html, css_ext)
task/utils/selector/selector.py:32
↓ 2 callersMethodjson_parse
(self, html, json_ext)
task/utils/selector/selector.py:40
↓ 2 callersFunctionnew_handler
(name, debug=False)
task/utils/selector/selector_handler.py:12
↓ 2 callersMethodxpath_parse
(self, html, xpath_ext)
task/utils/selector/selector.py:18
↓ 1 callersFunctiongetUrlQuery
Extract the first URL in the content with format of '?url=URL', return '' if none URL found.
task/utils/notification/bark_notification.py:12
↓ 1 callersMethodget_by_css
(self)
task/utils/selector/selector.py:58
↓ 1 callersMethodget_by_json
(self)
task/utils/selector/selector.py:62
↓ 1 callersMethodget_by_xpath
(self)
task/utils/selector/selector.py:54
↓ 1 callersFunctionget_content
(url, is_chrome, selector_type, selector, cont
task/utils/extract_info.py:36
↓ 1 callersFunctionget_rss_content
(url)
task/utils/extract_info.py:84
↓ 1 callersFunctionlog_view
(request)
setting/views.py:6
↓ 1 callersFunctionmain
()
manage.py:7
↓ 1 callersFunctionwrap_template_content
(content_dict, content_template)
task/utils/extract_info.py:24
↓ 1 callersFunctionwraper_rss_msg
(item)
task/utils/scheduler.py:23
Method__init__
(self)
task/utils/notification/pushover_notification.py:14
Method__init__
(self)
task/utils/notification/slack_notification.py:13
Method__init__
(self)
task/utils/notification/telegram_notification.py:13
Method__init__
(self)
task/utils/notification/mail_notification.py:14
Method__init__
(self, debug=False)
task/utils/selector/request_selector.py:9
Method__init__
(self, debug=False)
task/utils/selector/phantomjs_selector.py:14
Method__str__
(self)
task/models.py:68
Method__str__
(self)
task/models.py:159
Method__str__
(self)
task/models.py:224
Method__str__
(self)
setting/models.py:27
Method__str__
(self)
setting/models.py:40
Method__str__
(self)
setting/models.py:66
Method__str__
(self)
setting/models.py:85
Method__str__
(self)
setting/models.py:98
Methodadd_arguments
(self, parser)
setting/management/commands/initadmin.py:6
Methodchangelist_view
(self, request, extra_content=None)
setting/admin.py:82
Methodcustom_button
(self, request, queryset)
setting/admin.py:51
Methoddelete
(self, *args, **kwargs)
task/models.py:254
Methodget_by_css
(self, url, selector_dict, headers=None)
task/utils/selector/request_selector.py:34
Methodget_by_css
(self, url, selector_dict, headers=None)
task/utils/selector/phantomjs_selector.py:56
Methodget_by_json
(self, url, selector_dict, headers=None)
task/utils/selector/request_selector.py:43
Methodget_by_json
(self, url, selector_dict, headers=None)
task/utils/selector/phantomjs_selector.py:65
Methodget_by_xpath
(self, url, selector_dict, headers=None)
task/utils/selector/request_selector.py:25
Methodget_by_xpath
(self, url, selector_dict, headers=None)
task/utils/selector/phantomjs_selector.py:47
Methodhandle
(self, *args, **options)
setting/management/commands/initadmin.py:10
Methodhas_add_permission
(self, request)
task/admin.py:25
Methodhas_delete_permission
(self, request, obj=None)
task/admin.py:28
Methodhas_delete_permission
(self, request, obj=None)
task/admin.py:55
Methodhas_delete_permission
(self, request, obj=None)
task/admin.py:97
Functionmonitor
(id, type)
task/utils/scheduler.py:112
Functionparse_contain
新内容中是否包含某个字符串 -contain 上架
task/utils/rule.py:16
Functionparse_decrease
相较于旧值,数值减少超过阈值 -decrease 3 content, last_content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:54
Functionparse_equal
数值等于某个值 -equal 3 content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:77
Functionparse_increase
相较于旧值,数值增长超过阈值 -increase 3 content, last_content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:31
Functionparse_less
数值小于某个值 -less 3 content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:96
Functionparse_more
数值大于某个值 -less 3 content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:115
Functionparse_without
新内容中是否不包含某个字符串 -without 上架
task/utils/rule.py:1
Functionping
()
task/views.py:8
Methodredefine_delete_selected
(self, request, obj)
task/admin.py:58
Methodredefine_delete_selected
(self, request, obj)
task/admin.py:100
Methodsave
(self, *args, **kwargs)
task/models.py:227
Methodsend
(self, to, header, content)
task/utils/notification/pushover_notification.py:24
Methodsend
(self, to, header, content)
task/utils/notification/bark_notification.py:26
Methodsend
(self, to, header, content)
task/utils/notification/custom_notification.py:13
Methodsend
(self, to, header, content)
task/utils/notification/slack_notification.py:23
Methodsend
(self, to, header, content)
task/utils/notification/telegram_notification.py:23
Methodsend
(self, to, header, content)
task/utils/notification/wechat_notification.py:13
Methodsend
(self, to, header, content)
task/utils/notification/mail_notification.py:28
Methodshort_last_status
(self)
task/models.py:91
Methodtest_contains
(self)
tests/test_rule.py:26
Methodtest_decrease
(self)
tests/test_rule.py:77
Methodtest_equal
(self)
tests/test_rule.py:102
Methodtest_increase
(self)
tests/test_rule.py:52
Methodtest_last_content_empty
(self)
tests/test_rule.py:6
Methodtest_less
(self)
tests/test_rule.py:121
Methodtest_more
(self)
tests/test_rule.py:140
Methodtest_multi_rules
(self)
tests/test_rule.py:159
Methodtest_no_rule
(self)
tests/test_rule.py:13
Methodtest_re1
(self)
tests/test_extract_info.py:6
Methodtest_re2
(self)
tests/test_extract_info.py:12
Methodtest_without
(self)
tests/test_rule.py:39