MCPcopy Create free account

hub / github.com/denymz/sh-tel-iptv-spider / functions

Functions153 in github.com/denymz/sh-tel-iptv-spider

↓ 36 callersMethodError
Error print error messages
initialize/internal/logger.go:89
↓ 26 callersMethodInfo
Info print info
initialize/internal/logger.go:75
↓ 25 callersMethodNew
()
initialize/internal/logger.go:142
↓ 15 callersMethodPrintf
(message string, data ...interface{})
initialize/internal/logger.go:126
↓ 11 callersMethodGet
(name string)
modules/jsvm/vm.go:44
↓ 11 callersMethodRequest
(uri, method string, form map[string]string)
modules/http_client/client.go:18
↓ 10 callersFunctionlogNexTime
(msg string, id cron.EntryID)
main.go:113
↓ 9 callersMethodGetRespBytes
()
modules/http_client/client.go:42
↓ 6 callersFunctionCreateHtmlDocByBytes
(uri string, resp []byte)
utils/html.go:12
↓ 5 callersMethodLogMode
LogMode log mode
initialize/internal/logger.go:68
↓ 4 callersMethodBytes
()
modules/m3u/m3u8.go:38
↓ 4 callersFunctionGenerateIP
GenerateIP convert ip format
utils/utils.go:13
↓ 4 callersFunctionGetFromParamByHtml
(d *goquery.Document, sec ...string)
utils/html.go:22
↓ 4 callersFunctionNewAESForNodejs
(key []byte)
utils/aes.go:12
↓ 4 callersMethodSet
(name string, value interface{})
modules/jsvm/vm.go:56
↓ 4 callersMethodWrite
(uri string, info model.ChannelInfo, ext model.M3u8Mapping)
modules/m3u/m3u8.go:27
↓ 3 callersFunctionCalcMD5KeyForRequest
(params ...string)
utils/utils.go:59
↓ 3 callersFunctionCleanChannelData
CleanChannelData 频道列表数据清理
modules/auth/data_clean.go:23
↓ 3 callersFunctionCleanChannelInfoData
CleanChannelInfoData 频道信息数据清理
modules/auth/data_clean.go:35
↓ 3 callersFunctionCleanEPGDetailsData
CleanEPGDetailsData 节目单数据清理
modules/auth/data_clean.go:11
↓ 3 callersMethodEncrypt
(data []byte)
utils/aes.go:33
↓ 3 callersMethodFetchChannelList
()
modules/auth/fetch_info.go:42
↓ 3 callersMethodFetchChannelProg
()
modules/auth/fetch_info.go:105
↓ 3 callersFunctionGenerateRandomInt
GenerateRandomInt 生成随机数字字符串
utils/utils.go:31
↓ 3 callersFunctionGenerateXmlTv
(daysAgo int)
modules/auth/generate.go:92
↓ 3 callersFunctionRemoveDuplicateChannelInfo
RemoveDuplicateChannelInfo ChannelInfo 数组去重
model/channel_info.go:90
↓ 3 callersMethodRunScriptForHtml
(doc *goquery.Document)
modules/jsvm/vm.go:26
↓ 3 callersFunctionUploadToOSS
(key string, data []byte)
utils/oss.go:12
↓ 3 callersMethodWarn
Warn print warn messages
initialize/internal/logger.go:82
↓ 3 callersFunction_padding
(cipherText []byte, blockSize int, padInt int)
utils/padding.go:7
↓ 3 callersMethodcheckSessionState
()
modules/auth/fetch_info.go:16
↓ 3 callersMethodcreateVM
()
modules/jsvm/vm.go:60
↓ 2 callersFunctionCheckIPv4Address
CheckIPv4Address 检验Mac地址
utils/validator.go:23
↓ 2 callersFunctionCheckMacAddressV1
CheckMacAddressV1 检验Mac地址
utils/validator.go:14
↓ 2 callersFunctionCheckSNCode
CheckSNCode 简单检查SN码格式
utils/validator.go:41
↓ 2 callersFunctionCheckUserID
CheckUserID 检验Mac地址
utils/validator.go:32
↓ 2 callersFunctionGenerateAndUploadM3u
()
modules/auth/generate.go:155
↓ 2 callersFunctionGenerateAndUploadXmlTv
()
modules/auth/generate.go:160
↓ 2 callersFunctionGenerateAndUploadXmlTvDays7
()
modules/auth/generate.go:165
↓ 2 callersFunctionGenerateM3u8
(udpxy, scheme, xteve, all string)
modules/auth/generate.go:17
↓ 2 callersFunctionGetGlobalClient
()
modules/auth/auth.go:174
↓ 2 callersFunctionGetScriptsFormHtml
(d *goquery.Document)
utils/html.go:57
↓ 2 callersFunctionInsertStrInUserToken
InsertStrInUserToken 插入特定字符串 before "12345678@etv1***14670b274558c229" after "123456737AE8@etv1***14670b274558c229"
utils/utils.go:41
↓ 2 callersFunctionNewWriter
()
modules/m3u/m3u8.go:46
↓ 2 callersMethodReset
()
modules/jsvm/vm.go:13
↓ 2 callersMethodRunScript
(s string)
modules/jsvm/vm.go:17
↓ 2 callersMethodStartAuth
()
modules/auth/auth.go:80
↓ 2 callersMethodWriteHeaderWithInfo
(xmlUrl string)
modules/m3u/m3u8.go:13
↓ 2 callersFunctionassemblyUrl
(udpxy, scheme, xteve, uri string)
modules/auth/generate.go:80
↓ 2 callersFunctiongetEncoderConfig
getEncoderConfig 获取zapcore.EncoderConfig
initialize/zap.go:52
↓ 2 callersFunctiongetEncoderCore
getEncoderCore 获取Encoder的zapcore.Core
initialize/zap.go:90
↓ 2 callersMethodprocessData
()
model/channel_info.go:33
↓ 2 callersMethodupdateCookies
()
modules/auth/auth.go:112
↓ 2 callersMethodupdateMapping
(tx *gorm.DB)
model/channel_info.go:53
↓ 1 callersFunctionCOS
()
initialize/oss.go:12
↓ 1 callersFunctionCache
()
initialize/cache.go:10
↓ 1 callersMethodDecrypt
(data []byte)
utils/aes.go:22
↓ 1 callersMethodDsn
()
config/mysql.go:15
↓ 1 callersFunctionGenerateTimeShiftM3u8
()
modules/auth/generate.go:50
↓ 1 callersFunctionGetChannelFormString
(c string)
modules/auth/channel.go:9
↓ 1 callersMethodGetEncryptString
()
model/authenticator.go:30
↓ 1 callersFunctionGetRSAPriKey
()
utils/rsa.go:35
↓ 1 callersMethodGetResp
()
modules/http_client/client.go:38
↓ 1 callersMethodGetString
(name string)
modules/jsvm/vm.go:48
↓ 1 callersFunctionGetWriteSyncer
()
utils/zap.go:12
↓ 1 callersFunctionGorm
()
initialize/gorm.go:14
↓ 1 callersFunctionInitApiRouters
(rg iris.Party)
router/api/router.go:11
↓ 1 callersFunctionInitCron
()
initialize/cron.go:12
↓ 1 callersFunctionInitRouters
(app *iris.Application)
router/router.go:8
↓ 1 callersMethodLoadPriKey
LoadPriKey 加载私钥
utils/rsa.go:46
↓ 1 callersFunctionMinio
()
initialize/oss.go:30
↓ 1 callersFunctionMysqlTables
(db *gorm.DB)
initialize/gorm.go:22
↓ 1 callersFunctionNew
()
modules/jsvm/vm.go:67
↓ 1 callersFunctionNew
(writer logger.Writer, config config)
initialize/internal/logger.go:29
↓ 1 callersFunctionNewAuthenticator
(encryptToken, uid, sn, ip, mac string)
model/authenticator.go:35
↓ 1 callersFunctionNewClient
(uid, sn, mac, ip string, options ...ClientOption)
modules/auth/auth.go:128
↓ 1 callersFunctionNewGlobalClient
(uid, sn, mac, ip string, options ...ClientOption)
modules/auth/auth.go:164
↓ 1 callersFunctionNewHttpClient
(opts ...HttpClientOption)
modules/http_client/client.go:46
↓ 1 callersFunctionPKCS5Padding
(cipherText []byte)
utils/padding.go:44
↓ 1 callersFunctionPathExists
PathExists 路径是否存在
utils/dir.go:6
↓ 1 callersMethodPriEncrypt
PriEncrypt 私钥加密
utils/rsa.go:73
↓ 1 callersFunctionRemoveStrInUserToken
RemoveStrInUserToken 剔除特定字符串
utils/utils.go:51
↓ 1 callersMethodSetCookies
(cookies ...*http.Cookie)
modules/http_client/client.go:65
↓ 1 callersMethodToJson
()
model/authenticator.go:20
↓ 1 callersFunctionUnPadding
(data []byte)
utils/padding.go:48
↓ 1 callersFunctionViper
(path ...string)
initialize/viper.go:12
↓ 1 callersFunctionWithUserAgent
(ua string)
modules/http_client/client.go:78
↓ 1 callersMethodWriteHeader
()
modules/m3u/m3u8.go:23
↓ 1 callersFunctionZap
()
initialize/zap.go:15
↓ 1 callersFunction_unPadding
(data []byte, blockSize int)
utils/padding.go:17
↓ 1 callersFunctionaddDataCleanCron
数据清理定时器
main.go:82
↓ 1 callersFunctionaddSpiderCron
爬虫定时器
main.go:65
↓ 1 callersFunctionaddUploadCosCron
()
main.go:93
↓ 1 callersMethodafterAction
()
modules/http_client/client.go:60
↓ 1 callersMethodauthSetupOne
()
modules/auth/auth.go:45
↓ 1 callersMethodauthSetupTwo
()
modules/auth/auth.go:60
↓ 1 callersFunctionchannelBindFormMap
(data map[string]interface{}, dst interface{})
modules/auth/channel.go:24
↓ 1 callersFunctioncheck
(c1, c2 ChannelInfo)
model/channel_info.go:119
↓ 1 callersMethodepgGetPortal
()
modules/auth/setup_two.go:107
↓ 1 callersMethodepgIndex
(doc *goquery.Document)
modules/auth/setup_two.go:14
next →1–100 of 153, ranked by callers