sina

package
v0.0.0-...-1aeafd4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APISinaEconomicTarget = "" /* 127-byte string literal not displayed */

APISinaEconomicTarget 新浪财经宏观经济指标接口

View Source
var APISinaTargetForex = "https://hq.sinajs.cn/rn=0list=fx_s"

APISinaTargetForex 新浪财经指标`外汇指标`数据获取接口

View Source
var APISinaTargetForexShow = "https://finance.sina.com.cn/money/forex/hq/%s.shtml"

APISinaTargetForexShow 新浪财经指标`外汇指标`页面展示接口

Functions

func SpiderSinaEconomicTarget

func SpiderSinaEconomicTarget(sourceTargetCodeSpider, targetCode string, pages int) (responses []model.Response)

SpiderSinaEconomicTarget 爬取新浪财经宏观指标 适用指标: - 地区居民消费价格指数

- 地区生产总值

func SpiderSinaTargetForex

func SpiderSinaTargetForex(sourceTargetCodeSpider string) (responses []model.Response)

SpiderSinaTargetForex 爬取"新浪财经"网站的`外汇指标` 适用指标: - 人民币汇率

- 人民币港元

- 人民币日元

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL