MCPcopy Create free account

hub / github.com/Egor3f/rssalchemy / functions

Functions143 in github.com/Egor3f/rssalchemy

↓ 10 callersFunctionpwDuration
pwDuration converts string like "10s" to milliseconds float64 pointer needed for Playwright timeouts (wtf? why they don't use normal Durations?)
internal/extractors/pwextractor/utils.go:28
↓ 9 callersMethodFirst
()
internal/extractors/pwextractor/pageparser.go:187
↓ 9 callersMethodGet
(key string)
internal/adapters/adapters.go:16
↓ 9 callersMethodString
()
internal/extractors/pwextractor/pageparser.go:171
↓ 9 callersFunctionnewLocator
(parent playwright.Locator, selector string)
internal/extractors/pwextractor/pageparser.go:164
↓ 5 callersMethodGetAttribute
(name string)
internal/extractors/pwextractor/pageparser.go:203
↓ 5 callersMethodString
()
internal/api/http/pb/specs.pb.go:96
↓ 4 callersMethodCacheKey
()
internal/models/models.go:40
↓ 4 callersMethodInnerText
()
internal/extractors/pwextractor/pageparser.go:191
↓ 4 callersFunctionParseCookieHeader
(cookieStr string)
internal/cookiemgr/utils.go:10
↓ 4 callersMethodStop
()
internal/extractors/pwextractor/pwextractor.go:91
↓ 4 callersFunctiongetIPs
getIPs from url, hostname, ip string result slice len always > 0 if error is nil
internal/extractors/pwextractor/utils.go:92
↓ 3 callersFunctionRead
()
internal/config/config.go:35
↓ 3 callersMethodSet
(key string, payload []byte)
internal/adapters/adapters.go:17
↓ 3 callersFunctionabsUrl
(link string, page playwright.Page)
internal/extractors/pwextractor/utils.go:14
↓ 3 callersMethodcheckVisible
()
internal/extractors/pwextractor/pageparser.go:175
↓ 3 callersMethodparse
()
internal/extractors/pwextractor/pageparser.go:27
↓ 2 callersMethodEnqueue
(ctx context.Context, key string, payload []byte)
internal/adapters/adapters.go:10
↓ 2 callersMethodExtract
(task models.Task)
internal/extractors/pwextractor/pwextractor.go:308
↓ 2 callersMethodLimit
(ctx context.Context, key string)
internal/limiter/limiter.go:12
↓ 2 callersFunctionNew
(natsc *nats.Conn, streamName string)
internal/adapters/natsadapter/natsadapter.go:25
↓ 2 callersFunctionNew
(cfg Config)
internal/extractors/pwextractor/pwextractor.go:48
↓ 2 callersMethodScreenshot
(task models.Task)
internal/extractors/pwextractor/pwextractor.go:325
↓ 2 callersFunctionallowAdblock
(url *url.URL, sourceUrl *url.URL)
internal/extractors/pwextractor/adblock.go:42
↓ 2 callersMethodallowHost
(rawUrl string)
internal/extractors/pwextractor/pwextractor.go:292
↓ 2 callersMethodcheckRateLimit
(c echo.Context)
internal/api/http/handler.go:190
↓ 2 callersFunctiondecodeSpecsPart
(encodedData: string)
frontend/wizard-vue/src/urlmaker/index.ts:27
↓ 2 callersFunctiondecompress
(buf: Uint8Array)
frontend/wizard-vue/src/urlmaker/utils.ts:15
↓ 2 callersFunctionencodeSpecsPart
(specs: Specs)
frontend/wizard-vue/src/urlmaker/index.ts:59
↓ 2 callersFunctionextractHeaders
(c echo.Context)
internal/api/http/handler.go:302
↓ 2 callersFunctionfile_proto_specs_proto_rawDescGZIP
()
internal/api/http/pb/specs.pb.go:290
↓ 2 callersFunctionparseBaseDomain
parseBaseDomain extracts second-level domain from url, e.g. https://kek.example.com/lol becomes example.com if url is invalid or scheme is not http(s)
internal/extractors/pwextractor/utils.go:61
↓ 2 callersMethodstoreKey
(key string, cookies [][2]string)
internal/cookiemgr/nats/natscookies.go:75
↓ 2 callersMethodvisitPage
todo: config
internal/extractors/pwextractor/pwextractor.go:103
↓ 1 callersMethodConsumeQueue
( ctx context.Context, taskFunc func(taskPayload []byte) (cacheKey string, result []byte, err error), )
internal/adapters/adapters.go:21
↓ 1 callersFunctionCookiesHash
(cookies [][2]string)
internal/cookiemgr/utils.go:37
↓ 1 callersMethodDescriptor
()
internal/api/http/pb/specs.pb.go:54
↓ 1 callersMethodDescriptor
Deprecated: Use Specs.ProtoReflect.Descriptor instead.
internal/api/http/pb/specs.pb.go:115
↓ 1 callersFunctionEncodeCookieHeader
(cookies [][2]string)
internal/cookiemgr/utils.go:29
↓ 1 callersMethodGetCookies
(key string, cookieHeader string)
internal/extractors/pwextractor/pwextractor.go:26
↓ 1 callersFunctionNew
( rateLimit rate.Limit, capacity int64, redisClient *redis.Client, prefix string, )
internal/limiter/redisleaky/redisleaky.go:26
↓ 1 callersMethodParseDate
(string)
internal/extractors/pwextractor/pwextractor.go:22
↓ 1 callersMethodSetupRoutes
(g *echo.Group)
internal/api/http/handler.go:66
↓ 1 callersMethodTextContent
()
internal/extractors/pwextractor/pageparser.go:215
↓ 1 callersMethodUpdateCookies
(key string, cookieHeader string, cookies [][2]string)
internal/extractors/pwextractor/pwextractor.go:27
↓ 1 callersFunctionaddCacheControlHeader
(ttl time.Duration)
cmd/webserver/webserver.go:89
↓ 1 callersFunctionaddImage
internal/extractors/pwextractor/extract_post.js:11
↓ 1 callersFunctionanyTimeFormat
returns the first non-zero time formatted as a string or ""
internal/api/http/handler.go:313
↓ 1 callersFunctionb64decode
(s: string)
frontend/wizard-vue/src/urlmaker/utils.ts:39
↓ 1 callersFunctionb64encode
(buf: Uint8Array)
frontend/wizard-vue/src/urlmaker/utils.ts:32
↓ 1 callersFunctioncompress
(s: string|Uint8Array)
frontend/wizard-vue/src/urlmaker/utils.ts:1
↓ 1 callersMethoddecodeSpecs
(specsParam string)
internal/api/http/handler.go:207
↓ 1 callersFunctiondecompressString
(buf: Uint8Array)
frontend/wizard-vue/src/urlmaker/utils.ts:26
↓ 1 callersMethoddeserialize
(bytes: Uint8Array | pb_1.BinaryReader)
frontend/wizard-vue/src/urlmaker/proto/specs.ts:278
↓ 1 callersMethoddeserializeBinary
(bytes: Uint8Array)
frontend/wizard-vue/src/urlmaker/proto/specs.ts:328
↓ 1 callersMethodextractContent
(post playwright.Locator)
internal/extractors/pwextractor/pageparser.go:141
↓ 1 callersMethodextractPost
(post playwright.Locator)
internal/extractors/pwextractor/pageparser.go:90
↓ 1 callersFunctionfile_proto_specs_proto_init
()
internal/api/http/pb/specs.pb.go:313
↓ 1 callersFunctionfinishParagraph
()
internal/extractors/pwextractor/extract_post.js:6
↓ 1 callersMethodfromObject
(data: { url?: string; selector_post?: string; selector_title?: string;
frontend/wizard-vue/src/urlmaker/proto/specs.ts:141
↓ 1 callersFunctionloadTask
(taskFileName string)
cmd/extractor/extractor.go:115
↓ 1 callersFunctionmakeFeed
(task models.Task, result models.TaskResult)
internal/api/http/handler.go:249
↓ 1 callersFunctionparseProxy
(s string)
internal/extractors/pwextractor/utils.go:37
↓ 1 callersMethodserialize
(w?: pb_1.BinaryWriter)
frontend/wizard-vue/src/urlmaker/proto/specs.ts:249
↓ 1 callersMethodserializeBinary
()
frontend/wizard-vue/src/urlmaker/proto/specs.ts:325
↓ 1 callersFunctionsetIPExtractor
(e *echo.Echo, cfg config.Config)
cmd/webserver/webserver.go:101
↓ 1 callersMethodsetupInterceptors
(bCtx playwright.BrowserContext, sourceUrl *url.URL)
internal/extractors/pwextractor/pwextractor.go:235
↓ 1 callersMethodtoObject
()
frontend/wizard-vue/src/urlmaker/proto/specs.ts:194
↓ 1 callersFunctiontraverse
(node)
internal/extractors/pwextractor/extract_post.js:19
↓ 1 callersMethodwaitFullLoad
()
internal/extractors/pwextractor/pageparser.go:74
MethodConsumeQueue
( ctx context.Context, taskFunc func(taskPayload []byte) (cacheKey string, result []byte, err error), )
internal/adapters/natsadapter/natsadapter.go:131
MethodEnqueue
(ctx context.Context, key string, payload []byte)
internal/adapters/natsadapter/natsadapter.go:61
MethodEnum
()
internal/api/http/pb/specs.pb.go:44
MethodEnumDescriptor
Deprecated: Use ExtractFrom.Descriptor instead.
internal/api/http/pb/specs.pb.go:67
MethodGet
(key string)
internal/adapters/natsadapter/natsadapter.go:112
MethodGetCacheLifetime
()
internal/api/http/pb/specs.pb.go:196
MethodGetCookies
(key string, cookieHeader string)
internal/cookiemgr/dummy/dummycookies.go:13
MethodGetCookies
(key string, cookieHeader string)
internal/cookiemgr/nats/natscookies.go:36
MethodGetCreatedAttributeName
()
internal/api/http/pb/specs.pb.go:175
MethodGetCreatedExtractFrom
()
internal/api/http/pb/specs.pb.go:168
MethodGetSelectorAuthor
()
internal/api/http/pb/specs.pb.go:154
MethodGetSelectorContent
()
internal/api/http/pb/specs.pb.go:182
MethodGetSelectorCreated
()
internal/api/http/pb/specs.pb.go:161
MethodGetSelectorDescription
()
internal/api/http/pb/specs.pb.go:147
MethodGetSelectorEnclosure
()
internal/api/http/pb/specs.pb.go:189
MethodGetSelectorLink
()
internal/api/http/pb/specs.pb.go:140
MethodGetSelectorPost
()
internal/api/http/pb/specs.pb.go:126
MethodGetSelectorTitle
()
internal/api/http/pb/specs.pb.go:133
MethodGetUrl
()
internal/api/http/pb/specs.pb.go:119
MethodLimit
(context.Context, string)
internal/limiter/dummy/dummy.go:11
MethodLimit
(ctx context.Context, key string)
internal/limiter/redisleaky/redisleaky.go:42
MethodLog
(v ...interface{})
internal/limiter/redisleaky/redisleaky.go:67
FunctionNew
()
internal/cookiemgr/dummy/dummycookies.go:8
FunctionNew
(natsc *nats.Conn)
internal/cookiemgr/nats/natscookies.go:18
FunctionNew
(wq adapters.WorkQueue, cache adapters.Cache, rateLimit rate.Limit, rateLimitBurst int, debug bool)
internal/api/http/handler.go:47
MethodNumber
()
internal/api/http/pb/specs.pb.go:62
MethodParseDate
(str string)
internal/dateparser/dateparser.go:14
MethodProtoMessage
()
internal/api/http/pb/specs.pb.go:100
MethodProtoReflect
()
internal/api/http/pb/specs.pb.go:102
MethodReset
()
internal/api/http/pb/specs.pb.go:89
next →1–100 of 143, ranked by callers