sbd-npm 1.2.47 → 1.2.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/stock_basics.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.2.47",
3
+ "version": "1.2.48",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/stock_basics.js CHANGED
@@ -879,7 +879,7 @@ let Stock = {
879
879
  j["data"].forEach(function (item, i) {
880
880
  _html.push("<tr title='", item["title"], "'>");
881
881
  _html.push("<td>", i + 1, "</td>");
882
- _html.push("<td><a target='_blank' rel='noopener noreferrer nofollow' href='https://stock.finance.sina.com.cn/stock/go.php/vReport_Show/kind/search/rptid/", item["id"], "/index.phtml'>", Util.sub_str(item["title"], 70), "</a></td>");
882
+ _html.push("<td>", Util.pack_html_link("https://data.eastmoney.com/report/info/" + item["id"] + ".html", Util.sub_str(item["title"], 70)), "</td>");
883
883
  _html.push("<td>", item["organization"], "</td>");
884
884
  _html.push("<td>", item["analysts"], "</td>");
885
885
  _html.push("<td>", Util.seconds_to_format(item["ctime"], "%Y-%m-%d"), "</td>");