Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LogicJake/WebMonitor
/ functions
Functions
87 in github.com/LogicJake/WebMonitor
⨍
Functions
87
◇
Types & classes
73
↓ 32 callers
Function
is_changed
(rules, content, last_content)
task/utils/rule.py:144
↓ 10 callers
Method
save
(self, *args, **kwargs)
task/models.py:162
↓ 9 callers
Method
delete
(self, *args, **kwargs)
task/models.py:188
↓ 7 callers
Function
new_handler
(name)
task/utils/notification/notification_handler.py:13
↓ 7 callers
Method
send
(self, to, header, content)
task/utils/notification/notification.py:15
↓ 6 callers
Function
add_job
(id, interval, type='html')
task/utils/scheduler.py:204
↓ 6 callers
Function
remove_job
(id, type='html')
task/utils/scheduler.py:226
↓ 4 callers
Method
save
(self, *args, **kwargs)
task/models.py:71
↓ 3 callers
Function
extract_by_re
(conetnt, regular_expression)
task/utils/extract_info.py:12
↓ 3 callers
Method
get_html
(self, url, headers)
task/utils/selector/request_selector.py:12
↓ 3 callers
Method
get_html
(self, url, headers)
task/utils/selector/phantomjs_selector.py:17
↓ 3 callers
Function
send_message
(content, header, notifications)
task/utils/scheduler.py:31
↓ 2 callers
Method
css_parse
(self, html, css_ext)
task/utils/selector/selector.py:32
↓ 2 callers
Method
json_parse
(self, html, json_ext)
task/utils/selector/selector.py:40
↓ 2 callers
Function
new_handler
(name, debug=False)
task/utils/selector/selector_handler.py:12
↓ 2 callers
Method
xpath_parse
(self, html, xpath_ext)
task/utils/selector/selector.py:18
↓ 1 callers
Function
getUrlQuery
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 callers
Method
get_by_css
(self)
task/utils/selector/selector.py:58
↓ 1 callers
Method
get_by_json
(self)
task/utils/selector/selector.py:62
↓ 1 callers
Method
get_by_xpath
(self)
task/utils/selector/selector.py:54
↓ 1 callers
Function
get_content
(url, is_chrome, selector_type, selector, cont
task/utils/extract_info.py:36
↓ 1 callers
Function
get_rss_content
(url)
task/utils/extract_info.py:84
↓ 1 callers
Function
log_view
(request)
setting/views.py:6
↓ 1 callers
Function
main
()
manage.py:7
↓ 1 callers
Function
wrap_template_content
(content_dict, content_template)
task/utils/extract_info.py:24
↓ 1 callers
Function
wraper_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
Method
add_arguments
(self, parser)
setting/management/commands/initadmin.py:6
Method
changelist_view
(self, request, extra_content=None)
setting/admin.py:82
Method
custom_button
(self, request, queryset)
setting/admin.py:51
Method
delete
(self, *args, **kwargs)
task/models.py:254
Method
get_by_css
(self, url, selector_dict, headers=None)
task/utils/selector/request_selector.py:34
Method
get_by_css
(self, url, selector_dict, headers=None)
task/utils/selector/phantomjs_selector.py:56
Method
get_by_json
(self, url, selector_dict, headers=None)
task/utils/selector/request_selector.py:43
Method
get_by_json
(self, url, selector_dict, headers=None)
task/utils/selector/phantomjs_selector.py:65
Method
get_by_xpath
(self, url, selector_dict, headers=None)
task/utils/selector/request_selector.py:25
Method
get_by_xpath
(self, url, selector_dict, headers=None)
task/utils/selector/phantomjs_selector.py:47
Method
handle
(self, *args, **options)
setting/management/commands/initadmin.py:10
Method
has_add_permission
(self, request)
task/admin.py:25
Method
has_delete_permission
(self, request, obj=None)
task/admin.py:28
Method
has_delete_permission
(self, request, obj=None)
task/admin.py:55
Method
has_delete_permission
(self, request, obj=None)
task/admin.py:97
Function
monitor
(id, type)
task/utils/scheduler.py:112
Function
parse_contain
新内容中是否包含某个字符串 -contain 上架
task/utils/rule.py:16
Function
parse_decrease
相较于旧值,数值减少超过阈值 -decrease 3 content, last_content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:54
Function
parse_equal
数值等于某个值 -equal 3 content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:77
Function
parse_increase
相较于旧值,数值增长超过阈值 -increase 3 content, last_content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:31
Function
parse_less
数值小于某个值 -less 3 content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:96
Function
parse_more
数值大于某个值 -less 3 content和参数值都应该为数值型,否则会抛出异常
task/utils/rule.py:115
Function
parse_without
新内容中是否不包含某个字符串 -without 上架
task/utils/rule.py:1
Function
ping
()
task/views.py:8
Method
redefine_delete_selected
(self, request, obj)
task/admin.py:58
Method
redefine_delete_selected
(self, request, obj)
task/admin.py:100
Method
save
(self, *args, **kwargs)
task/models.py:227
Method
send
(self, to, header, content)
task/utils/notification/pushover_notification.py:24
Method
send
(self, to, header, content)
task/utils/notification/bark_notification.py:26
Method
send
(self, to, header, content)
task/utils/notification/custom_notification.py:13
Method
send
(self, to, header, content)
task/utils/notification/slack_notification.py:23
Method
send
(self, to, header, content)
task/utils/notification/telegram_notification.py:23
Method
send
(self, to, header, content)
task/utils/notification/wechat_notification.py:13
Method
send
(self, to, header, content)
task/utils/notification/mail_notification.py:28
Method
short_last_status
(self)
task/models.py:91
Method
test_contains
(self)
tests/test_rule.py:26
Method
test_decrease
(self)
tests/test_rule.py:77
Method
test_equal
(self)
tests/test_rule.py:102
Method
test_increase
(self)
tests/test_rule.py:52
Method
test_last_content_empty
(self)
tests/test_rule.py:6
Method
test_less
(self)
tests/test_rule.py:121
Method
test_more
(self)
tests/test_rule.py:140
Method
test_multi_rules
(self)
tests/test_rule.py:159
Method
test_no_rule
(self)
tests/test_rule.py:13
Method
test_re1
(self)
tests/test_extract_info.py:6
Method
test_re2
(self)
tests/test_extract_info.py:12
Method
test_without
(self)
tests/test_rule.py:39