将新闻文章的URL发送到端点,并附上可选的格式(JSON或纯文本)API将返回文章的主要内容和元数据
提取文章内容 - 端点功能
| 对象 | 描述 |
|---|
{"title":"Lionel Messi feels \u2018like a kid\u2019 after Argentina hat-trick against Bolivia - The Athletic","url":"https:\/\/www.nytimes.com\/athletic\/5846795\/2024\/10\/16\/lionel-messi-hat-trick-argentina-bolivia\/?searchResultPosition=1","author":"Ali Rampling","thumbnailUrl":"https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/10\/16032704\/GettyImages-2177960715-e1729063644703.jpg?width=1200&height=630&fit=cover","tags":["Inter Miami CF"," Argentina"," Soccer"],"format":"html","content":"<p><a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/lionel-messi-HlEFpLdbHt68CnvJ\/'>Lionel Messi<\/a> says he still feels \u201clike a kid\u201d playing for Argentina after scoring a hat-trick in his country\u2019s 6-0 victory over Bolivia on Tuesday.<\/p><p>The 37-year-old played a role in five of Argentina\u2019s six goals during the World Cup qualifying win at Estadio Mas Monumental in Buenos Aires, providing two assists in addition to his hat-trick.<\/p><p>Advertisement<\/p><p>It took Messi\u2019s tally of senior Argentina goals to 112 \u2014 a figure bettered only by <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/cristiano-ronaldo-jh1IjFA8SnHLGtwM\/'>Cristiano Ronaldo<\/a>\u2019s 133 for Portugal in men\u2019s international football.<\/p><p>\u201cIt\u2019s really nice to come here, to feel the affection of the people,\u201d Messi said.<\/p><p>\u201cThis drives me. (I\u2019m) enjoying being happy where I am. Despite my age, when I\u2019m here, I feel like a kid because I\u2019m comfortable with this team. As long as I feel good and can keep performing the way I want, I\u2019ll keep enjoying it.\u201d<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/09\/26154131\/GettyImages-1807033621-1024x683.jpg?width=128&height=128&fit=cover&auto=webp'><p>GO DEEPER<\/p><p>How Argentina are preparing for life after Lionel Messi: Wider, more direct but less clinical<\/p><p>Messi gave Argentina the lead after 19 minutes on Tuesday evening, finishing low after <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/lautaro-martinez-Ce9CtvBqInoKkh9G\/'>Lautaro Martinez<\/a> had capitalised on a defensive slip to win the ball high up in the Bolivia half.<\/p><p>The Argentina captain then turned provider for Martinez as the hosts doubled their advantage on the stroke of half time, squaring the ball to his team-mate and leaving him with an empty net to roll into.<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/10\/16032859\/GettyImages-2177919962-scaled.jpg'><p>Argentina added a third in first-half stoppage time through <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/julian-alvarez-Gc4ZQQEwFSbwIM9v\/'>Julian Alvarez<\/a> after the Atletico Madrid forward had been found by a quick Messi free-kick.<\/p><p><a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/thiago-almada-lYAzmMNJhNvBXFjZ\/'>Thiago Almada<\/a> extended Argentina\u2019s lead mid-way through the second half, before Messi added his side\u2019s fifth and sixth in the space of three minutes to complete the scoring.<\/p><p>The Inter Miami forward found the bottom corner from just inside the penalty area in the 84th minute, and completed his hat-trick in the 86th with another low strike after combining with <a href='https:\/\/www.nytimes.com\/athletic\/football\/player\/nico-paz-30JZNE0k3zCnSuEf\/'>Nico Paz<\/a>.<\/p><p>The match was just Messi\u2019s second for Argentina since <a href='https:\/\/www.nytimes.com\/athletic\/5637802\/2024\/07\/15\/lionel-messi-injury-copa-america-final\/'>being forced off with an ankle injury in July\u2019s Copa America final<\/a>. He returned to club action in September and has scored five goals in six <a href='https:\/\/www.nytimes.com\/athletic\/football\/mls\/'>Major League Soccer<\/a> (MLS) appearances since his comeback.<\/p><p>Tuesday\u2019s victory leaves Argentina top of their World Cup qualifying group with 22 points from 10 games.<\/p><p>Messi had said in 2022 the Qatar World Cup would be his last, but speaking ahead of the 2024 Copa America\u00a0<a href='https:\/\/www.nytimes.com\/athletic\/5548901\/2024\/06\/07\/lionel-messi-world-cup-2026\/'>he did not rule out playing at the 2026 tournament<\/a>. He will be 38 when the next World Cup, staged in the United States, Mexico and Canada, begins and will turn 39 during the tournament.<\/p><p>Argentina return to action in November against Paraguay.<\/p><img src='https:\/\/static01.nyt.com\/athletic\/uploads\/wp\/2024\/07\/15014045\/0715_COPAMessi01-1024x512.jpg?width=128&height=128&fit=cover&auto=webp'><p>GO DEEPER<\/p><p>Lionel Messi and the unmistakeable sense of an ending<\/p><p>(Top Photo: Luis Robayo\/AFP via Getty Images)<\/p>"}
curl --location --request GET 'https://zylalabs.com/api/5295/news+content+extractor+api/6836/extract+article+content?url=https://www.nytimes.com/athletic/5846795/2024/10/16/lionel-messi-hat-trick-argentina-bolivia/?searchResultPosition=1&format=html' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
将文章网址发送到终端并以JSON或纯文本格式接收主要内容和元数据
新闻内容提取器是一个API,用于从新闻文章中提取主要文本和元数据,以便进行分析和再利用,兼容多种语言的网站
接收文章的URL作为输入,并以JSON或纯文本格式输出主要文本和结构化元数据
收集新闻聚合器的内容 数据挖掘的新闻分析 实时创建摘要和分类新闻文章
所有计划每小时1000个请求
有不同的计划适合每个人,包括少量请求的免费试用,但其比例受到限制以防止滥用服务
API使用API密钥进行身份验证 要访问API,请在请求头中包含您的API密钥 API密钥在注册时提供并应保持安全
该API返回有关域名的年龄和历史的详细信息,包括自创建以来的年、月和天数,以及过期和更新日期
该端点返回文章的主要文本内容,以及元数据,例如标题、作者、出版日期、网址、缩略图和相关标签。此结构化数据以 JSON 或纯文本格式提供
响应中的关键字段包括“标题”“网址”“作者”“缩略图网址”“标签”“格式”和“内容”每个字段提供了理解文章上下文和内容的基本信息
响应数据组织在一个JSON对象中,每个键对应于有关文章的特定信息。这种结构便于解析和集成到应用程序中
该端点提供的信息包括文章的主要内容、作者详情、出版网址、相关标签和缩略图。此综合数据支持各种分析和内容重用应用程序
用户可以通过指定文章 URL 并可选选择响应格式(JSON 或纯文本)来定制他们的请求。这种灵活性允许为不同系统量身定制集成
API 从多个网站的各种在线新闻文章中提取数据,包括热门和小众来源。这种广泛的覆盖增强了可供分析的内容多样性
数据准确性通过一种专有算法得以维护,该算法分析和提取文章中的内容 持续的更新和改进算法帮助确保高质量的数据提取
典型的用例包括构建新闻聚合器 进行情感分析 创建摘要 以及实时分类文章 用于各种应用,如研究和媒体监测
服务级别:
100%
响应时间:
1,138ms
服务级别:
100%
响应时间:
2,612ms
服务级别:
100%
响应时间:
1,308ms
服务级别:
100%
响应时间:
418ms
服务级别:
100%
响应时间:
1,374ms
服务级别:
100%
响应时间:
684ms
服务级别:
100%
响应时间:
1,408ms
服务级别:
100%
响应时间:
1,645ms
服务级别:
100%
响应时间:
546ms
服务级别:
100%
响应时间:
1,450ms