Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TNK-Studio/zh-independent-blog-research
/ functions
Functions
57 in github.com/TNK-Studio/zh-independent-blog-research
⨍
Functions
57
◇
Types & classes
6
↓ 6 callers
Function
rm_slash
(url)
utils.py:74
↓ 4 callers
Method
to_data
(self)
site_feature.py:152
↓ 4 callers
Method
url_trans
(self, url)
site_feature.py:40
↓ 3 callers
Function
computeGraph
(domain, depth = 2)
site/src/Context.js:38
↓ 3 callers
Function
get_data
(urls, is_zh_i9t_blog=False)
is_site_a_zh_i9t_blog/fetch_data.py:28
↓ 3 callers
Method
save_to_file
(self, f)
schema.py:45
↓ 2 callers
Function
get_url_html
(url)
get.py:54
↓ 2 callers
Function
learn
()
is_site_a_zh_i9t_blog/is_zh_i9t_blog.py:17
↓ 2 callers
Function
registerValidSW
(swUrl, config)
site/src/serviceWorker.js:57
↓ 1 callers
Function
addData2Graph
(domain, depth)
site/src/Context.js:53
↓ 1 callers
Function
app
(unlimit=False)
app.py:13
↓ 1 callers
Function
checkValidServiceWorker
(swUrl, config)
site/src/serviceWorker.js:101
↓ 1 callers
Method
clean_run_status
如果 pass_domian 漏掉了某些 domain,后续的队列中可能出现一些需要过滤 domain 的站点。 为了提高效率,统一在此清理数据,而不是在抓取数据前作判断。
clean_data.py:21
↓ 1 callers
Method
clear_pass_domain_data
清理已经爬取的 pass_domain 的站点数据
clean_data.py:11
↓ 1 callers
Method
fix_q
修复异常情况导致下队列丢失的问题
clean_data.py:39
↓ 1 callers
Function
get_data
(urls)
get.py:34
↓ 1 callers
Function
get_frineds_and_res
找到给定 url 的友情链接列表,返回 {r,url,friends}
get.py:85
↓ 1 callers
Function
get_frineds_and_res
找到给定 url 的友情链接列表,返回友链 & 友链页面 html
is_site_a_zh_i9t_blog/fetch_data.py:57
↓ 1 callers
Function
get_frineds_page_link
在首页的 html 中,查询最有可能是友链的页面链接。如果友链内容嵌入在首页中则无法获取。
get.py:69
↓ 1 callers
Function
get_url_html
(url)
is_site_a_zh_i9t_blog/fetch_data.py:41
↓ 1 callers
Function
geuss_link_url
猜测给定 url 的友链地址
utils.py:57
↓ 1 callers
Function
has_url_html_been_fetched
(url)
utils.py:52
↓ 1 callers
Function
is_zh_i9t_blog
(data)
is_site_a_zh_i9t_blog/is_zh_i9t_blog.py:34
↓ 1 callers
Function
parse_data
添加新的考察特征时,从缓存的 html 中获取数据,更新到站点数据中。
parse_data.py:28
↓ 1 callers
Function
queryBlog
(q)
site/src/Context.js:23
↓ 1 callers
Method
save_data_to_file
(self)
site_feature.py:169
↓ 1 callers
Function
save_html
(domain, html)
get.py:28
↓ 1 callers
Function
save_html
(domain, html)
is_site_a_zh_i9t_blog/fetch_data.py:22
↓ 1 callers
Function
task
(q, bloom, batch_size)
task.py:15
↓ 1 callers
Function
test_blog
(feature: dict)
utils.py:29
↓ 1 callers
Function
to_graphql_data
()
get_graph_data.py:17
↓ 1 callers
Function
to_json_data
()
get_graph_data.py:5
↓ 1 callers
Function
url_trans
(base_url, url: str)
utils.py:45
Function
AlignItemsList
()
site/src/components/SearchList.js:27
Function
AppReducer
(state, action)
site/src/Context.js:110
Function
NetworkGraph
()
site/src/components/Graph.js:7
Method
__init__
(self, path)
clean_data.py:7
Method
__init__
(self)
get_analytics.py:8
Method
__init__
(self, url, r, friends, is_zh_i9t_blog=True)
site_feature.py:33
Method
__post_init__
(self)
schema.py:41
Method
description
(self)
site_feature.py:64
Method
domain
(self)
site_feature.py:44
Function
f
()
get.py:55
Function
f
()
is_site_a_zh_i9t_blog/fetch_data.py:42
Method
feature
(self)
site_feature.py:139
Method
generator
(self)
site_feature.py:127
Method
icon
(self)
site_feature.py:111
Function
main
()
is_site_a_zh_i9t_blog/fetch_data.py:111
Method
name
(self)
site_feature.py:56
Method
pie_dtl
获取域名后缀占比
get_analytics.py:12
Method
pie_generator
获取生成器占比
get_analytics.py:18
Function
recovery_data
parse_data.py:17
Function
register
(config)
site/src/serviceWorker.js:23
Method
rss
(self)
site_feature.py:71
Method
sld
(self)
site_feature.py:52
Method
tld
(self)
site_feature.py:48
Function
unregister
()
site/src/serviceWorker.js:129