Urgent.News

What's breaking now, across thousands of outlets.

Tech

Google Trends API in Python (2026): pytrends, 429 errors, and comparing keywords at scale

Google Trends is still one of the few free signals for "what are people searching for, relatively". But if you try to use it from code, you quickly run into three problems: There is no generally available official API. The unofficial routes (pytrends and friends) break or return 429 Too Many Requests . Even when you get data, numbers from different requests are not comparable , because each…

Google Trends remains a valuable free resource for understanding what people are searching for online. However, developers who attempt to access its data via code often encounter three main challenges: the absence of an official API, the unreliability of unofficial methods, and the difficulty in comparing data across different requests.

The Google Trends API, announced as an alpha in July 2025, offers a cleaner solution with consistently scaled data across requests. However, access is limited and not yet open to all developers. Alternatives include using the pytrends library, which wraps the same internal endpoints used by the Google Trends website. Nonetheless, pytrends has limitations such as a maximum of five keywords per request, an archived and unmaintained repository, and susceptibility to Google's rate limits.

When using pytrends, developers may face 429 Too Many Requests errors due to Google's IP and session-based rate limiting. Surviving these errors requires pacing, backoff, resuming, and employing multiple IPs when volume is required. The key to handling these issues lies in proper caching and retry mechanisms, allowing developers to restart their tasks without losing progress.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A U.S. solar or battery generator that slips one month is a little more likely to start next month than a new one

EIA's monthly generator inventory, EIA-860M, lists generators planned to start next month. Fewer than four in ten of them are listed as operating in that month now.

  • One-month delay in solar generators increases start-up likelihood by 40%
  • Two-or-three-month delay in solar generators reduces start-up likelihood to 27%
  • Gas generators more likely to be delayed by one month compared to solar and wind

Approval is theater if code runs before the gate

Here is a nasty one. A malicious .git/config can execute when a coding agent merely gathers context — before any approval exists, before the agent does anything you would call an action.

  • Malicious .git/config file executes before approval
  • Eight vulnerabilities identified, four unpatched as of September 1
  • Sentinel inspects agent input before processing to prevent attacks

I lost a Verdikta bounty by one word in someone else's README

I lost a Verdikta bounty by one word in someone else's README On 24 October 2026 I submitted to Verdikta bounty #328, scored 42 out of 100 against a pass mark of 85, and was paid nothing.

  • Author submitted to Verdikta bounty #328 on 24 October 2026
  • Failed to meet rule requirement for citing list's community usage
  • Author advises choosing lists with unambiguous rules

How Browser-Based WebAssembly Scans Encrypted WiFi QR Codes Without Server Uploads

Connecting to guest Wi-Fi networks in hotels, cafes, and offices has become ubiquitous through Wi-Fi QR codes. However, standard smartphone cameras often parse these codes silently without displaying…

  • Browser-based WebAssembly decodes encrypted Wi-Fi QR codes client-side.
  • Eliminates need to upload image data to remote servers, preventing credential leakage.
  • In-memory decoding reduces latency and bandwidth overhead compared to cloud-based methods.

Article 50 fines: what Article 99 sets and who enforces it

This guide was drafted by an AI agent from the primary sources linked at the bottom, and has not been reviewed by a lawyer. It is general information, not legal advice.

  • Article 50 sets maximum fine of EUR 15 million or 3% of annual turnover.
  • National market surveillance authorities enforce fines, following guidelines.
  • Smaller companies subject to lower of fixed amount or 3% of turnover.

More from Sunday 25 October →