文章详情V3
<p><strong>简要描述:</strong> </p>
<ul>
<li>公众号文章详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/v3/articles/{article_id}</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>查询参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">access_token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>请求凭证</td>
</tr>
</tbody>
</table>
<p><strong>注</strong>:此接口的请求频率1分钟不超过20次</p>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">html</td>
<td style="text-align: left;">string</td>
<td>完整的html内容(带html标签的富文本)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;data&quot;: {
&quot;html&quot;: &quot;&lt;div class=\&quot;rich_media_content\&quot; id=\&quot;js_&gt;...&quot;
},
&quot;msg&quot;: &quot;success&quot;
}</code></pre>
<p>介于文章数据量巨大,如果对文章详情接口请求有速度要求,推荐通过文章链接自行获取</p>
<p>三个关键header字段为</p>
<pre><code>headers = {
&quot;User-Agent&quot;: &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36&quot;,
&quot;Host&quot;: &quot;mp.weixin.qq.com&quot;,
&quot;Cookie&quot;: &quot;rewardsn=; wxtokenkey=777&quot;,
}</code></pre>