intelligence_src_6dc544294b7f21f98a
- Source-provided label
- Publisher RSS metadata
- Evidence class
- mentioned in report
- Confidence
- Not reported
- Observed
- Nov 29, 2026 05:51 UTC
- Retrieved
- Nov 29, 2026 05:57 UTC
When the xq_a_token cookie expires, Xueqiu does not return an error. It returns an empty array. HTTP 200. error_code: 0. data present but hollow. Your loop iterates zero times, writes zero rows, exits cleanly, and your monitoring reports a successful run with no items — which is the same green check you get on a good day. I have had that state persist for six days on a job nobody was watching, and the only reason I caught it was that a chart went flat. The cold-start failure is a different shape, and knowing both saves time. A request with no cookie at all comes back 400 with an empty body. Not a captcha, not a ban. The quote endpoint simply wants a token that the homepage plants on first contact. import requests UA = ("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 " "(KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36") class Xueqiu: def __init__(self): self.s = requests.Session() self.s.headers.update({ "User-Agent": UA, "Accept": "application/json, text/plain, */*", "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8", }) def prime(self): """One homepage hit is enough to get xq_a_token planted.""" self.s.get("https://xueqiu.com/", timeout=20) if "xq_a_token" not in self.s.cookies: raise RuntimeError("no xq_a_token — cookie bootstrap failed") def quote(self, symbol): self.prime() r = self.s.get("https://stock.xueqiu.com/v5/stock/quote.json", params={"symbol": symbol, "extend": "detail"}, headers={"Referer": "https://xueqiu.com/"}, timeout=20) q = (r.json().get("data") or {}).get("quote") if not q: raise RuntimeError(f"no quote for {symbol} — bad symbol format?") return q xq = Xueqiu() q = xq.quote("SH600519") print(q["name"], q["current"], q["pe_ttm"]) # 贵州茅台 1472.36 22.402 The raise on an empty quote is the important line. Without it, the expired-cookie case flows straight through as a None and lands in your database as a missing symbol rather than a broken session. For a list of symbols, /v5/stock/batch/quote.json takes symbol=SH600519,SZ000001,.... I chunk at 20 per request; 25 also worked in testing, but I left headroom because one bad symbol in a batch costs you the whole chunk, and the error tells you nothing about which one it was. What comes back Real record, 平安银行, from a batch pulled on 2026-11-29: { "symbol": "SZ000001", "code": "000001", "name": "平安银行", "exchange": "SZ", "currency": "CNY", "market_status": "休市", "current": 12.23, "percent": -1.77, "chg": -0.22, "open": 12.45, "high": 12.47, "low": 12.13, "last_close": 12.45, "avg_price": 12.276, "amplitude": 2.73, "high_52w": 12.51, "low_52w": 9.7756, "ytd_percent": 13.14, "volume": 212240760.0, "amount": 2605535116.6, "turnover_rate": 1.09, "volume_ratio": 1.12, "market_capital": 237334379562.0, "float_market_capital": 237331527440.0, "total_shares": 19405918198.0, "float_shares": 19405684991.0, "lot_size": 100.0, "pe_ttm": 5.458, "pe_lyr": 5.567, "pe_forecast": 4.542, "pb": 0.498, "eps": 2.24, "navps": 24.56, "dividend_yield": 4.98, "issue_date": "1991-04-02T16:00:00+00:00", "quoted_at": "2026-11-27T07:34:12+00:00", "url": "https://xueqiu.com/S/SZ000001" } 40 fields on the normalized record; the raw payload carries 63 keys with extend=detail. The three PE variants are why this endpoint is worth a cookie at all. pe_ttm 5.458 is trailing twelve months, pe_lyr 5.567 is last year, pe_forecast 4.542 is consensus forward. A bank at 0.498 PB with a 4.98% dividend yield is a completely different object from a growth name, and a price feed cannot tell them apart. navps is the free cross-check: 24.56 against a 12.23 price is the same 0.5 PB seen from the other side. When two of your own columns agree like that, t
1747f1943170c942862c6736fe663cd5f9b03bda143ad73db2d9634ed10184b0Network indicators are visibly defanged. This page does not make them clickable or send them to another service.
No validated file hashes or network indicators are stored for this record.
This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.
Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.
1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.
Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.