MCPcopy Create free account

hub / github.com/DIYgod/RSSHub / functions

Functions6,223 in github.com/DIYgod/RSSHub

↓ 11,412 callersFunction$
()
lib/utils/common-config.test.ts:7
↓ 3,484 callersFunctionload
(articleURL)
lib/routes-deprecated/vulture/utils.js:4
↓ 2,998 callersFunctionparseDate
(date: string | number | Date, ...options: OptionType[])
lib/utils/parse-date.ts:201
↓ 1,357 callersMethodslice
(a, b)
lib/routes/linkedin/cn/renderer.ts:71
↓ 920 callersFunctiontimezone
(date, timezone = serverTimezone)
lib/utils/timezone.ts:6
↓ 636 callersFunctionlazyloadRouteHandler
(routeHandlerPath)
lib/router.js:8
↓ 282 callersMethodtoString
()
lib/routes/linkedin/cn/renderer.ts:75
↓ 121 callersFunctionfallback
(a, b, c)
lib/utils/readable-social.ts:1
↓ 111 callersFunctionqueryToBoolean
(s)
lib/utils/readable-social.ts:11
↓ 110 callersMethodclose
()
lib/worker.ts:16
↓ 83 callersFunctionparseRelativeDate
(date: string, ...options: OptionType[])
lib/utils/parse-date.ts:288
↓ 52 callersFunctiongetSubPath
(ctx)
lib/utils/common-utils.ts:33
↓ 51 callersFunctionisValidHost
(hostname?: string)
lib/utils/valid-host.ts:6
↓ 47 callersFunctionmd5
(str)
lib/routes/xiaoheihe/util.ts:7
↓ 41 callersFunctionp
(str: string, ...opts: any[])
lib/utils/parse-date.test.ts:33
↓ 33 callersMethodend
()
lib/utils/otel/trace.worker.ts:6
↓ 30 callersFunctionunifyProxy
(proxyUri: Config['proxyUri'] | string, proxyObj: Config['proxy'])
lib/utils/proxy/unify-proxy.ts:7
↓ 27 callersFunctionenosys
()
lib/routes/bilibili/wasm-exec.ts:23
↓ 25 callersFunctionqueryToInteger
(s)
lib/utils/readable-social.ts:25
↓ 24 callersFunctionfinishArticleItem
(item, setMpNameAsAuthor = false, skipLink = false)
lib/utils/wechat-mp.ts:658
↓ 24 callersFunctionsetIfExists
(value)
lib/routes/syosetu/search.ts:41
↓ 23 callersFunctionsanitizeHtml
(pageHtml: string)
lib/routes/elamigos/index.ts:114
↓ 21 callersFunctionnextNode
(nodes)
lib/routes/bloomberg/utils.ts:579
↓ 20 callersFunctiongetPlaywrightPage
( url: string, instanceOptions: { closeTimeout?: number; gotoConfig?: GotoOptions;
lib/utils/playwright.ts:133
↓ 20 callersMethodsubstring
(start, end)
lib/routes/linkedin/cn/renderer.ts:57
↓ 18 callersFunctionnext
()
lib/middleware/trace.test.ts:18
↓ 18 callersFunctiontest
({ github, context, core }, baseUrl, routes, number)
scripts/workflow/test-route/test.mjs:13
↓ 17 callersFunctionwait
(ms: number)
lib/utils/wait.ts:1
↓ 15 callersFunctionbuildData
(data)
lib/utils/common-config.ts:46
↓ 15 callersFunctionfetchArticle
(url: string, bypassHostCheck: boolean = false)
lib/utils/wechat-mp.ts:621
↓ 15 callersFunctionpacProxy
(pacUri: Config['pacUri'], pacScript: Config['pacScript'], proxyObj: Config['proxy'])
lib/utils/proxy/pac-proxy.ts:6
↓ 15 callersFunctionprocessImage
(content: string)
lib/routes/zhihu/utils.ts:16
↓ 15 callersFunctiontoInt
(value: string | undefined, defaultValue?: number)
lib/config.ts:725
↓ 14 callersMethodon
(event: string, listener: (...args: any[]) => void)
lib/utils/cache/redis.test.ts:19
↓ 14 callersFunctiontoBoolean
(value: string | undefined, defaultValue: boolean)
lib/config.ts:718
↓ 13 callersFunctionfixArticleContent
(html?: string | Cheerio<Element>, skipImg = false)
lib/utils/wechat-mp.ts:349
↓ 13 callersFunctiongetRootUrl
(isIntl = false)
lib/routes/taptap/utils.tsx:11
↓ 13 callersFunctionnormalizeUrl
(url: string, bypassHostCheck = false)
lib/utils/wechat-mp.ts:434
↓ 12 callersFunctioncollapseWhitespace
(str?: string | null)
lib/utils/common-utils.ts:15
↓ 12 callersFunctionconvertDateToISO8601
(date?: string | Date | number | null)
lib/utils/common-utils.ts:22
↓ 12 callersFunctiongetHeaders
()
lib/routes/smzdm/utils.ts:3
↓ 12 callersFunctiongetMeta
(metaObject, key)
lib/routes/whu/util.ts:35
↓ 12 callersMethodmatcher
(text: string)
lib/middleware/parameter-re2.test.ts:16
↓ 12 callersFunctionrotateLeft32
(e, r)
lib/routes/toutiao/a-bogus.ts:41
↓ 11 callersFunctioneffectiveExpect
({ proxyUri, proxyObj }, expectUri, expectObj)
lib/utils/proxy/pac-proxy.test.ts:13
↓ 11 callersFunctionparseCookieArray
(cookies, domainFilter?: string | RegExp)
lib/utils/playwright-utils.ts:8
↓ 11 callersFunctionparseLinkData
($: CheerioAPI)
lib/routes/cfr/utils.ts:233
↓ 11 callersFunctionutils
(ctx, currentUrl)
lib/routes/sobooks/utils.ts:7
↓ 10 callersFunctionProcessItems
(language, currentUrl)
lib/routes/javlibrary/utils.tsx:36
↓ 10 callersFunctionfindBlocksByType
(blocks: Block[] | undefined, type: string)
lib/routes/bbc/utils.tsx:170
↓ 10 callersFunctiongenScriptHtmlStr
(script: string)
lib/utils/wechat-mp.test.ts:37
↓ 10 callersFunctiongetItems
(data)
lib/routes/publico/items-processor.ts:1
↓ 10 callersFunctiongetProp
(data, prop, $)
lib/utils/common-config.ts:34
↓ 10 callersFunctionparseDuration
(timeStr: string | undefined | null)
lib/utils/helpers.ts:50
↓ 10 callersFunctionrenderHTML
(json)
lib/routes/gocn/utils.ts:21
↓ 9 callersFunctionaddIndentedTag
(state: ListProcessorState, tag: string)
lib/routes/wikipedia/current-events.ts:114
↓ 9 callersFunctioncamelcaseKeys
(obj: any)
lib/utils/camelcase-keys.ts:8
↓ 9 callersFunctioneffectiveExpect
({ proxyUri, proxyObj }, expectUri, expectObj)
lib/utils/proxy/unify-proxy.test.ts:13
↓ 9 callersFunctiongatherLegacyFromData
(entries: any[], filterNested?: string[], userId?: number | string)
lib/routes/twitter/api/web-api/utils.ts:321
↓ 9 callersMethodgetHeaders
()
lib/utils/header-generator.mock.test.ts:15
↓ 9 callersFunctionmakeRegex
(str: string)
lib/middleware/parameter.ts:185
↓ 9 callersFunctionogpImage
(article)
lib/routes-deprecated/touhougarakuta/json2html.js:81
↓ 9 callersFunctionpaginationTweets
(endpoint: string, userId: number | undefined, variables: Record<string, any>, path?: string[])
lib/routes/twitter/api/web-api/utils.ts:249
↓ 9 callersFunctionpost
(requestPath: string, accessToken = md5(Date.now().toString()), payload?: any)
lib/routes/showstart/utils.ts:39
↓ 9 callersFunctionresolve
(...pathSegments)
lib/routes/bilibili/wasm-exec.ts:155
↓ 9 callersFunctiontestFetchArticleFinishArticleItem
(path: string, { setMpNameAsAuthor = false, skipLink = false } = {})
lib/utils/wechat-mp.test.ts:44
↓ 8 callersFunctionProcessFeed
(list)
lib/routes/juejin/utils.ts:94
↓ 8 callersFunctionbuildHuxiuRouteTitlePrefix
(routeName: string)
lib/routes/huxiu/util.ts:101
↓ 8 callersFunctioncreateCtx
(query: Record<string, string | undefined>, data: any, extra: Record<string, unknown> = {})
lib/middleware/template.test.ts:6
↓ 8 callersFunctionexpectImgOrigin
(query?: string | Record<string, any>)
lib/middleware/anti-hotlink.test.ts:308
↓ 8 callersFunctionextractText
(blocks?: Block[])
lib/routes/bbc/utils.tsx:71
↓ 8 callersFunctionfetch
(address)
lib/routes/csu/cse.ts:8
↓ 8 callersFunctionfetchCollection
(collectionSlug: string, customUrl?: string, skipFirstItem: boolean = false)
lib/routes/newslaundry/utils.tsx:10
↓ 8 callersFunctionformatMessage
(level: string, message: string)
lib/utils/logger.worker.ts:24
↓ 8 callersFunctiongdgov
(info, ctx)
lib/routes/gov/general/general.ts:47
↓ 8 callersFunctiongenerateHeaders
(preset: Partial<HeaderGeneratorOptions> = PRESETS.MODERN_MACOS_CHROME)
lib/utils/header-generator.ts:36
↓ 8 callersFunctiongetAccessToken
()
lib/routes/showstart/utils.ts:32
↓ 8 callersFunctiongetAppClient
()
lib/routes/twitter/api/developer-api/api.ts:61
↓ 8 callersFunctiongetContent
(url, pptr = false)
lib/routes/njust/utils.ts:4
↓ 8 callersFunctiongetSignedHeader
(url: string, apiPath: string)
lib/routes/zhihu/utils.ts:68
↓ 8 callersFunctionhttpExpect
(unified)
lib/utils/proxy/unify-proxy.test.ts:51
↓ 8 callersFunctionparse
(url, cookie = '')
lib/routes/medium/parse-article.ts:7
↓ 8 callersFunctionparseList
(data)
lib/routes/juejin/utils.ts:66
↓ 8 callersFunctionprocessItems
(limit: number, query: any, apiUrl: string, targetUrl: string)
lib/routes/gcores/util.ts:17
↓ 8 callersFunctionqueryToFloat
(s)
lib/utils/readable-social.ts:39
↓ 8 callersFunctionrunMiddleware
(data: any, query: Record<string, string | undefined>)
lib/middleware/parameter-branches.test.ts:9
↓ 7 callersFunctionProcessItems
(apiUrl)
lib/routes/yicai/utils.ts:12
↓ 7 callersFunctionattrValue
(node: TagNodeObject)
lib/routes/nga/post.ts:13
↓ 7 callersFunctionc3
(v)
lib/routes/xiaoheihe/util.ts:25
↓ 7 callersFunctioncheckConfig
()
lib/routes/sdo/ff14risingstones/utils.tsx:113
↓ 7 callersFunctionexpectImgProcessed
(query?: string | Record<string, any>)
lib/middleware/anti-hotlink.test.ts:312
↓ 7 callersFunctiongenWeChatMpPage
(rich_media_content: string, scripts: string[] | string)
lib/setup.test.ts:6
↓ 7 callersFunctiongenerateNonce
(length = 8, type = 'alphabet')
lib/routes/dxy/utils.ts:14
↓ 7 callersFunctiongetCookieValueByKey
(key: string)
lib/routes/zhihu/utils.ts:61
↓ 7 callersFunctiongetCookies
(page, domainFilter?: string)
lib/utils/playwright-utils.ts:53
↓ 7 callersFunctiongetLastWeekday
(targetDay: number)
lib/utils/parse-date.ts:83
↓ 7 callersFunctiongetPlurk
(plurkGuid, item, author)
lib/routes/plurk/utils.ts:31
↓ 7 callersFunctiongetToken
()
lib/routes/pixiv/token.ts:35
↓ 7 callersFunctionkeyFor
(filePath: string)
lib/utils/directory-import.test.ts:43
↓ 7 callersFunctionloadPlaywright
()
lib/utils/playwright.test.ts:46
next →1–100 of 6,223, ranked by callers