Acerca de la API:
La API de Extracción de Contenido de URL es una herramienta poderosa para extraer texto, imágenes y otro contenido de una URL especificada. Permite a los usuarios extraer rápida y fácilmente información relevante de páginas web para diversos propósitos, como la recolección de datos, el análisis de contenido y más.
La API utiliza técnicas avanzadas de recolección de datos de la web para extraer el contenido deseado de una URL especificada. Puede extraer texto, imágenes y otros tipos de medios, como video y audio. Además, puede extraer datos estructurados como información de productos, precios y reseñas. El contenido extraído puede ser devuelto en varios formatos como JSON o XML, facilitando su integración en otras aplicaciones.
Esta API se puede utilizar en una variedad de contextos, como comercio electrónico, finanzas y noticias. También puede ser utilizada por investigadores, académicos y periodistas para extraer datos de la web. Además, puede ser utilizada por profesionales de SEO para extraer información de sitios web competidores, y por desarrolladores para extraer información de otros sitios web para sus propios proyectos.
La API es fácil de usar y se puede integrar en una amplia gama de aplicaciones, lo que la convierte en una herramienta versátil para extraer información de la web. Con la creciente cantidad de datos disponibles en línea, la API de Extracción de Contenido de URL es una herramienta valiosa para cualquier organización que busque extraer información de la web.
Pase la URL desde donde desea obtener el texto. Recuerde que la URL indicada debe tener más de 500 caracteres.
Obtener contenido - Características del Endpoint
| Objeto | Descripción |
|---|---|
url |
[Requerido] |
{"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'
| Encabezado | Descripción |
|---|---|
Autorización
|
[Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
El endpoint Get Content devuelve texto extraído, imágenes y otros medios de la URL especificada. La salida incluye datos estructurados como información del producto, precios y reseñas, dependiendo del contenido disponible en la URL.
Los datos de respuesta suelen incluir campos como "success" (que indica el estado de la solicitud), "message" (que proporciona detalles de error o confirmación de éxito), y el contenido extraído en sí, que puede variar según el contenido de la URL.
Los datos devueltos están estructurados en formato JSON, lo que facilita su análisis e integración en aplicaciones. La estructura incluye pares de clave-valor que representan el contenido extraído y cualquier metadato relevante.
El endpoint Obtener Contenido puede extraer varios tipos de información, incluyendo texto, imágenes, videos, audio y datos estructurados como detalles de productos, reseñas y precios de la URL especificada.
Los datos de respuesta están organizados en un objeto JSON, con una jerarquía clara. Incluye un campo "éxito", un campo "mensaje" para el manejo de errores y campos adicionales para el contenido extraído, lo que permite a los usuarios acceder fácilmente a la información que necesitan.
Los datos se obtienen directamente de la URL especificada, utilizando técnicas avanzadas de scraping web para extraer contenido. La calidad de los datos extraídos depende de la estructura y disponibilidad de la información en la página web de destino.
Si la respuesta indica resultados parciales o vacíos, verifique el campo "mensaje" para obtener detalles sobre el error. Los usuarios pueden refinar sus solicitudes asegurándose de que la URL sea correcta y contenga el contenido esperado, o probando diferentes URLs.
Los casos de uso típicos incluyen el análisis de comercio electrónico (extracción de información de productos), la recolección de datos financieros (de sitios de noticias), la investigación académica (extracción de datos para estudios) y el análisis de SEO (recopilación de información sobre competidores).
Nivel de Servicio:
100%
Tiempo de Respuesta:
719ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.497ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
884ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
668ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.293ms
Nivel de Servicio:
75%
Tiempo de Respuesta:
1.498ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.680ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
343ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.811ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.711ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
68ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
258ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
130ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
520ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.232ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
728ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
839ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
403ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
897ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
368ms