ASD

Google News Api Skill

Extrae automáticamente datos estructurados de noticias desde Google News vía la API de BrowserAct: titulares, fuentes, fechas y enlaces, para monitoreo de industria, marca o competidores.

Oficial

Reemplaza a: Automatización de navegador basada puramente en IA para scraping de Google News

Estrellas
5.4k

en todo el repo

Actividad
41

0–100, la ruta de este skill

Actualizado
hace 3 meses

último commit aquí

Commits
0

últimos 90 días

Contexto
1.5k tok

160 tok en reposo

Paquete
2 archivos

11 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add browser-act/skills --skill google-news-api-skill --agent claude-code

Se instala solo en este repositorio.

Este skill makes network requests, needs API credentials.

Qué hace

  • Ejecuta un script Python que llama a la API de BrowserAct para extraer noticias estructuradas de Google News
  • Devuelve headline, source, news_link, published_time y author por cada resultado
  • Filtra resultados por Search_Keywords, rango de tiempo (Publish_date) y cantidad máxima (Datelimit)
  • Monitorea el estado de la tarea con logs con timestamp mientras se ejecuta el scraping
  • Reintenta automáticamente una vez si el script falla, salvo error de autorización

Úsalo cuando

  • El usuario quiere buscar noticias sobre un tema, empresa o competidor específico
  • Se necesita monitorear relaciones públicas, sentimiento de marca o exposición mediática
  • Se requiere un resumen diario de noticias de una industria o eventos de últimas 24 horas
  • Se busca investigar tendencias de mercado o rastrear actividad mediática de una persona

No lo uses cuando

    Qué lo activa

    Di cualquiera de estas frases y el agente debería cargar este skill.

    • Busca las últimas noticias sobre Tesla en las últimas 24 horas
    • Monitorea la exposición mediática de mi marca en la última semana
    • Dame un resumen diario de noticias sobre inteligencia artificial generativa
    • Rastrea las noticias de mis competidores del último mes

    SKILL.md

    En inglés

    Google News Automation Skill

    📖 Introduction

    This skill provides a one-stop news collection service using BrowserAct's Google News API template. It directly extracts structured news results from Google News, including headlines, sources, publication times, and article links. Simply input search keywords and time filters to get clean, usable news data.

    ✨ Features

    1. No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
    2. No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
    3. No IP Restrictions: No need to handle regional IP restrictions or geofencing.
    4. Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
    5. Cost-Effective: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.

    🔑 API Key Setup

    Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other measures; ask and wait for the user to provide it. Agent must inform the user:

    "Since you haven't configured the BrowserAct API Key, please visit the BrowserAct Console to get your Key."

    🛠️ Input Parameters

    Agent should flexibly configure the following parameters based on user needs:

    1. Search_Keywords (Search Keywords)

      • Type: string
      • Description: The content to search on Google News. Can be company names, industry terms, competitor names, etc.
      • Example: AI Startup, Tesla, SpaceX
    2. Publish_date (Time Range)

      • Type: string
      • Description: Filter news by publication time.
      • Options:
        • any time: No restriction
        • past hours: Past few hours (breaking news)
        • past 24 hours: Past 24 hours (daily monitoring)
        • past week: Past week (short-term trends)
        • past year: Past year (long-term research)
      • Default: past week
    3. Datelimit (Max Items)

      • Type: number
      • Description: Maximum number of news items to extract per task.
      • Default: 30
      • Suggestion: Use 10-30 for real-time monitoring; use larger values for deep research.

    🚀 Usage

    Agent should use the following independent script to achieve "one-line command result":

    # Example
    python -u ./scripts/google_news_api.py "Search Keywords" "Publish Date" Quantity
    

    ⏳ Execution Monitoring

    Since this task involves automated browser operations, it may take some time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running). Agent Instructions:

    • While waiting for the script result, keep monitoring the terminal output.
    • As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
    • Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.

    📊 Data Output

    After successful execution, the script parses and prints results directly from the API response. Results include:

    • headline: News title
    • source: Publisher/Source
    • news_link: Article URL
    • published_time: Publication time
    • author: Author (if available)

    ⚠️ Error Handling & Retry

    If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:

    1. Check Output Content:

      • If the output contains "Invalid authorization", it means the API Key is invalid or expired. Do not retry; guide the user to re-check and provide the correct API Key.
      • If the output does not contain "Invalid authorization" but the task failed (e.g., output starts with Error: or returns empty results), the Agent should automatically try to re-execute the script once.
    2. Retry Limit:

      • Automatic retry is limited to one time. If the second attempt fails, stop retrying and report the specific error information to the user.

    🌟 Typical Use Cases

    1. Industry Trend Tracking: Find the latest developments in fields like "Low-altitude economy" or "Generative AI".
    2. PR Monitoring: Monitor media exposure of a specific brand or company over the past 24 hours.
    3. Competitor Intelligence: Collect information on new products or marketing activities from competitors over the past week.
    4. Market Research: Get popular reports on specific keywords across different time dimensions.
    5. Figure Tracking: Retrieve the latest news reports on industry leaders or public figures.
    6. Daily News Summary: Automatically extract and summarize daily news in specific domains.
    7. Global Breaking News: Get real-time updates on major global events.
    8. Structured Data Extraction: Extract structured information like headlines, sources, and links for analysis.
    9. Media Exposure Analysis: Evaluate the propagation heat of a project or event in mainstream news media.
    10. Long-term Research: Retrieve all in-depth reports on a specific technical topic from the past year.

    Reproducido de browser-act/skills bajo licencia MIT. Leer esta página en markdown.

    Archivos

    2 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

    Antes de instalar

    Requiere Python y la variable de entorno BROWSERACT_API_KEY configurada con una clave del BrowserAct Console.

    Necesita en el PATH:python

    Variables de entorno:BROWSERACT_API_KEY

    Detalles

    Categoría
    Investigación
    Licencia
    MIT
    Recursos incluidos
    scripts en python
    Código fuente
    Ver SKILL.md

    Etiquetas

    Más de browser-act/skills

    Este repo incluye 102 skills. Si instalas uno, normalmente ya tienes los demás.

    Forja paquetes Skill reutilizables (SKILL.md + scripts) a partir de la exploración de sitios web vía browser-act, evitando volver a explorar más tarde.

    Costo de contexto al activarse
    4.9k tok
    Tamaño del paquete
    4 archivos
    Última actualización
    el mes pasado
    Oficialautomatizacion

    Extrae datos completos de producto mayorista de páginas de detalle en 1688.com: título, precios por escalones, variantes SKU, imágenes, vendedor, puntuaciones de tienda, protección al comprador, atributos, cupones y estadísticas de reseñas.

    Costo de contexto al activarse
    3.4k tok
    Tamaño del paquete
    5 archivos
    Última actualización
    hace 25 días
    Oficialdatos analitica

    Scraper de listados vendidos en eBay en 8 marketplaces (.com/.co.uk/.de/.fr/.it/.es/.ca/.com.au) con filtros de keyword, categoría, precio, condición, ubicación y orden, que devuelve ventas reales paginadas.

    Costo de contexto al activarse
    4.8k tok
    Tamaño del paquete
    4 archivos
    Última actualización
    hace 25 días
    Oficialdatos analitica

    CLI de automatización de navegador para agentes de IA: nunca ejecutes comandos browser-act directamente vía Bash, invoca siempre este skill primero.

    Costo de contexto al activarse
    939 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    el mes pasado
    Oficialautomatizacion

    Extrae posts públicos del perfil de un usuario de Threads, obteniendo texto, métricas de interacción e info de medios a partir del JSON incrustado en el SSR.

    Costo de contexto al activarse
    2.3k tok
    Tamaño del paquete
    3 archivos
    Última actualización
    hace 25 días
    Oficialdatos analitica

    Descubre cuentas de usuario de Threads por palabra clave, extrayendo datos de perfil como username, nombre visible, verificación, biografía y número de seguidores.

    Costo de contexto al activarse
    1.8k tok
    Tamaño del paquete
    3 archivos
    Última actualización
    hace 25 días
    Oficialdatos analitica

    Skills relacionados

    Testea contratos inteligentes de forma exhaustiva con Hardhat y Foundry: tests unitarios, de integración y forking de mainnet.

    Costo de contexto al activarse
    2k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 2 meses
    testing qa

    Úsalo al seleccionar y colocar iconos, imágenes, SVGs, diagramas o infografías de apoyo aprobados en un PPTX editable.

    Costo de contexto al activarse
    344 tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 26 días
    documentos

    Realiza auditorías de accesibilidad WCAG 2.2 con pruebas automatizadas, verificación manual y guía de remediación. Útil para auditar sitios, corregir violaciones y aplicar patrones de diseño accesible.

    Costo de contexto al activarse
    628 tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 2 meses
    testing qa