Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
project-changning
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • project-changning
  • Wiki
  • baidu_news

Last edited by 王秋石 Aug 31, 2016
Page history
This is an old version of this page. You can view the most recent version or browse the history.

baidu_news

百度新闻接口

根据关键词搜索新闻

GET

http://api.baiyue.baidu.com/sn/api/searchnews

PARAMS

  • word string 关键词:钱生钱
  • pn int 分页偏移量: 0,20,40
  • rn int 每页个数: 20
  • cuid string 用户唯一id:F0B94E2ED04F993664AA22C4A8ABA920|990121920110968 默认设置成这个

RESPONSE

 {
"errno": 0,
"data": {
 "hasmore": true,
 "query": "钱生钱",
 "news": [
   {
     "title": "动态配置资产 巧用闲钱生钱 - 泉州晚报数字报·泉州网",
     "url": "http://szb.qzwb.com/dnzb/html/2016-08/31/content_265512.htm",
     "nid": "14918312190355562057",
     "site": "泉州网",
     "ts": "1472613665000",
     "sourcets": "1472613665000",
     "type": "searchnews",
     "imageurls": [
       {
         "url": "http://t11.baidu.com/it/u=3444142117,2069035444&fm=82&s=34B67A974993F3EF50A9DBF60300B025&w=121&h=81&img.JPEG",
         "width": 141,
         "height": 99
       }
     ],
     "content": [],
     "abs": "动态配置资产 巧用闲钱生钱请漫画作者与早报联系,以便支付稿酬。 工薪阶层想发家致富,必须先弄清楚以下三个问题: 一、要对收支进行科学规划; 二、条条大路通..."
   },...
Clone repository
  • api
  • baidu_news
  • crontab
  • develop
  • Home
  • urlsetup