关于API:
URL内容提取API是一个强大的工具,用于从指定的URL中提取文本、图像和其他内容。它允许用户快速轻松地从网页中提取相关信息,用于数据抓取、内容分析等各种目的。
该API使用先进的网络抓取技术从指定的URL中提取所需的内容。它可以提取文本、图像和其他类型的媒体,如视频和音频。此外,它还可以提取结构化数据,如产品信息、定价和评论。提取的内容可以以多种格式返回,如JSON或XML,使其易于集成到其他应用程序中。
该API可以在多种情况下使用,如电子商务、金融和新闻。它还可以被研究人员、学者和记者用来从网络中提取数据。此外,SEO专业人士可以使用它从竞争对手网站提取信息,开发人员可以使用它从其他网站提取信息到自己的项目中。
该API用户友好且易于使用,可以集成到广泛的应用程序中,是从网络中提取信息的多功能工具。随着在线可用数据量的增加,URL内容提取API对任何希望从网络中提取信息的组织来说都是一项有价值的工具。
获取内容 - 端点功能
| 对象 | 描述 |
|---|---|
url |
[必需] |
{"status":200,"article":{"content":"<div id=\"readability-page-1\" class=\"page\"><div width=\"compact\"><article><header></header><div data-component=\"image-block\"><figure><p><span><picture><source srcset=\"https://ichef.bbci.co.uk/news/240/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg.webp 240w, https://ichef.bbci.co.uk/news/320/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg.webp 320w, https://ichef.bbci.co.uk/news/480/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg.webp 480w, https://ichef.bbci.co.uk/news/624/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg.webp 624w, https://ichef.bbci.co.uk/news/800/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg.webp 800w, https://ichef.bbci.co.uk/news/976/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg.webp 976w\" type=\"image/webp\"><img alt=\"Tourists at 'China's North Pole'\" srcset=\"https://ichef.bbci.co.uk/news/240/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg 240w, https://ichef.bbci.co.uk/news/320/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg 320w, https://ichef.bbci.co.uk/news/480/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg 480w, https://ichef.bbci.co.uk/news/624/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg 624w, https://ichef.bbci.co.uk/news/800/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg 800w, https://ichef.bbci.co.uk/news/976/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg 976w\" src=\"https://ichef.bbci.co.uk/news/976/cpsprodpb/14558/production/_128388238_gettyimages-1068582990-594x594.jpg\" width=\"976\" height=\"549\" loading=\"eager\"></picture></span><span role=\"text\"><span>Image source, </span>Future Publishing/Getty Images</span></p><figcaption><span>Image caption, </span><p>As Mohe is China's northernmost city, it is often nicknamed 'China's North Pole'</p></figcaption></figure></div><div data-component=\"text-block\"><p><b>China's northernmost city, Mohe, has recorded its lowest temperature since records began. </b></p></div><div data-component=\"text-block\"><p>Mohe - known as \"China's North Pole\" - is in the province of Heilongjiang, close to the Russian border.</p></div><div data-component=\"text-block\"><p>On Sunday, its local meteorological station recorded a record-low temperature of -53C (-63F) at 7am. The previous coldest temperature on record in the city was -52.3C, in 1969. </p></div><div data-component=\"text-block\"><p>However, the temperature is probably still shy of China's national record.</p></div><div data-component=\"text-block\"><p>The coldest temperature ever recorded in China is -58C, in the city of Genhe, Inner Mongolia in December 2009, according to media reports of a visit by <a href=\"http://news.china.com.cn/2021-02/19/content_77227410.htm\">government meteorologists.</a></p></div><div data-component=\"text-block\"><p>Other records, however, have the 1969 cold snap in Mohe as the lowest - meaning Sunday's -53C temperature could be China's lowest ever.</p></div><div data-component=\"text-block\"><p>By contrast, the lowest temperature recorded in the UK is -27.2C, set in different parts of Scotland <a href=\"https://blog.metoffice.gov.uk/2022/02/11/127-years-since-uks-joint-lowest-temperature-will-we-see-it-again\">in 1895, 1982 and 1995.</a></p></div><div data-component=\"text-block\"><p>Mohe is no stranger to cold weather: China Daily says the city is regarded as the coldest in China, and that its winter period <a href=\"https://www.chinadaily.com.cn/a/202010/28/WS5f9916a6a31024ad0ba819ee.html\">\"usually lasts eight months\"</a>. </p></div><div data-component=\"text-block\"><p>As a result, it attracts tourists throughout the year with its \"North Pole\", ice and snow parks, and skiing venues. In previous years, it has also hosted <a href=\"https://www.globaltimes.cn/content/1174864.shtml\">winter marathons</a>. </p></div><div data-component=\"text-block\"><p>This time of year, it is common for the city to see average temperatures of -15C. </p></div><div data-component=\"text-block\"><p>In the past week, <a href=\"http://www.chinadaily.com.cn/a/202301/23/WS63ce418da31057c47ebab1cd.html\">China's meteorological authority issued alerts</a> for plunging temperatures and cold winds in the region. </p></div><div data-component=\"text-block\"><p>The Xinhua News Agency said a number of areas in the Greater Khingan mountain range, which spans Inner Mongolia and Heilongjiang, saw new record low temperatures over the weekend. </p></div><div data-component=\"text-block\"><p>Since Friday, temperatures dipped below -50C in Mohe for three consecutive days, which outlets have said is unprecedented. </p></div><div data-component=\"text-block\"><p>Beijing News reported on Friday that coal consumption has increased by a third in the city, as the cold weather bites. </p></div><div data-component=\"text-block\"><p>Car companies also told the paper they had taken advantage of the cold to test the braking performance of vehicles. </p></div><div data-component=\"text-block\"><p>One resident told Kanji Video that his hands had been numb within 10 seconds of stepping outdoors, but that he had seen very few other people around. </p></div><div data-component=\"text-block\"><p>\"It becomes hazy about 100m in front of you, you can't see anyone,\" he said.</p></div><div data-component=\"text-block\"><p>A tourist, surnamed Li, told Beijing News that he had made a special trip from China's southernmost province, Guangdong, to experience the extreme weather. </p></div><div data-component=\"text-block\"><p>\"I didn't expect it to get below -50C this year, it was quite a surprise,\" he told the paper. </p></div><div data-component=\"text-block\"><p>Meanwhile, the official broadcaster, CCTV, showed a journalist breaking an egg on an outdoor surface - causing the egg to freeze within seconds. </p></div><div data-component=\"text-block\"><p>More generally, the media are paying tribute to essential workers - including police officers, firefighters, soldiers and street cleaners - who are continuing to work outdoors during the cold. </p></div><div data-component=\"text-block\"><p>China has seen record temperatures over the past year, for heat as well as cold. </p></div><div data-component=\"text-block\"><p>Earlier this month, the <a href=\"https://www.chinadaily.com.cn/a/202301/09/WS63bbd8f4a31057c47eba8877.html\">Xinhua news agency</a> said that the country had recorded the hottest summer and autumn in 60 years, with multiple cities breaking records. </p></div><div data-component=\"text-block\"><p>Climate change increases the likelihood of extreme weather generally - and while scientists agree global temperatures are rising, that doesn't mean we will stop having periods of very cold weather.</p></div><div data-component=\"text-block\"><p><i><b>Follow Kerry on Twitter: </b></i><a href=\"https://twitter.com/kerrya11en\">@kerrya11en</a></p></div><div data-component=\"image-block\"><figure><p><span><span></span></span><span role=\"text\"><span>Image source, </span>CCTV</span></p><figcaption><span>Image caption, </span><p>Chinese audiences have watched a cracked egg freeze within seconds on state TV</p></figcaption></figure></div><section data-component=\"links-block\"><p><h2>More on this story</h2></p></section></article></div></div>"},"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/1065/url+content+extractor+api/935/get+content?url=https://zylalabs.com/api-marketplace/tools/image+by+keyword+api/2468' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
获取内容端点返回从指定URL提取的文本、图像和其他媒体。输出包括结构化数据,例如产品信息、定价和评论,具体取决于URL中可用的内容
响应数据通常包括“成功”字段(表示请求状态)“消息”字段(提供错误详情或成功确认)以及提取的内容本身,这可能根据 URL 的内容而有所不同
返回的数据采用JSON格式结构,便于解析和集成到应用程序中。结构包括表示提取内容和任何相关元数据的键值对
获取内容端点可以从指定的URL提取各种类型的信息,包括文本、图像、视频、音频以及结构化数据,例如产品细节、评论和定价
响应数据以JSON对象的形式组织,具有清晰的层次结构。它包含一个“success”字段,一个用于错误处理的“message”字段,以及用于提取内容的其他字段,使用户能够轻松访问所需的信息
数据直接来源于指定的 URL,利用先进的网页抓取技术提取内容 提取数据的质量取决于目标网页的信息结构和可用性
如果响应显示部分或空结果,请检查“消息”字段以获取错误详情。用户可以通过确保URL正确且包含预期内容或尝试不同的URL来细化他们的请求
典型的用例包括电子商务分析(提取产品信息)财务数据收集(来自新闻网站)学术研究(用于研究的数据提取)和SEO分析(收集竞争对手的见解)
服务级别:
100%
响应时间:
3,497ms
服务级别:
100%
响应时间:
884ms
服务级别:
100%
响应时间:
2,680ms
服务级别:
100%
响应时间:
1,811ms
服务级别:
100%
响应时间:
709ms
服务级别:
100%
响应时间:
3,976ms
服务级别:
100%
响应时间:
1,104ms
服务级别:
100%
响应时间:
341ms
服务级别:
100%
响应时间:
7,660ms
服务级别:
100%
响应时间:
1,302ms