<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Matvey</title>
    <description>The latest articles on DEV Community by Matvey (@matveyg).</description>
    <link>https://dev.to/matveyg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4108814%2F458cdc93-81e5-41b6-966c-33d6453a5c2b.jpg</url>
      <title>DEV Community: Matvey</title>
      <link>https://dev.to/matveyg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/matveyg"/>
    <language>en</language>
    <item>
      <title>Whisper Labelled a Spanish Song 'English'. Sending 'English' Back as the Language Hint Got Me an Error Row</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Fri, 27 Nov 2026 13:12:26 +0000</pubDate>
      <link>https://dev.to/matveyg/whisper-labelled-a-spanish-song-english-sending-english-back-as-the-language-hint-got-me-an-3k5c</link>
      <guid>https://dev.to/matveyg/whisper-labelled-a-spanish-song-english-sending-english-back-as-the-language-hint-got-me-an-3k5c</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and in the evenings I build data tools on Apify. One of them is &lt;a href="https://apify.com/lergassy/audio-to-text?fpr=wmeplu" rel="noopener noreferrer"&gt;Audio to Text&lt;/a&gt;. You give it a link to an MP3, M4A, WAV or a video page and get back a transcript split into timed passages. Under the hood it is Whisper large v3 (turbo by default) behind Groq's API, plus the plumbing around it: downloading, splitting long files, speaker labels, subtitles and billing.&lt;/p&gt;

&lt;p&gt;This post is about one field in the output row, &lt;code&gt;language&lt;/code&gt;, and the matching field in the input. On a hard input they don't agree with each other, and the way they disagree is easy to walk into if you are building a pipeline on top.&lt;/p&gt;

&lt;h2&gt;
  
  
  The test that was meant to be boring
&lt;/h2&gt;

&lt;p&gt;Besides a daily one-minute audio file, one of my scheduled checks sends two YouTube links: the 19-second "Me at the zoo" clip and the Despacito music video. The zoo clip is the easy case, clean English speech with no music. Despacito is the hard one on purpose: four and a half minutes of Spanish singing over a loud backing track with a long intro.&lt;/p&gt;

&lt;p&gt;Both links went through on 13 November, on two consecutive builds, with the same input:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"urls"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"https://www.youtube.com/watch?v=jNQXAC9IVRw"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"https://www.youtube.com/watch?v=kJQP7kiw5Fk"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"quality"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fast"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"includeSegments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No language hint, so the model picks the language itself. The zoo clip came back the way you'd expect: 19.02 seconds, 37 words, 4 segments, &lt;code&gt;language: "English"&lt;/code&gt;, reading the way it sounds.&lt;/p&gt;

&lt;p&gt;The music video came back like this, trimmed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"fileName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Luis Fonsi - Despacito ft. Daddy Yankee.webm"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"durationSeconds"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;281.52&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"language"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"English"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fast"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"wordCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;467&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"segmentCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;66&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ok"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;language: "English"&lt;/code&gt;, on both runs. The text itself is Spanish. Out of 66 segments, the only ones that aren't Spanish are five short interjections: "Hi", "Fancy!", "Oh, oh no, oh no, oh", "Hey, go!" and "oh". Everything else reads like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;41&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Si, sabes que ya llevo un rato mirándote"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;46&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Tengo que bailar contigo hoy"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So the transcription is mostly fine and the label is wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the label probably comes from
&lt;/h2&gt;

&lt;p&gt;Look at the first segment:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;29&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Hi"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is one word stretched over 29 seconds, and it is the same on both runs. Open-source Whisper picks the language once, from the first 30-second window of audio, and then keeps that label for the whole file. In this video that window is almost all instrumental intro with a bit of spoken English on top. My best explanation is that the label was decided there, before any Spanish was sung. I can't see inside Groq's service, so I'm not certain they do it exactly the same way, but the 29-second "Hi" fits.&lt;/p&gt;

&lt;p&gt;If you route transcripts by language (per-language search index, translation step, choice of embedding model), this row goes down the English path. For a voice note or a call the first half-minute is usually speech, and it's usually in the language of the rest of the file. For anything with an intro, such as podcasts with a jingle, webinars with hold music or videos with a cold open, don't fully trust a label decided from the first 30 seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that made me stop: missing accented words
&lt;/h2&gt;

&lt;p&gt;Three segments in the Despacito transcript look different from the other 63. They are long (16.04, 11 and 14.04 seconds), they have no punctuation, and every word that should carry an accent is cut short. Paraphrasing rather than quoting the lyrics, here is what they contain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;im&lt;/code&gt; where &lt;em&gt;imán&lt;/em&gt; should be&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;est&lt;/code&gt; twice where &lt;em&gt;está&lt;/em&gt; should be&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;m&lt;/code&gt; where &lt;em&gt;más&lt;/em&gt; should be&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;c&lt;/code&gt; where &lt;em&gt;cómo&lt;/em&gt; should be&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cu&lt;/code&gt; where &lt;em&gt;cuánto&lt;/em&gt; should be&lt;/li&gt;
&lt;li&gt;a lone &lt;code&gt;D&lt;/code&gt; at the start of the third passage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are not random misses. The text stops right where the first non-ASCII letter would be, and the rest of the word is gone. The same transcript gets &lt;em&gt;está&lt;/em&gt; right three times in other segments, and &lt;em&gt;mirándote&lt;/em&gt; above is fine too. Both runs have exactly the same broken fragments in the same three segments, so it isn't sampling noise. (Elsewhere the two runs differ: 467 vs 465 words, 66 vs 68 segments, and near the end one has &lt;code&gt;Hey&lt;/code&gt; where the other has &lt;code&gt;¡Eh!&lt;/code&gt;. That run-to-run drift is normal for Whisper and a separate topic.)&lt;/p&gt;

&lt;p&gt;I checked our own code first, because a byte-truncation bug in my own Python seemed more likely than one in the model. The step that turns the API response into segments only strips whitespace:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;to_segments&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;offset&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;float&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;segments&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'segments'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'text'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;continue&lt;/span&gt;
        &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There's no &lt;code&gt;encode('ascii')&lt;/code&gt;, no regex on letters and no Unicode normalisation anywhere in that path. The fragments come from the model as-is. Whatever causes it, it lines up with the label: the model was told, or decided, it was listening to English, and the accented letters got dropped.&lt;/p&gt;

&lt;p&gt;If you ingest non-English audio, run a cheap check: look for long segments with no punctuation that contain one- or two-letter "words" which aren't real words in that language. For Spanish, a bare &lt;code&gt;est&lt;/code&gt;, &lt;code&gt;m&lt;/code&gt; or &lt;code&gt;c&lt;/code&gt; is a good signal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;
&lt;span class="no"&gt;SUSPECT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;compile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"(?:^|\s)(?:est|m|c|cu|d)(?=\s|$)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;I&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;suspicious&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;segments&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;segments&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;
            &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;search&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"[.,!?¿¡]"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="no"&gt;SUSPECT&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;search&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On this file it flags exactly the three segments above and nothing else.&lt;/p&gt;

&lt;h2&gt;
  
  
  So name the language yourself. Carefully.
&lt;/h2&gt;

&lt;p&gt;The obvious fix is the &lt;code&gt;language&lt;/code&gt; input field: tell the model what it's hearing instead of letting it guess from the intro. The output row just told me the language is called &lt;code&gt;"English"&lt;/code&gt;, so the natural thing (for a person, and even more for an agent chaining calls) is to send that same word back. I tried exactly that today, on the one-minute English test file, using a test account:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"urls"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://.../sample-1min.m4a"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"quality"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fast"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"language"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"English"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Result:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"errorCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"recognition-failed"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"errorMessage"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"The recognition service refused the file: {\"error\":{\"message\":\"unsupported language: English\\nLanguage must be one of: [sw sn lo ha es nl id no mi mn km so de ..."&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same file, same build, with &lt;code&gt;"language": "en"&lt;/code&gt;: &lt;code&gt;status: "ok"&lt;/code&gt;, 215 words, 8.7 seconds.&lt;/p&gt;

&lt;p&gt;The input form does say "two-letter code, for example en, ru, id", so the field is documented correctly. But the output gives you a language &lt;em&gt;name&lt;/em&gt;, the input expects a &lt;em&gt;code&lt;/em&gt;, and the Actor passes whatever you type straight to the API. That's a trap I set myself. The fix is now in my queue: accept names as well as codes and convert them before the request. Until it ships, send ISO 639-1 codes: &lt;code&gt;es&lt;/code&gt;, &lt;code&gt;en&lt;/code&gt;, &lt;code&gt;id&lt;/code&gt;, &lt;code&gt;ru&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The error itself behaved the way it should. That run charged nothing: zero minutes, zero files. A refused file becomes a free error row with a reason, and the run still finishes &lt;code&gt;SUCCEEDED&lt;/code&gt;. That's the reason to check &lt;code&gt;status&lt;/code&gt; on every row before reading &lt;code&gt;transcript&lt;/code&gt;. A green run doesn't mean every file got transcribed.&lt;/p&gt;

&lt;p&gt;I haven't yet re-run the music video with &lt;code&gt;"language": "es"&lt;/code&gt;, so I can't tell you whether naming the language brings the accented words back. That's the next check, and I'm not going to guess the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it cost
&lt;/h2&gt;

&lt;p&gt;Billing here is per started minute of audio, with the last second free:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="no"&gt;BILLING_GRACE_SECONDS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;billable_minutes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;duration&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;ceil&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;duration&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="no"&gt;BILLING_GRACE_SECONDS&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's why the 60.01-second test file bills one minute and not two. Encoders often report a fraction of a second over the real length, and that shouldn't cost you an extra minute.&lt;/p&gt;

&lt;p&gt;Each of the two-video runs was charged &lt;code&gt;audio-minute × 6&lt;/code&gt; (1 for the zoo clip, 5 for 281.52 seconds), &lt;code&gt;file-processed × 2&lt;/code&gt; and &lt;code&gt;video-link × 2&lt;/code&gt;. At $0.009, $0.002 and $0.09 that comes to &lt;strong&gt;$0.238&lt;/strong&gt;, and $0.18 of it, about 76%, is the two video-link fees. That fee covers pulling the audio out of a video page through a residential exit node. A direct file link never pays it, which is why the one-minute M4A costs $0.011. If you have the audio files, link to them directly. Both runs finished in 14.5 and 17.6 seconds of runtime.&lt;/p&gt;

&lt;h2&gt;
  
  
  Calling it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~audio-to-text/run-sync-get-dataset-items?token=YOUR_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"urls":["https://example.com/interview.mp3"],"language":"es","includeSegments":true}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or in Python, checking each row:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;apify_client&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"YOUR_TOKEN"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;actor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"lergassy/audio-to-text"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;call&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run_input&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s2"&gt;"urls"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://example.com/interview.mp3"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"language"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"es"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;          &lt;span class="c1"&gt;# a code, not "Spanish", for now&lt;/span&gt;
    &lt;span class="s2"&gt;"includeSegments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"defaultDatasetId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;iterate_items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"failed:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"errorCode"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"errorMessage"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;continue&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"language"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"durationMinutes"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"wordCount"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  When this is the wrong tool
&lt;/h2&gt;

&lt;p&gt;If the recording is mostly music, like songs, karaoke or DJ sets, don't expect a clean transcript from any Whisper-based service. This post is a mild example of what happens. If a YouTube video already has a proper caption track, read the captions instead of paying to recognise the audio again. If you need word-level timings, these segments are phrase-level. And if your file mixes languages (one interviewer in English, a guest in Indonesian), know that &lt;code&gt;language&lt;/code&gt; is one label per file, not per segment. Name the main language and check the rest yourself.&lt;/p&gt;

&lt;p&gt;What I'd take away from this: the &lt;code&gt;language&lt;/code&gt; field tells you what the model assumed, not what was actually spoken. And until my fix ships, send the hint as a two-letter code.&lt;/p&gt;

</description>
      <category>python</category>
      <category>audio</category>
      <category>api</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>I Searched YouTube for 'Bali Visa Extension'. One of the Top Ten Had 76% of the Views, and It Wasn't About Extensions</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Fri, 27 Nov 2026 05:09:51 +0000</pubDate>
      <link>https://dev.to/matveyg/i-searched-youtube-for-bali-visa-extension-one-of-the-top-ten-had-76-of-the-views-and-it-1j13</link>
      <guid>https://dev.to/matveyg/i-searched-youtube-for-bali-visa-extension-one-of-the-top-ten-had-76-of-the-views-and-it-1j13</guid>
      <description>&lt;p&gt;I run a visa agency in Bali. A lot of my clients arrive having already watched a YouTube video about their visa, so I like to know what those videos say and which ones people actually watch. The question sounds simple: search YouTube the way a tourist would, take the top results, and get real numbers for each one, meaning views, likes, comments, the publish date, and the full description with its links.&lt;/p&gt;

&lt;p&gt;Doing that by hand means opening ten tabs and copying numbers. The YouTube Data API needs a key and a quota, and every search costs quota points. So I use my own Actor, &lt;a href="https://apify.com/lergassy/youtube-video-stats-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;YouTube Video Stats Scraper&lt;/a&gt;: you give it search queries, video URLs or channels, and it returns one row per video. This post is about one small run on 27 November 2026, ten videos for &lt;code&gt;bali visa extension&lt;/code&gt;, and what the rows showed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The input
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"searchQueries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"bali visa extension"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxResultsPerQuery"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All the other inputs stayed at their defaults: relevance sort, any upload date, any duration, regular videos, details on. The run took 5.4 seconds and charged $0.015, which is ten videos at $0.0015 each. The dataset had eleven rows, not ten. The eleventh is a notice:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"notice"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"notice"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Run summary: 10 row(s) delivered, 0 free; charged video ×10 = $0.015. This row is free and is not part of your data — filter it out with type != \"notice\"."&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you load the dataset straight into a spreadsheet, filter on &lt;code&gt;type&lt;/code&gt; first.&lt;/p&gt;

&lt;h2&gt;
  
  
  What one row looks like
&lt;/h2&gt;

&lt;p&gt;Here is position 6, trimmed. It's the one that matters for the rest of the post:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sourceValue"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"bali visa extension"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"position"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"videoId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"uxX3XHfVqNg"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"BALI TOURIST eVISA APPLICATION - A COMPLETE STEP THROUGH GUIDE FOR LAPTOPS"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"viewsText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"24,501 views"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"views"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;24510&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"publishedText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1y ago"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"publishedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2025-06-14"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"10:22"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"durationSeconds"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;622&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"likes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;184&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"comments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;66&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Bali Days"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelHandle"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"@bali-days"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelSubscribersText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"6.53K subscribers"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelSubscribers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;6530&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"hashtags"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"#balidays"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"#evisa"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"#balivisa"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"descriptionLinks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"https://evisa.imigrasi.go.id/web/application_voa"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"https://evisa.imigrasi.go.id/"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"https://evisa.imigrasi.go.id/web/find-batch"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each row comes from two places. &lt;code&gt;viewsText&lt;/code&gt;, &lt;code&gt;publishedText&lt;/code&gt; and the position come from the search results page. &lt;code&gt;views&lt;/code&gt;, &lt;code&gt;likes&lt;/code&gt;, &lt;code&gt;comments&lt;/code&gt;, &lt;code&gt;publishedAt&lt;/code&gt;, the full description, the hashtags and the links come from opening the video itself. That second step is what &lt;code&gt;includeDetails&lt;/code&gt; does. You can turn it off for a faster, rougher list, but then you only get what the search card shows.&lt;/p&gt;

&lt;h2&gt;
  
  
  One video held three quarters of the views
&lt;/h2&gt;

&lt;p&gt;The ten videos had 32,385 views between them. The median was 804.5. Position 6 alone had 24,510, which is 75.7% of the total.&lt;/p&gt;

&lt;p&gt;It also isn't about extensions. It's a step-by-step walkthrough of the tourist eVisa application, the thing you do before you fly, not the thing you do once you're here. YouTube ranked it sixth for "extension", and it got more views than the other nine combined, about three times over. My guess is that people who search for extensions are often still at the planning stage, and a complete application guide answers a question they haven't asked yet. That's a guess, not something the data proves. What the data does show is that "top ten for my keyword" and "what my audience watched" are very different lists. If you rank results by &lt;code&gt;position&lt;/code&gt;, you get YouTube's opinion. If you sort by &lt;code&gt;views&lt;/code&gt;, you get the audience's.&lt;/p&gt;

&lt;p&gt;For a business reading this kind of data, that difference is useful. If I made one video for clients, the numbers say to make it about the application, not the extension.&lt;/p&gt;

&lt;h2&gt;
  
  
  The search card was nine views behind
&lt;/h2&gt;

&lt;p&gt;For nine of the ten videos, the number in &lt;code&gt;viewsText&lt;/code&gt; from the search card matched &lt;code&gt;views&lt;/code&gt; from the watch page exactly. For position 6, the card said 24,501 and the watch page said 24,510.&lt;/p&gt;

&lt;p&gt;Both numbers came from the same run, seconds apart. The search results page and the watch page don't read the counter at the same moment, and on a video that's still getting views, they drift. Nine views out of 24,510 doesn't matter for ranking anything. It matters if you're tracking daily change: if your Monday read comes from search cards and your Tuesday read from watch pages, part of the "growth" is just the two pages disagreeing. Pick one source and stick to it. In this Actor, &lt;code&gt;views&lt;/code&gt; always comes from the watch page when details are on, and &lt;code&gt;viewsText&lt;/code&gt; is kept only so you can see what the card showed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Empty is not zero
&lt;/h2&gt;

&lt;p&gt;Three rows had a &lt;code&gt;null&lt;/code&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;videoId&lt;/th&gt;
&lt;th&gt;views&lt;/th&gt;
&lt;th&gt;likes&lt;/th&gt;
&lt;th&gt;comments&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0aXORwglcUU&lt;/td&gt;
&lt;td&gt;92&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;null&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;pKL-U4w2om8&lt;/td&gt;
&lt;td&gt;89&lt;/td&gt;
&lt;td&gt;null&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;dvtozBize9g&lt;/td&gt;
&lt;td&gt;304&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;null&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;null&lt;/code&gt; means the page didn't show the counter, either because the creator hid it or turned it off, or because there was nothing to show. It doesn't mean zero, and I deliberately don't write &lt;code&gt;0&lt;/code&gt; there. If you compute an average like-rate, decide what to do with those rows before you divide. If you treat &lt;code&gt;null&lt;/code&gt; as &lt;code&gt;0&lt;/code&gt;, you pull the average down. If you drop the rows, you're looking at a different set of videos. Across the seven rows with both counters, likes per view ranged from 0.6% to 3.5%. The 24,510-view video sat at 0.8%: a big audience that mostly watched and left.&lt;/p&gt;

&lt;h2&gt;
  
  
  Subscribers are rounded, views are not
&lt;/h2&gt;

&lt;p&gt;Look at the two channel fields again: &lt;code&gt;"6.53K subscribers"&lt;/code&gt; and &lt;code&gt;6530&lt;/code&gt;. YouTube only shows subscriber counts to three significant figures, so &lt;code&gt;channelSubscribers&lt;/code&gt; is the displayed figure converted to a number. The real count is somewhere from 6,530 to 6,539. Views, likes and comments on the watch page are exact.&lt;/p&gt;

&lt;p&gt;That matters for the "views per subscriber" ratio people like to use to find small channels that punch above their weight. In this sample, the ratio ran from 0.05 to 18.4. The 18.4 belongs to a 62-second Short from a channel with 5 subscribers and 92 views. The 6,530-subscriber channel above got 3.75. For small channels, rounding doesn't change much. For a channel shown as "1.23M", the real count could be anywhere in a 10,000-subscriber range, so don't report the ratio to two decimals.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the description links go
&lt;/h2&gt;

&lt;p&gt;This is the part I actually ran the search for. The ten descriptions contained 38 links. &lt;code&gt;descriptionLinks&lt;/code&gt; gives the full addresses. YouTube's own redirect wrapper is removed, so you see where a click really goes. By domain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;bit.ly&lt;/code&gt;: 7&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;evisa.imigrasi.go.id&lt;/code&gt;, the official Indonesian immigration eVisa site: 3, all in the same video&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;calendly.com&lt;/code&gt;: 3&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;wa.me&lt;/code&gt; and &lt;code&gt;instagram.com&lt;/code&gt;: 2 each&lt;/li&gt;
&lt;li&gt;the remaining 21 links went to 21 different domains: affiliate shops, course platforms, a Bali lawyer, an Airbnb listing, a gold dealer, Etsy, a crypto research site&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So three of 38 links in the top ten visa videos pointed to the government site where the application is actually filed, and all three came from the one video people watched most. The shortened links hide where they go until you follow them, which this Actor doesn't do. If you need the final address, resolve &lt;code&gt;bit.ly&lt;/code&gt; links yourself with a &lt;code&gt;HEAD&lt;/code&gt; request.&lt;/p&gt;

&lt;p&gt;Hashtags are similarly lopsided. There were 58 across the ten videos: one Short carried 16, two videos had none.&lt;/p&gt;

&lt;h2&gt;
  
  
  Calling it from code
&lt;/h2&gt;

&lt;p&gt;The same run over the API with &lt;code&gt;curl&lt;/code&gt; (put your own token in &lt;code&gt;APIFY_TOKEN&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST \
  &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~youtube-video-stats-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"searchQueries": ["bali visa extension"], "maxResultsPerQuery": 10}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And in Python, sorting by what people watched instead of where YouTube put it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;apify_client&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"&amp;lt;APIFY_TOKEN&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;actor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"lergassy/youtube-video-stats-scraper"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;call&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;run_input&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"searchQueries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"bali visa extension"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"maxResultsPerQuery"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"defaultDatasetId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;iterate_items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;"notice"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"views"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"views"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;reverse&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s1"&gt;'{r["position"]:&amp;gt;2}  {r["views"]:&amp;gt;7}  {r["views"] / total:6.1%}  {r["title"][:60]}'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Other inputs work the same way: &lt;code&gt;videoUrls&lt;/code&gt; for exact stats on videos you already know, &lt;code&gt;channels&lt;/code&gt; for a channel's newest uploads, and &lt;code&gt;uploadDate&lt;/code&gt;, &lt;code&gt;duration&lt;/code&gt;, &lt;code&gt;sortBy&lt;/code&gt; and &lt;code&gt;minViews&lt;/code&gt; to narrow the search. Videos removed by &lt;code&gt;minViews&lt;/code&gt; aren't charged.&lt;/p&gt;

&lt;h2&gt;
  
  
  When this isn't the right tool
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You need history.&lt;/strong&gt; Each row is a snapshot at &lt;code&gt;scrapedAt&lt;/code&gt;. For a views curve, run it on a schedule and store the rows yourself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need exact subscriber counts.&lt;/strong&gt; You can't get those from public pages, and the YouTube API rounds them too.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need the comments themselves.&lt;/strong&gt; You get the count, not the text. That's a separate scraper.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need watch time, retention or traffic sources.&lt;/strong&gt; Those are YouTube Studio numbers that only the channel owner sees, and no scraper can read them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ten rows is not research.&lt;/strong&gt; Everything above is one query, ten videos, one afternoon. It's enough to show the shape of the data, not to make claims about YouTube as a whole.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If what you want is the version of the search results with real numbers, so you can sort by what people watched and see where the links go, &lt;a href="https://apify.com/lergassy/youtube-video-stats-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;the Actor&lt;/a&gt; does exactly that. As for my clients: the video they've most likely watched is the eVisa application guide.&lt;/p&gt;

</description>
      <category>youtube</category>
      <category>webscraping</category>
      <category>api</category>
      <category>python</category>
    </item>
    <item>
      <title>I Audited apify.com 14 Times in 25 Days. The H1 Changed Six Times, the Score Never Moved</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Thu, 26 Nov 2026 21:10:05 +0000</pubDate>
      <link>https://dev.to/matveyg/i-audited-apifycom-14-times-in-25-days-the-h1-changed-six-times-the-score-never-moved-420f</link>
      <guid>https://dev.to/matveyg/i-audited-apifycom-14-times-in-25-days-the-h1-changed-six-times-the-score-never-moved-420f</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and the rest of my week goes into Apify Actors. One of them is an on-page SEO checker: you give it page URLs (or one domain to crawl) and it returns one row per page with the status code, an on-page score from 0 to 100, every issue it found written as a sentence with a priority, and the raw facts behind it: title, meta description, H1, canonical, meta robots, page size, load time, links, broken links, images without alt text, schema.org types.&lt;/p&gt;

&lt;p&gt;The default input is two pages, &lt;code&gt;https://apify.com&lt;/code&gt; and &lt;code&gt;https://apify.com/store&lt;/code&gt;. Because it's the default, it's also what my own health checks run every few days to make sure the Actor still works. Between 26 October and 20 November 2026 that produced 14 rows for the Apify home page and 12 for the Store page. Nobody planned it as an experiment, but it happens to be a clean one: same URL, same options, same code, three and a half weeks. This post is about what moved, what didn't, and what that says about reading a single audit.&lt;/p&gt;

&lt;h2&gt;
  
  
  What one row looks like
&lt;/h2&gt;

&lt;p&gt;Here is the home page row from 20 November, trimmed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"page"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://apify.com/"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"statusCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"onpageScore"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"issuesCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"highIssues"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"issues"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"[medium] HTTPS page links to insecure HTTP pages"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"[low] Render-blocking scripts or stylesheets"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"[low] Low text-to-HTML ratio (under 10%)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"[low] Page contains frames or iframes"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"issueCodes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https_to_http_links"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"has_render_blocking_resources"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"low_content_rate"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"frame"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Apify: Marketplace of ready-to-run tools for AI"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"titleLength"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;47&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"descriptionLength"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;143&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"h1Count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"canonicalStatus"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"self"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"noindex"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"loadTimeMs"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;210&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"pageSizeKb"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;512.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"wordCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;409&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"linksChecked"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;90&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"brokenLinks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"images"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;78&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"imagesWithoutAlt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"schemaTypes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Organization"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"WebSite"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"SoftwareApplication"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first thing worth noticing is already in there: &lt;code&gt;onpageScore&lt;/code&gt; is 100 and &lt;code&gt;issuesCount&lt;/code&gt; is 4. Those two fields don't contradict each other, but people read them as if they should.&lt;/p&gt;

&lt;h2&gt;
  
  
  A score of 100 is not "no issues"
&lt;/h2&gt;

&lt;p&gt;The score comes from the audit engine's own weighting of its on-page checks. The issues list is wider: it's the engine's checks plus a set I compute myself from the raw HTML (noindex, canonical pointing elsewhere, multiple H1s, broken links, duplicate titles inside the run, missing structured data, missing Open Graph, missing viewport, missing &lt;code&gt;lang&lt;/code&gt;). Some problems simply don't cost points. A page that links to a couple of &lt;code&gt;http://&lt;/code&gt; URLs, loads a render-blocking stylesheet and is mostly markup can still score a perfect 100.&lt;/p&gt;

&lt;p&gt;On the Store page it went the other way. It scored 98.9 every single time, and its four issues included &lt;code&gt;[medium] Thin content (under 1,024 characters of text)&lt;/code&gt;: 138 words of visible text on a 580 KB HTML document. The Store is a search page that fills itself with JavaScript, so in raw HTML that's what's there.&lt;/p&gt;

&lt;p&gt;So if you're sorting a few hundred pages, sort by &lt;code&gt;highIssues&lt;/code&gt; first and use &lt;code&gt;onpageScore&lt;/code&gt; to break ties. Or filter on &lt;code&gt;issueCodes&lt;/code&gt;, which stay stable from run to run, so your code can say "show me every page with &lt;code&gt;no_h1_tag&lt;/code&gt; or &lt;code&gt;canonical_to_broken&lt;/code&gt;" without parsing English.&lt;/p&gt;

&lt;h2&gt;
  
  
  The H1 had six texts in 25 days
&lt;/h2&gt;

&lt;p&gt;This is the part I didn't expect. The &lt;code&gt;h1&lt;/code&gt; field on the home page, by date:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;26 Oct, 27 Oct   99,006 tools for your AI
28 Oct           Thousands of tools for your AI
30 Oct           102,833 tools for your AI
3 Nov, 4 Nov     Thousands of tools for your AI
11 Nov           117,078 tools for your AI
13 Nov           119,575 tools for your AI
20 Nov           Apify is a marketplace of ready-to-run tools for AI. Get real-time web data, ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(The README of the Actor, written on 1 October, quotes &lt;code&gt;78,661 tools for your AI&lt;/code&gt; from the first test run.)&lt;/p&gt;

&lt;p&gt;Two things are going on. The number is live: the headline is a counter, and it went from 99,006 to 119,575 in 18 days. And on two of the dates the counter wasn't there at all: the H1 fell back to "Thousands of tools for your AI", so presumably whatever fills in the number either failed or wasn't used for that render. Then on 20 November the H1 was replaced by a full 169-character sentence.&lt;/p&gt;

&lt;p&gt;None of this moved the score, and nothing in the issues list changed, because nothing here is a "problem" by any rule an audit engine has. A one-off audit would show you whichever of these was live at that moment and you'd have no way to tell it was unstable. If the page is yours, that's the case for running an audit on a schedule and diffing the text fields (&lt;code&gt;title&lt;/code&gt;, &lt;code&gt;metaDescription&lt;/code&gt;, &lt;code&gt;h1&lt;/code&gt;, &lt;code&gt;canonical&lt;/code&gt;), not only the score. A deploy that replaces your H1 with a fallback string is something you'd want to hear about, and no score will tell you.&lt;/p&gt;

&lt;p&gt;The other numbers drifted too, more quietly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pageSizeKb    485.9 → 522.7 → 496.2 → 503.5 → 512.5
wordCount     403 → 409
linksChecked  89 → 90
loadTimeMs    103 – 210
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Load time is the one I'd trust least as a single reading. On the Store page it ranged from 30 ms to 103 ms. That's HTML download time from the engine's location, without rendering, so it tells you about your server and your CDN, not about what a visitor in Jakarta feels. Turn on JavaScript rendering if you need the full load, and still compare readings to each other rather than to a number from a blog post.&lt;/p&gt;

&lt;h2&gt;
  
  
  Six of the 14 rows were the same answer
&lt;/h2&gt;

&lt;p&gt;Look at the rows closely and some of them are identical to the decimal. 26 and 27 October both say &lt;code&gt;loadTimeMs: 140&lt;/code&gt;, &lt;code&gt;pageSizeKb: 522.7&lt;/code&gt;. Five runs on 20 November, spread over three and a half hours: two started at the same second and fetched the page separately (196 ms and 210 ms), and the three after them all say 210 ms and 512.5 KB.&lt;/p&gt;

&lt;p&gt;That's deliberate: the Actor keeps a 24-hour cache per page and per option set (URL, device, JavaScript rendering). A repeat inside that window gets the stored audit back instead of fetching the page again. Of the 14 home page rows, 8 were fresh fetches and 6 came from the cache. I did it so that someone re-running the same 500 URLs after fixing an input mistake doesn't wait for 500 new fetches.&lt;/p&gt;

&lt;p&gt;Two practical consequences if you use it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;scrapedAt&lt;/code&gt; is the time the row was written, not the time the page was fetched. If you need "when was this measured", a repeat within 24 hours will mislead you.&lt;/li&gt;
&lt;li&gt;If you just deployed a fix and want to see it, wait a day or change an option. Switching &lt;code&gt;device&lt;/code&gt; from &lt;code&gt;desktop&lt;/code&gt; to &lt;code&gt;mobile&lt;/code&gt; gives you a different cache key and a fresh fetch.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  One more page: notion.so
&lt;/h2&gt;

&lt;p&gt;Once, on 28 October, the input had &lt;code&gt;https://www.notion.so/&lt;/code&gt; in it. The row shows two things a quick look at the site wouldn't:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"requestedUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.notion.so/"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.notion.com/"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"onpageScore"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;97.07&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"issues"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"[medium] Images without alt text"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"[medium] Requested URL redirects to https://www.notion.com/"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"[low] Render-blocking scripts or stylesheets"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"[low] Low text-to-HTML ratio (under 10%)"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"images"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;56&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"imagesWithoutAlt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;47&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"internalLinks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;84&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"linksChecked"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;47 of 56 images without alt text, and the old domain redirecting to the new one. The redirect is what you'd want after a rebrand. The &lt;code&gt;requestedUrl&lt;/code&gt; / &lt;code&gt;url&lt;/code&gt; pair is exactly how you check a migration: paste the old URL list and see where each one lands.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;linksChecked: 10&lt;/code&gt; next to &lt;code&gt;internalLinks: 84&lt;/code&gt; is something I haven't fully explained yet. The link counts come from the audit engine; the broken-link checker works from the raw HTML I get back and requests unique URLs from it, and only 10 came out for this page. On a site that builds its navigation with JavaScript those two can disagree a lot. I'm noting it here because a &lt;code&gt;brokenLinks: 0&lt;/code&gt; on such a page means "none of the 10 links I could see were broken", not "the page has no broken links".&lt;/p&gt;

&lt;h2&gt;
  
  
  How the broken-link check decides
&lt;/h2&gt;

&lt;p&gt;Every link goes out as a &lt;code&gt;HEAD&lt;/code&gt; request first, then &lt;code&gt;GET&lt;/code&gt; if the server answers &lt;code&gt;HEAD&lt;/code&gt; with 400, 403, 404, 405, 429 or 501, because a lot of servers handle &lt;code&gt;HEAD&lt;/code&gt; badly. A link counts as broken on 4xx or 5xx, an unknown domain, a refused connection or a failed TLS check. 401, 403, 429 and 999 are not counted: that's usually a site refusing an automated request (999 is LinkedIn's), not a dead page. A URL that appears on 200 pages is requested once per run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Calling it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~website-seo-audit/run-sync-get-dataset-items?token=YOUR_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"urls": ["https://example.com", "https://example.com/pricing"]}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or crawl a domain and add one summary row:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;apify_client&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"YOUR_TOKEN"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;actor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"lergassy/website-seo-audit"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;call&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;run_input&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"domain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"example.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"maxPages"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"includeSiteSummary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"default_dataset_id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;iterate_items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"page"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"highIssues"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"h1"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each run also ends with one &lt;code&gt;notice&lt;/code&gt; row that says what was charged, for example &lt;code&gt;charged page ×2 = $0.0576&lt;/code&gt;. Filter it out with &lt;code&gt;type != "notice"&lt;/code&gt;. Pages that answer 404 or 5xx, invalid URLs and non-HTML files (a PDF, &lt;code&gt;sitemap.xml&lt;/code&gt;) come back as free rows, so a migration check doesn't cost you money for the pages that are already gone.&lt;/p&gt;

&lt;h2&gt;
  
  
  When not to use it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Rankings, keywords, backlinks.&lt;/strong&gt; This reads your pages; it knows nothing about how Google ranks them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Core Web Vitals.&lt;/strong&gt; &lt;code&gt;loadTimeMs&lt;/code&gt; is not LCP or INP. Use PageSpeed Insights or CrUX for field data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A single score to report upward.&lt;/strong&gt; As the home page showed, 100 can sit next to four open issues, and a page can change its headline six times without losing a point.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to try it on your own pages, it's &lt;a href="https://apify.com/lergassy/website-seo-audit?fpr=wmeplu" rel="noopener noreferrer"&gt;Website SEO Audit on Apify&lt;/a&gt;. My advice after watching one page for 25 days: run it on a schedule, keep the rows, and diff the text fields. The score barely moved, but the text fields changed between almost every pair of runs.&lt;/p&gt;

</description>
      <category>seo</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>api</category>
    </item>
    <item>
      <title>Apache's FAQ Told Me to Email webmaster@foo.com. My Email Extractor Did Exactly That</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Thu, 26 Nov 2026 13:12:28 +0000</pubDate>
      <link>https://dev.to/matveyg/apaches-faq-told-me-to-email-webmasterfoocom-my-email-extractor-did-exactly-that-22ie</link>
      <guid>https://dev.to/matveyg/apaches-faq-told-me-to-email-webmasterfoocom-my-email-extractor-did-exactly-that-22ie</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and the rest of my week goes into Apify Actors. One of them is about as plain as a scraper gets: you give it website URLs or bare domains, it reads the home page and a handful of contact-looking pages, and it gives back one row per website with every public e-mail, the page each one came from, phone numbers, socials and the postal address.&lt;/p&gt;

&lt;p&gt;On 26 November 2026 I ran it on ten open-source and non-profit sites, because they publish contacts generously and nobody minds being scraped by a ten-site test: eff.org, python.org, apache.org, gnu.org, debian.org, wikimedia.org, sqlite.org, postgresql.org, fsf.org and openstreetmap.org.&lt;/p&gt;

&lt;p&gt;The run took 79 seconds and returned 47 addresses and 6 phone numbers across 8 websites. Two sites (wikimedia.org and openstreetmap.org) gave nothing and were not charged. This post is about the other numbers: which of those 47 addresses you should actually e-mail, and how you'd know without opening every page by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Every contact carries a &lt;code&gt;source&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Each address in the output is tagged with where it was standing on the page:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"press@apache.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"isOwnDomain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"mailto"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"sourceUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://apache.org/foundation/contact"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There are a few possible values: &lt;code&gt;mailto&lt;/code&gt; (an &lt;code&gt;&amp;lt;a href="mailto:…"&amp;gt;&lt;/code&gt; link), &lt;code&gt;schema.org&lt;/code&gt; (structured data), &lt;code&gt;cloudflare&lt;/code&gt; (a decoded &lt;code&gt;data-cfemail&lt;/code&gt; address), and &lt;code&gt;text&lt;/code&gt;, meaning a string shaped like an e-mail that just appeared in the visible prose. I added the field so buyers could tell a confident contact from a guess. I hadn't really measured how big the difference was until this run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;source    addresses   real contacts
mailto        41           41
text           6            3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every one of the 41 &lt;code&gt;mailto&lt;/code&gt; addresses is a mailbox the site wants you to use: &lt;code&gt;info@eff.org&lt;/code&gt;, &lt;code&gt;security@postgresql.org&lt;/code&gt;, &lt;code&gt;press@debian.org&lt;/code&gt;, eight addresses off gnu.org's contact page. Someone put each one in an &lt;code&gt;href&lt;/code&gt; so a visitor could click it.&lt;/p&gt;

&lt;p&gt;The six &lt;code&gt;text&lt;/code&gt; addresses split down the middle. Three are real: &lt;code&gt;vp-legal@apache.org&lt;/code&gt; and &lt;code&gt;legal-discuss@apache.org&lt;/code&gt; from Apache's legal page, and &lt;code&gt;webmaster@debian.org&lt;/code&gt; from Debian's footer. The other three are not mailboxes anyone has offered you.&lt;/p&gt;

&lt;h2&gt;
  
  
  The FAQ that told me who to write to
&lt;/h2&gt;

&lt;p&gt;Two of the junk addresses came from &lt;code&gt;apache.org/foundation/faq&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"webmaster@foo.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;       &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"isOwnDomain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"text"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"webmaster@toddsbeer.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"isOwnDomain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"text"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here's the sentence on the page, tags stripped:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You need to contact the Webmaster for the site. If the site is &lt;a href="http://www.foo.com" rel="noopener noreferrer"&gt;www.foo.com&lt;/a&gt;, for instance, try sending mail to &lt;a href="mailto:webmaster@foo.com"&gt;webmaster@foo.com&lt;/a&gt;. If it's &lt;a href="http://www.toddsbeer.org" rel="noopener noreferrer"&gt;www.toddsbeer.org&lt;/a&gt;, send mail to &lt;a href="mailto:webmaster@toddsbeer.org"&gt;webmaster@toddsbeer.org&lt;/a&gt;. And so on.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The Apache Foundation gets mail from people who saw the default "It works!" page on somebody else's server and think Apache owns that server. The FAQ explains, politely, how to find the real owner, and it uses two made-up sites as examples. My extractor read the instructions and wrote down the examples.&lt;/p&gt;

&lt;p&gt;My filters didn't catch them, and the reason is worth spelling out. The placeholder list has &lt;code&gt;example.com&lt;/code&gt;, &lt;code&gt;yourdomain.com&lt;/code&gt;, &lt;code&gt;test.com&lt;/code&gt; and about thirty more, plus local parts like &lt;code&gt;yourname&lt;/code&gt; and &lt;code&gt;john.doe&lt;/code&gt;. &lt;code&gt;foo.com&lt;/code&gt; isn't on it. Worse, both addresses pass the check I apply to every prose address before keeping it, which asks whether the domain exists in DNS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ dig +short MX foo.com
0 .
$ dig +short MX toddsbeer.org
10 mail.computer.com.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;toddsbeer.org&lt;/code&gt; is a registered domain with a working mail exchanger, so nothing about the address is invalid. &lt;code&gt;foo.com&lt;/code&gt; is more interesting. &lt;code&gt;0 .&lt;/code&gt; is a &lt;em&gt;null MX&lt;/em&gt; (RFC 7505), which is how a domain owner says "this domain accepts no mail at all." The domain exists, so my existence check said yes. A check that read the MX record properly would have dropped it. That one is cheap to fix, and it's on my list.&lt;/p&gt;

&lt;p&gt;No DNS rule will fix &lt;code&gt;toddsbeer.org&lt;/code&gt;, though. The only signal that it's an example is the sentence around it: "for instance", "if the site is". The structural signal is simpler. It came from &lt;code&gt;text&lt;/code&gt;, it's off the site's own domain (&lt;code&gt;isOwnDomain: false&lt;/code&gt;), and it came from a FAQ page.&lt;/p&gt;

&lt;p&gt;The third junk address is &lt;code&gt;bug-pkgname@gnu.org&lt;/code&gt;, found in the text of gnu.org's contact page. It sits on the right domain, so &lt;code&gt;isOwnDomain&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;, and it would pass a deliverability check because gnu.org accepts mail. But &lt;code&gt;pkgname&lt;/code&gt; is a stand-in for a package name. GNU projects take bug reports at &lt;code&gt;bug-&amp;lt;package&amp;gt;@gnu.org&lt;/code&gt;, and this is the pattern, not a real address. (I couldn't reach gnu.org from my server to quote the exact sentence, so I'm going by the address itself. That site also took 75 of the run's 79 seconds.)&lt;/p&gt;

&lt;h2&gt;
  
  
  The phone number that was a version list
&lt;/h2&gt;

&lt;p&gt;The phones show the same split. Five of the six are genuine. The sixth:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"phone"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"+19084838281"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"formatted"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"+1 908 483 8281"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"country"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"US"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"kind"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fixed_line_or_mobile"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sourceUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.postgresql.org/about/featurematrix/"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The feature matrix is a big table comparing PostgreSQL releases. Strip the tags and the column header reads:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;… 19 18 17 16 15 14 13 12 11 10 9.6 9.5 9.4 9.3 9.2 9.1 9.0 8.4 8.3 8.2 8.1 …
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Take the tail &lt;code&gt;9.0 8.4 8.3 8.2 8.1&lt;/code&gt;, keep only the digits, and you get &lt;code&gt;9084838281&lt;/code&gt;: ten digits, and in the North American plan, area code 908 (New Jersey) is real. &lt;code&gt;libphonenumber&lt;/code&gt; says the number is valid because it is valid. It just belongs to a table header, and the header repeats 27 times down that page.&lt;/p&gt;

&lt;p&gt;The real phones need a footnote of their own. EFF's contact page gave three numbers, all typed &lt;code&gt;fixed_line_or_mobile&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;+1 415 436 9333   "Phone:"
+1 415 436 9993   "Fax:"
+1 510 243 8020   "Signal Number … Text via Signal only."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Only one of them will pick up if you call. The page labels the other two clearly, but the label sits next to the number, and the output schema has no field for it. If you're building a calling list, &lt;code&gt;source: "tel"&lt;/code&gt; (a clickable &lt;code&gt;tel:&lt;/code&gt; link) is much stronger evidence than &lt;code&gt;text&lt;/code&gt; for the same reason &lt;code&gt;mailto&lt;/code&gt; beats &lt;code&gt;text&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one contact that would have been filtered
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;sqlite.org&lt;/code&gt; returned a single address, from the support page:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"drh@hwaci.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"isOwnDomain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"mailto"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sourceUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://sqlite.org/support.html"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the real contact for SQLite. It lives on the domain of the company behind it, not on &lt;code&gt;sqlite.org&lt;/code&gt;. The Actor has an &lt;code&gt;onlyOwnDomainEmails&lt;/code&gt; switch, off by default, and runs like this are why. With it on, SQLite's row would come back with no e-mail at all. Small businesses do the same thing all the time with a gmail.com address. The &lt;code&gt;isOwnDomain&lt;/code&gt; flag is worth having, but as a filter it's too blunt to switch on blindly.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd actually do with the output
&lt;/h2&gt;

&lt;p&gt;If you want contacts you can use without checking each one, here's a rule that would have kept every real address from this run and dropped all three fakes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;trustworthy&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"mailto"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"schema.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"cloudflare"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;
    &lt;span class="c1"&gt;# prose addresses: keep only the site's own domain, and eyeball the rest&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"isOwnDomain"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="s2"&gt;"pkg"&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The last condition is fitted to one GNU template, so don't ship it. The real point is the first branch: a link is a stronger claim than a string. For anything that comes from &lt;code&gt;text&lt;/code&gt;, open &lt;code&gt;sourceUrl&lt;/code&gt; before you send.&lt;/p&gt;

&lt;h2&gt;
  
  
  Calling it
&lt;/h2&gt;

&lt;p&gt;The run above, through the API (the sync endpoint returns rows directly and is fine for small lists):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST \
  &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~website-email-extractor/run-sync-get-dataset-items?timeout=240"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $APIFY_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"domains": ["eff.org", "python.org", "apache.org", "sqlite.org"], "maxPagesPerSite": 6}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or in Python, keeping only link-sourced addresses:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;apify_client&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"&amp;lt;APIFY_TOKEN&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;actor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"lergassy/website-email-extractor"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;call&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;run_input&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"domains"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"eff.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"apache.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"sqlite.org"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"defaultDatasetId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;iterate_items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;"website"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;continue&lt;/span&gt;  &lt;span class="c1"&gt;# error rows and the run-summary notice&lt;/span&gt;
    &lt;span class="n"&gt;linked&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"emails"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"domain"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;linked&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Billing is per website where at least one contact was found. This ten-site run charged 8 websites, $0.20, and the two empty sites were free. The &lt;a href="https://apify.com/lergassy/website-email-extractor?fpr=wmeplu" rel="noopener noreferrer"&gt;Actor is on Apify Store&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  When this is the wrong tool
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You need a specific person.&lt;/strong&gt; It reads what a site publishes and never guesses &lt;code&gt;firstname.lastname@&lt;/code&gt;. If the site prints no personal address, you get the role inbox or nothing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JavaScript-only sites.&lt;/strong&gt; No browser runs. A site whose home page is an empty JS shell comes back as &lt;code&gt;no_contacts&lt;/code&gt;, which is probably what happened with openstreetmap.org here (it read three pages and found nothing).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need the mailbox confirmed.&lt;/strong&gt; The optional e-mail check works at the domain level. It would have flagged &lt;code&gt;foo.com&lt;/code&gt; once null MX is handled, but it can't tell you whether &lt;code&gt;webmaster@toddsbeer.org&lt;/code&gt; reaches anyone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone types matter.&lt;/strong&gt; Fax, Signal-only and switchboard numbers all come back as phones. If you're dialling, filter on &lt;code&gt;source&lt;/code&gt; and read the page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The ten-site run was small on purpose. The ratio it showed, 41 of 41 links real against 3 of 6 prose strings, is the most useful thing I've measured about this scraper in a while, and the first two fixes (honouring null MX, and treating instruction pages with suspicion) both come from it.&lt;/p&gt;

</description>
      <category>webscraping</category>
      <category>javascript</category>
      <category>email</category>
      <category>data</category>
    </item>
    <item>
      <title>28 Reads in Four Weeks: MKBHD Added 83.7 Million Views. His Subscriber Count Never Moved</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Thu, 26 Nov 2026 05:09:32 +0000</pubDate>
      <link>https://dev.to/matveyg/28-reads-in-four-weeks-mkbhd-added-837-million-views-his-subscriber-count-never-moved-38je</link>
      <guid>https://dev.to/matveyg/28-reads-in-four-weeks-mkbhd-added-837-million-views-his-subscriber-count-never-moved-38je</guid>
      <description>&lt;p&gt;My day job is a visa agency in Bali. The scrapers I build on Apify are the evening job, and one of the simplest is &lt;a href="https://apify.com/lergassy/youtube-channel-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;YouTube Channel Scraper&lt;/a&gt;: you give it channel handles, URLs or channel IDs, and it returns one row per channel with subscribers, video count, total views, joined date, country, verified badge, description, keywords and the links from the About panel. No API key, no quota.&lt;/p&gt;

&lt;p&gt;Its health check is three channels I picked because they're big and boring: &lt;code&gt;mkbhd&lt;/code&gt;, &lt;code&gt;veritasium&lt;/code&gt; and &lt;code&gt;https://www.youtube.com/@NASA&lt;/code&gt;. Between 26 October and 22 November 2026 that check ran 28 times on ten different builds. Every run succeeded with 3 of 3 channels. I kept the datasets, and when I lined them up I learned more about YouTube's counters than about my code.&lt;/p&gt;

&lt;h2&gt;
  
  
  The input
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"channels"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"mkbhd"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"veritasium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"https://www.youtube.com/@NASA"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One channel row looks like this (real row from 22 November, 20:17 UTC, trimmed: description, keywords and image URLs removed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"channel"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"input"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"veritasium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"UCHnyfMqiRRG1u-2MsSQLbXA"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"handle"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"veritasium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Veritasium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"subscribersText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"21.5M subscribers"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"subscribers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;21500000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"videosText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"553 videos"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"videoCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;553&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"totalViewsText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"4,773,997,159 views"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"totalViews"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4773997159&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"joinedDate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Jul 21, 2010"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"joinedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2010-07-21"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"country"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"United States"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"isVerified"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"rssUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"links"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Patreon"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://patreon.com/veritasium"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TikTok"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.tiktok.com/@veritasium?lang=en"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Instagram"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.instagram.com/veritasium_daily/"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Look at the two counters. &lt;code&gt;subscribers&lt;/code&gt; is a round number because YouTube only ever shows "21.5M". &lt;code&gt;totalViews&lt;/code&gt; is exact to the digit, because the About panel prints it with commas. That difference is the whole story of the next four weeks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four weeks, side by side
&lt;/h2&gt;

&lt;p&gt;First read on 26 October 01:01 UTC, last on 22 November 20:17 UTC — 27.8 days apart:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Channel&lt;/th&gt;
&lt;th&gt;Subscribers (text)&lt;/th&gt;
&lt;th&gt;Total views, first → last&lt;/th&gt;
&lt;th&gt;Gained&lt;/th&gt;
&lt;th&gt;Per day&lt;/th&gt;
&lt;th&gt;New videos&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;mkbhd&lt;/td&gt;
&lt;td&gt;21.4M → 21.4M&lt;/td&gt;
&lt;td&gt;5,827,538,761 → 5,911,251,904&lt;/td&gt;
&lt;td&gt;83,713,143&lt;/td&gt;
&lt;td&gt;~3.0M&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;veritasium&lt;/td&gt;
&lt;td&gt;21.4M → 21.5M&lt;/td&gt;
&lt;td&gt;4,695,846,306 → 4,773,997,159&lt;/td&gt;
&lt;td&gt;78,150,853&lt;/td&gt;
&lt;td&gt;~2.8M&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NASA&lt;/td&gt;
&lt;td&gt;15.1M → 15.1M&lt;/td&gt;
&lt;td&gt;1,132,208,768 → 1,137,068,162&lt;/td&gt;
&lt;td&gt;4,859,394&lt;/td&gt;
&lt;td&gt;~175K&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;MKBHD's channel was watched 83.7 million more times, and the subscriber text said "21.4M subscribers" on all 28 reads. NASA's said "15.1M" on all 28. Veritasium's was the only one that moved: "21.4M" through 18 November, "21.5M" from the 20 November read on. In four weeks of daily-ish reads, I got exactly one subscriber event out of three channels, and it tells me only that the real number crossed 21.45M (or whatever YouTube's rounding rule is) somewhere in a two-day gap.&lt;/p&gt;

&lt;p&gt;The view counter, meanwhile, moved on every read that was more than a few minutes apart. Between 15:41 and 20:17 UTC on 22 November — four and a half hours — Veritasium gained 1,392,164 views, MKBHD 418,705 and NASA 60,034.&lt;/p&gt;

&lt;p&gt;If you're tracking "growth" of creators, this is the practical lesson: &lt;strong&gt;subscribers from the public page are a bucket, not a measurement&lt;/strong&gt;. For a channel in the 10–100M range the bucket is 100,000 wide. Total views is the column that actually tells you something week to week.&lt;/p&gt;

&lt;p&gt;The video count is also exact, and it moves in small honest steps: NASA went 6,194 → 6,205, MKBHD 1,861 → 1,867. Divide views gained by videos added and you get a rough "views per new upload" for the period — MKBHD around 14M, NASA around 440K — with the obvious caveat that old videos keep earning views too, so this overstates what the new ones did.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reads minutes apart are identical
&lt;/h2&gt;

&lt;p&gt;Several checks ran twice in a row after a new build. Every one of those pairs returned the same numbers to the digit:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;31 October, 20:29:30 and 20:29:40 and 20:39:09 UTC: NASA &lt;code&gt;1133301204&lt;/code&gt; all three times.&lt;/li&gt;
&lt;li&gt;20 November, 22:23 and 22:32 UTC: Veritasium &lt;code&gt;4767636014&lt;/code&gt; both times.&lt;/li&gt;
&lt;li&gt;22 November, 15:38 and 15:41 UTC: MKBHD &lt;code&gt;5910833199&lt;/code&gt; both times.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A channel adding 3 million views a day adds about 2,000 a minute, so a nine-minute gap should show ~19,000 views. It showed zero. The About panel's view counter is cached on YouTube's side and refreshed on its own schedule, not per request. That matters if you're tempted to schedule a scraper every five minutes to get "real-time" views: you'll pay for the same number several times. Hourly or daily is where the data actually changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The latest-videos option is rounded too
&lt;/h2&gt;

&lt;p&gt;With &lt;code&gt;includeLatestVideos: true&lt;/code&gt; the actor also reads the channel's Videos tab and writes one row per video, plus &lt;code&gt;latestVideoAt&lt;/code&gt; and &lt;code&gt;latestVideosAvgViews&lt;/code&gt; on the channel row. One check on 28 October did that for MKBHD with 10 videos:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pos  views       title
1    12000000    iPhone Duo Review: First Generation Fun!
2    12000000    The NEW Tesla Roadster: My Honest Reaction
3    11000000    Apple Homeview Impressions: Not Convinced!
4     8900000    WTF is a Googlebook?
...
8    14000000    Xiaomi 18 Pro Max: They've Done It Again!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The channel row said &lt;code&gt;"latestVideoAt": "7d ago"&lt;/code&gt; and &lt;code&gt;"latestVideosAvgViews": 9930000&lt;/code&gt;. That average is exactly the mean of the ten numbers above — which are themselves YouTube's rounded "12M views" labels turned back into integers. So the average inherits the rounding: good for "this channel's recent videos do around 10M", useless for "video 2 beat video 1". And &lt;code&gt;"7d ago"&lt;/code&gt; is a relative label, not a date; if you need real publish timestamps, you need a per-video read, which this actor doesn't do.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other things the rows taught me
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;country&lt;/code&gt; is optional.&lt;/strong&gt; NASA came back with &lt;code&gt;"country": null&lt;/code&gt; on all 28 reads. The channel simply doesn't fill it in. Don't use "country is null" as an error signal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Links are unwrapped.&lt;/strong&gt; YouTube wraps About-panel links in its own &lt;code&gt;/redirect?q=...&lt;/code&gt; URLs. The actor pulls the real target out of &lt;code&gt;q&lt;/code&gt;, so you get &lt;code&gt;https://www.nasa.gov&lt;/code&gt;, not a tracking link. It does not deduplicate or classify them — a "Commenting Policy" page on nasa.gov sits next to Instagram in the same list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;joinedAt&lt;/code&gt; is parsed from text.&lt;/strong&gt; The panel says "Joined Jun 3, 2008"; &lt;code&gt;joinedAt&lt;/code&gt; is &lt;code&gt;2008-06-03&lt;/code&gt;. If YouTube ever serves that text in another language, the parse will fail and you'll get &lt;code&gt;null&lt;/code&gt; there while &lt;code&gt;joinedDate&lt;/code&gt; still holds the raw text. The actor asks for English (&lt;code&gt;hl: en&lt;/code&gt;), so I haven't seen it happen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Every run ends with a free &lt;code&gt;notice&lt;/code&gt; row&lt;/strong&gt; saying what was delivered and charged. Filter &lt;code&gt;type != "notice"&lt;/code&gt; before you load the dataset into a sheet.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The part that breaks
&lt;/h2&gt;

&lt;p&gt;The actor doesn't use the YouTube Data API. It fetches the channel's &lt;code&gt;/about&lt;/code&gt; page, pulls the &lt;code&gt;ytInitialData&lt;/code&gt; JSON the website embeds, and for videos follows the same &lt;code&gt;youtubei/v1/browse&lt;/code&gt; continuation calls the web player uses. No browser.&lt;/p&gt;

&lt;p&gt;Since early November, YouTube has been refusing plain requests from Apify's own addresses — a page comes back without &lt;code&gt;ytInitialData&lt;/code&gt; (consent or bot check). The actor treats that as a failure, retries on a fresh Apify datacenter proxy address, and after two direct refusals in a row stops trying direct for the rest of the run, because the direct attempt plus its pause was doubling run time. Residential proxies are never switched on by themselves. A channel that genuinely doesn't exist returns an error row with the reason and isn't charged.&lt;/p&gt;

&lt;h2&gt;
  
  
  Calling it from code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST \
  &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~youtube-channel-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"channels": ["mkbhd", "veritasium"], "minSubscribers": 100000}'&lt;/span&gt; \
  &lt;span class="o"&gt;|&lt;/span&gt; jq &lt;span class="s1"&gt;'.[] | select(.type=="channel") | {title, subscribers, totalViews, videoCount}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For tracking, store &lt;code&gt;channelId&lt;/code&gt; (handles can change, IDs don't), &lt;code&gt;totalViews&lt;/code&gt;, &lt;code&gt;videoCount&lt;/code&gt; and the timestamp, then diff between runs. Store &lt;code&gt;subscribersText&lt;/code&gt; too, but treat a change there as an event ("crossed a bucket"), not a growth rate.&lt;/p&gt;

&lt;h2&gt;
  
  
  When not to use it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You need exact subscriber counts.&lt;/strong&gt; Nobody outside the channel gets them. The public page rounds, and the official YouTube Data API has returned abbreviated subscriber counts since 2019 as well. Only the owner's YouTube Analytics has the real number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need per-video history.&lt;/strong&gt; This gives you channel totals and, optionally, the latest videos with rounded views. For video-level tracking you want a scraper that opens each video.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need emails.&lt;/strong&gt; The About panel hides business email behind a captcha; this actor doesn't try.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You own the channel.&lt;/strong&gt; Use YouTube Analytics. It's free and exact.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If what you need is a clean table of channels — size, age, country, links, total views — refreshed on a schedule without an API key, &lt;a href="https://apify.com/lergassy/youtube-channel-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;the actor&lt;/a&gt; does that. Just watch the views column, not the subscribers one.&lt;/p&gt;

</description>
      <category>youtube</category>
      <category>webscraping</category>
      <category>api</category>
      <category>datascience</category>
    </item>
    <item>
      <title>Ten Reads of apify.com in Eleven Days: 20, 35, 106 and 109 Subdomains. Four Started With 'u003e'</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Wed, 25 Nov 2026 21:09:36 +0000</pubDate>
      <link>https://dev.to/matveyg/ten-reads-of-apifycom-in-eleven-days-20-35-106-and-109-subdomains-four-started-with-u003e-47bp</link>
      <guid>https://dev.to/matveyg/ten-reads-of-apifycom-in-eleven-days-20-35-106-and-109-subdomains-four-started-with-u003e-47bp</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and in the evenings I build scrapers on Apify. One of them profiles a domain in a single row: &lt;a href="https://apify.com/lergassy/domain-intelligence-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;Domain Intelligence Scraper&lt;/a&gt;. You give it &lt;code&gt;example.com&lt;/code&gt; and it returns WHOIS/RDAP data, DNS records, the SSL certificate, a technology fingerprint, email security (SPF, DMARC, DKIM), hosting with ASN, and a list of subdomains found in public Certificate Transparency logs. Plain HTTP and DNS, no browser, no login.&lt;/p&gt;

&lt;p&gt;Its health check is the most boring input I could think of: one domain, &lt;code&gt;apify.com&lt;/code&gt;, with everything switched on. Between 11 and 22 November 2026 that check ran ten times, on ten different builds. Every run succeeded. I pulled all ten datasets and lined the rows up column by column, expecting nothing interesting.&lt;/p&gt;

&lt;p&gt;Most columns behaved. One didn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  What stayed put
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;date (UTC)          techCount  subdomainCount  sslDaysUntilExpiry  domainDaysUntilExpiry
2026-11-11 11:02    12         35              67                  3125
2026-11-14 00:52    12         108             64                  3122
2026-11-17 20:31    12         36              60                  3118
2026-11-17 20:42    12         36              60                  3118
2026-11-19 22:26    12         20              58                  3116
2026-11-19 22:31    12         106             58                  3116
2026-11-21 18:52    12         106             56                  3114
2026-11-21 20:07    12         106             56                  3114
2026-11-22 02:38    12         109             56                  3114
2026-11-22 02:41    12         109             56                  3114
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The countdown columns did exactly what countdowns should: the SSL certificate (issued 3 July, valid to 16 January 2027) lost a day per day, and so did the domain registration, which runs to 2035. The tech fingerprint returned the same 12 technologies all ten times: CloudFront, S3, AWS, Algolia, Next.js, Bootstrap, Google Tag Manager, HubSpot, LinkedIn Insight Tag, Leadfeeder, HSTS and HTTP/3.&lt;/p&gt;

&lt;p&gt;Small things did change, and they were real changes on the domain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The four A records (&lt;code&gt;3.170.42.68&lt;/code&gt;, &lt;code&gt;.76&lt;/code&gt;, &lt;code&gt;.100&lt;/code&gt;, &lt;code&gt;.109&lt;/code&gt;) came back in a different order almost every time. That's CloudFront rotating answers, and it's also why the &lt;code&gt;hosting&lt;/code&gt; block geolocated "Washington" in some runs and "Dulles" in others: the actor geolocates whichever IP comes first. Same ASN (AS16509), same org, two city labels a few kilometres apart.&lt;/li&gt;
&lt;li&gt;On 19 November the TXT records went from 13 to 14. The new one was a &lt;code&gt;cursor-domain-verification-…&lt;/code&gt; record. Somebody at Apify verified the domain with Cursor that week, and the profile caught it.&lt;/li&gt;
&lt;li&gt;My README sample from September lists 14 technologies, including Intercom and FirstPromoter. Neither appeared in any of the ten November reads. If you use the tech stack for lead scoring, keep in mind that it describes the homepage on the day you read it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's the kind of drift you want a domain profile to show you.&lt;/p&gt;

&lt;h2&gt;
  
  
  What didn't stay put
&lt;/h2&gt;

&lt;p&gt;The subdomain count went 35 → 108 → 36 → 36 → 20 → 106 → 106 → 106 → 109 → 109.&lt;/p&gt;

&lt;p&gt;Apify did not gain and lose 89 subdomains in a week. Subdomains in Certificate Transparency logs don't disappear: once a certificate is logged, it's logged forever. So the only way the list can shrink is that the actor asked fewer sources, or fewer sources answered.&lt;/p&gt;

&lt;p&gt;I compared the ten lists as sets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Union of all ten reads: &lt;strong&gt;109&lt;/strong&gt; names.&lt;/li&gt;
&lt;li&gt;Present in every single read: &lt;strong&gt;19&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The read with 20 names was exactly those 19 plus &lt;code&gt;wasted.apify.com&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The read with 35 was a strict subset of the 109.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then I asked each source the actor uses, directly, from my server, on 25 November:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;What happened&lt;/th&gt;
&lt;th&gt;Names for apify.com&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;crt.sh&lt;/td&gt;
&lt;td&gt;no answer within 15 seconds&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cert Spotter (&lt;code&gt;api.certspotter.com&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;HTTP 200 in 0.85 s, 50 certificates&lt;/td&gt;
&lt;td&gt;20 subdomains (+ the apex)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;subdomain.center&lt;/td&gt;
&lt;td&gt;HTTP 200 in 0.3 s&lt;/td&gt;
&lt;td&gt;98&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Anubis (&lt;code&gt;jldc.me&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;301 redirect to another host, which answers 403 with an HTML page&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The 20 Cert Spotter names are the same 20 as that small read on 19 November. So that run is easy to explain: everything except Cert Spotter was silent. The 106–109 runs are Cert Spotter plus subdomain.center (today those two together give 107, overlapping on only 12 names). And the 35 and 108 reads contained three names — &lt;code&gt;community.apify.com&lt;/code&gt;, &lt;code&gt;reply.apify.com&lt;/code&gt;, &lt;code&gt;podinfo.test.apify.com&lt;/code&gt; — that neither of today's two working sources returns. At that time a third source, crt.sh or Anubis, must have answered too.&lt;/p&gt;

&lt;p&gt;So &lt;code&gt;subdomainCount&lt;/code&gt; is not really a property of the domain. It measures how many free public APIs were up when you asked.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four names that aren't names
&lt;/h2&gt;

&lt;p&gt;Among the 109, four looked wrong at first glance:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;u003eproxy.apify.com
www.u003eproxy.apify.com
u003eproxy-securitybyobscurity.apify.com
www.u003eproxy-securitybyobscurity.apify.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;&amp;gt;&lt;/code&gt; is the JSON escape for &lt;code&gt;&amp;gt;&lt;/code&gt;. Somewhere upstream, a string like &lt;code&gt;&amp;gt;proxy.apify.com&lt;/code&gt; (probably scraped out of HTML or a log line) was escaped, then the backslash got lost, and &lt;code&gt;u003e&lt;/code&gt; stuck to the hostname as if it were letters. All four come from subdomain.center's answer, and none of them resolves in DNS. They pass a naive hostname filter because &lt;code&gt;u003eproxy&lt;/code&gt; is a perfectly valid label: lowercase letters and digits.&lt;/p&gt;

&lt;p&gt;My own filter (&lt;code&gt;/^[a-z0-9.-]+$/&lt;/code&gt; plus "ends with &lt;code&gt;.domain&lt;/code&gt;") let them through. It's a small bug, but it's a good reminder of what aggregator sources are: someone else's crawl, with someone else's parsing bugs, re-served as JSON.&lt;/p&gt;

&lt;p&gt;Two more patterns in the 109 are worth knowing about before you use the list for anything:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;40 of 109 are &lt;code&gt;www.&lt;/code&gt; + another subdomain&lt;/strong&gt; (&lt;code&gt;www.api.apify.com&lt;/code&gt;, &lt;code&gt;www.my.integrations.apify.com&lt;/code&gt;). Those are usually SAN entries on certificates or crawler guesses, not separate services.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;32 contain &lt;code&gt;securitybyobscurity&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;alpha-securitybyobscurity&lt;/code&gt;, &lt;code&gt;cms-securitybyobscurityu&lt;/code&gt;, &lt;code&gt;gamma-securitybyobscurityk&lt;/code&gt; …). I don't know what they are, and I'm not going to guess. What I can say is that the one I tried (&lt;code&gt;alpha-securitybyobscurity.apify.com&lt;/code&gt;) does not resolve. A name in a CT log means "a certificate was issued for this", not "a server answers here".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For comparison: of the names I spot-checked, &lt;code&gt;proxy.apify.com&lt;/code&gt;, &lt;code&gt;console.apify.com&lt;/code&gt; and, oddly, &lt;code&gt;knitting.apify.com&lt;/code&gt; do resolve.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"domains"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"apify.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"stripe.com"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"includeSubdomains"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"includeSsl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"includeTech"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From Python:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;apify_client&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"&amp;lt;YOUR_API_TOKEN&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;actor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"lergassy/domain-intelligence-scraper"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;call&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;run_input&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"domains"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"apify.com"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"includeSubdomains"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"defaultDatasetId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;iterate_items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"notice"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;continue&lt;/span&gt;  &lt;span class="c1"&gt;# the run summary row, not data&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"domain"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"subdomainCount"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"sslDaysUntilExpiry"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each domain is charged as one result (about $0.004; my run was billed $0.0036); unregistered or unreachable domains come back as a free &lt;code&gt;notice&lt;/code&gt; row. The last row of every run is also a free &lt;code&gt;notice&lt;/code&gt; with the run summary, so filter on &lt;code&gt;type != "notice"&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I'd use the subdomain list now
&lt;/h2&gt;

&lt;p&gt;After lining up these ten reads, here is what I'd tell anyone pulling subdomains from public sources, with my actor or any other:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Don't diff counts between runs.&lt;/strong&gt; A drop from 109 to 20 is far more likely to be an outage at crt.sh than a decommissioned fleet. If you monitor a domain over time, keep the union of everything you've seen, and treat a name as new only when it shows up for the first time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resolve before you believe.&lt;/strong&gt; A CT name is evidence that a certificate existed. Run a DNS lookup on each name; in my sample, several of the stranger ones returned nothing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strip escape-sequence junk.&lt;/strong&gt; Drop labels that start with &lt;code&gt;u00&lt;/code&gt; followed by hex. It's a cheap filter, and it would have removed all four bad rows here.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cert Spotter's free endpoint is a first page, not everything.&lt;/strong&gt; It answered fastest and most reliably, but it returned 50 certificates. For a domain with a long certificate history, that's a slice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If subdomain discovery is the whole job&lt;/strong&gt;, a dedicated enumeration tool with its own passive DNS data will beat four free APIs. This actor is built for the other case: you want registrar, expiry, SSL, mail setup and tech stack for a list of company domains in one row each, and subdomains are a bonus column.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  When not to use it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Security testing.&lt;/strong&gt; It reads public records only: no port scans, no probing of the subdomains it finds. For an attack-surface inventory you need resolution, port data and screenshots, which this doesn't do.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Historical WHOIS.&lt;/strong&gt; You get today's RDAP record. Past owners and old nameservers aren't in it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exact geolocation.&lt;/strong&gt; For anything behind a CDN, &lt;code&gt;hosting.city&lt;/code&gt; is the CDN edge that answered first, as the Washington/Dulles flip shows.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The thing that surprised me most wasn't the junk names. It was that the stable columns were so stable: ten reads, ten builds, and the registration, certificate and tech stack never disagreed with each other once. Those come from one authoritative source each (the registry, the TLS handshake, the page itself). The subdomains come from four volunteers, and on any given day some of them are asleep.&lt;/p&gt;

&lt;p&gt;The actor is here if you want to profile your own list: &lt;a href="https://apify.com/lergassy/domain-intelligence-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;Domain Intelligence Scraper on Apify&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webscraping</category>
      <category>dns</category>
      <category>security</category>
      <category>api</category>
    </item>
    <item>
      <title>I Asked for 'Nike' Twelve Times. Five Times Google Gave Me Nike Klara, an Advertiser With 11 Ads</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Wed, 25 Nov 2026 13:10:42 +0000</pubDate>
      <link>https://dev.to/matveyg/i-asked-for-nike-twelve-times-five-times-google-gave-me-nike-klara-an-advertiser-with-11-ads-40i0</link>
      <guid>https://dev.to/matveyg/i-asked-for-nike-twelve-times-five-times-google-gave-me-nike-klara-an-advertiser-with-11-ads-40i0</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and in the evenings I build scrapers on Apify. One of them reads the Google Ads Transparency Center, the public page where Google shows every ad a verified advertiser runs on Search, YouTube, Display and Shopping: &lt;a href="https://apify.com/lergassy/google-ads-transparency-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;Google Ads Transparency Scraper&lt;/a&gt;. You give it advertiser names, advertiser IDs or domains, and it returns one row per ad with the format, first and last shown dates, days shown, and preview links.&lt;/p&gt;

&lt;p&gt;The health check for it is the same input the form opens with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"advertisers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Nike"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Adidas"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxAdsPerAdvertiser"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"region"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"anywhere"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Between 17 and 22 November that check ran twelve times. The input was byte-for-byte identical every time; I compared the stored inputs. Every run ended SUCCEEDED within seconds. Adidas came back as &lt;code&gt;adidas&lt;/code&gt; with 25 ads in all twelve.&lt;/p&gt;

&lt;p&gt;Nike didn't. Seven runs returned &lt;strong&gt;Nike, Inc.&lt;/strong&gt; with 25 ads. Five runs returned &lt;strong&gt;Nike Klara&lt;/strong&gt;, a US advertiser, with 10 or 11 ads. The status line was cheerful either way:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Done: 36 ad(s) from 2 advertiser(s).
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No error, no empty dataset, no warning. If you weren't reading the &lt;code&gt;advertiserName&lt;/code&gt; column, you'd think Nike just had a quiet week.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a row looks like
&lt;/h2&gt;

&lt;p&gt;Here's one row from a run that picked the wrong Nike (the long preview URL trimmed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ad"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Nike"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"advertiserId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"AR17567291692413878273"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"advertiserName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Nike Klara"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"advertiserCountry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"US"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"creativeId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"CR16410362382024441857"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"format"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TEXT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"firstShown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2024-09-29T02:18:05.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"lastShown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-22T03:44:12.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"daysShown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;754&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"landingDomain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"adUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://adstransparency.google.com/advertiser/AR17567291692413878273/creative/CR16410362382024441857?region=anywhere"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"imageUrl"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://tpc.googlesyndication.com/archive/simgad/79455812208297419"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"width"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;364&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"height"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;481&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"scrapedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-22T20:05:16.058Z"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And one from a run that picked the right one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ad"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Nike"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"advertiserId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"AR16735076323512287233"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"advertiserName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Nike, Inc."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"advertiserCountry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"US"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"creativeId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"CR06888114686416388097"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"format"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TEXT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"firstShown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2022-11-30T14:58:58.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"lastShown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-22T03:07:56.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"daysShown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1289&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"landingDomain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Both are perfectly well-formed. That's the problem: a wrong advertiser doesn't look broken.&lt;/p&gt;

&lt;h2&gt;
  
  
  How a name becomes an advertiser
&lt;/h2&gt;

&lt;p&gt;The Transparency Center has no public API and no export. The page itself talks to a small set of RPC endpoints under &lt;code&gt;adstransparency.google.com/anji/_/rpc/&lt;/code&gt;. Two of them matter here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;SearchService/SearchSuggestions&lt;/code&gt; — what the search box calls while you type. It returns a short list of advertisers (name, verification country, ad count) and a list of domains.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;SearchService/SearchCreatives&lt;/code&gt; — the ads themselves, paged, filtered by advertiser ID, domain, region and format.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The body is a form field &lt;code&gt;f.req&lt;/code&gt; with JSON keyed by protobuf field numbers, not names:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST \
  &lt;span class="s1"&gt;'https://adstransparency.google.com/anji/_/rpc/SearchService/SearchSuggestions?authuser=0'&lt;/span&gt; \
  -H &lt;span class="s1"&gt;'content-type: application/x-www-form-urlencoded;charset=UTF-8'&lt;/span&gt; \
  -H &lt;span class="s1"&gt;'origin: https://adstransparency.google.com'&lt;/span&gt; \
  -H &lt;span class="s1"&gt;'referer: https://adstransparency.google.com/'&lt;/span&gt; \
  --data-urlencode &lt;span class="s1"&gt;'f.req={"1":"Nike","2":10,"3":10}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An advertiser ID is unambiguous, so the scraper passes it straight to &lt;code&gt;SearchCreatives&lt;/code&gt;. A name has to go through the suggestions first. The rule the scraper uses is: among suggested advertisers whose name starts with what you typed as a whole word ("Nike, Inc." yes, "Nikesh" no), take the one with the most ads. It's a reasonable rule. It assumes the big advertiser is in the list.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the suggestion list actually said
&lt;/h2&gt;

&lt;p&gt;So I asked the endpoint directly from my server on 25 November, six times in a row. Six identical answers. The ten advertisers suggested for "Nike", with the ad count Google reports for each:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Nike          KE      1
nikey         BG     10
Nikena        BG     28
Nikesh        IN      4
NIKE SRL      IT      5
Nike Srl      IT      1
Jan Nikel     CZ     11
nikethan g    IN     18
Nike Klara    US     11
NIKET SHAH    IN     10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Nike, Inc. is not there. Apply the whole-word rule and you're left with &lt;code&gt;Nike&lt;/code&gt;, &lt;code&gt;NIKE SRL&lt;/code&gt;, &lt;code&gt;Nike Srl&lt;/code&gt; and &lt;code&gt;Nike Klara&lt;/code&gt;. The biggest of those is Nike Klara with 11. That's exactly what five of my twelve runs returned.&lt;/p&gt;

&lt;p&gt;Then I changed one thing at a time:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Asking for 30 suggestions instead of 10.&lt;/strong&gt; "Nike, Inc." shows up, but three times, under different IDs, with 3, 1 and 1 ads. The real one still isn't in the list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Typing "Nike, Inc." instead of "Nike".&lt;/strong&gt; Now the first entry is Nike, Inc. with an ad count of 20,000.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keeping "Nike" but adding a region (field &lt;code&gt;4&lt;/code&gt;, United States).&lt;/strong&gt; The list changes completely. Nike, Inc. is second, with 10,000 ads, and the whole-word rule picks it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The same endpoint also suggested &lt;code&gt;nike.com&lt;/code&gt; as a domain in every answer. So the right answer was sitting in the response; it just wasn't in the advertiser half of it.&lt;/p&gt;

&lt;p&gt;Why seven of the twelve runs did get Nike, Inc. I can't tell you for certain. Each run goes out through a different datacenter proxy, and the suggestion list behaves like a typeahead tuned for whoever is typing — my guess is that where the request comes from changes what makes the top ten. I haven't proven that, so treat it as a guess. What I can say from the runs is that the outcome flipped back and forth across days: Nike Klara on 19 November, Nike, Inc. on the 20th, Nike Klara again that evening, Nike, Inc. on the 22nd, Nike Klara that night.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm changing, and what you should do today
&lt;/h2&gt;

&lt;p&gt;The fix on my side is to stop trusting a single top-10 typeahead answer for a name without a region: also look at the brand domain Google suggests in the same response, and ask for a wider list, then take whichever advertiser actually owns the most ads. That's in the queue; I'll update the changelog when it's out.&lt;/p&gt;

&lt;p&gt;But the more useful lesson is about inputs, not about my code:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;For anything you run more than once, use the advertiser ID.&lt;/strong&gt; It's the &lt;code&gt;AR…&lt;/code&gt; number in the URL of the advertiser's page in the Center. It never resolves to anything else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A name is fine for a first look, not for monitoring.&lt;/strong&gt; If you schedule a weekly pull by name, check that &lt;code&gt;advertiserId&lt;/code&gt; is the same every week. A changed ID is a changed company, not a changed strategy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A domain is a different question.&lt;/strong&gt; &lt;code&gt;nike.com&lt;/code&gt; returns ads from every advertiser that points to that domain, which can include resellers and agencies. Sometimes that's what you want.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If you only care about one market, set the region.&lt;/strong&gt; It narrows the suggestion list to advertisers visible there, which is exactly what fixed the Nike lookup.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The same check written in Python, with an ID instead of a name:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;apify_client&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ApifyClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"YOUR_APIFY_TOKEN"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;run&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;actor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"lergassy/google-ads-transparency-scraper"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;call&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run_input&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s2"&gt;"advertisers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"AR16735076323512287233"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="c1"&gt;# Nike, Inc.&lt;/span&gt;
    &lt;span class="s2"&gt;"maxAdsPerAdvertiser"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"defaultDatasetId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;iterate_items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"ad"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"advertiserName"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If that set ever contains more than one name, something upstream changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two smaller things the same runs showed
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;landingDomain&lt;/code&gt; was empty on every row.&lt;/strong&gt; Across the two datasets I checked, 0 of 36 and 0 of 50 ads had it, for both Nike and Adidas. Google publishes the landing domain for some advertisers and not for others; on Booking.com text ads it was filled on all ten when I measured it in October. An empty cell means Google didn't say, and the scraper doesn't guess one from the creative.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The history goes back further than you'd think.&lt;/strong&gt; The oldest &lt;code&gt;firstShown&lt;/code&gt; in these runs was 13 August 2022, and one creative reported 1,515 days shown. &lt;code&gt;daysShown&lt;/code&gt; is Google's own count, not &lt;code&gt;lastShown − firstShown&lt;/code&gt;, so an ad that paused for months still shows fewer days than the calendar gap.&lt;/p&gt;

&lt;h2&gt;
  
  
  When this isn't the right tool
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You want ads by keyword or topic.&lt;/strong&gt; The Center indexes advertisers, not ad text. You need to know whose ads you want.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need spend or impressions.&lt;/strong&gt; The Center doesn't publish them for commercial advertisers. Dates, formats, regions and creatives are what's there.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need Facebook or Instagram ads.&lt;/strong&gt; Different library, different tool: I use a &lt;a href="https://apify.com/lergassy/meta-ad-library-scraper" rel="noopener noreferrer"&gt;Meta Ad Library scraper&lt;/a&gt; for that.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For everything else — a competitor's full creative library, which formats they lean on, how long a creative stays live — the Transparency Center is the public record, and the &lt;a href="https://apify.com/lergassy/google-ads-transparency-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;scraper&lt;/a&gt; turns it into a table. Just give it IDs, and read the &lt;code&gt;advertiserName&lt;/code&gt; column at least once.&lt;/p&gt;

</description>
      <category>webscraping</category>
      <category>googleads</category>
      <category>marketing</category>
      <category>api</category>
    </item>
    <item>
      <title>Twelve of 25 Runs Came Back Two or Three Shorts Short. A Five-Cent Spending Cap Chose Which Ones</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Wed, 25 Nov 2026 05:10:40 +0000</pubDate>
      <link>https://dev.to/matveyg/twelve-of-25-runs-came-back-two-or-three-shorts-short-a-five-cent-spending-cap-chose-which-ones-2b0l</link>
      <guid>https://dev.to/matveyg/twelve-of-25-runs-came-back-two-or-three-shorts-short-a-five-cent-spending-cap-chose-which-ones-2b0l</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and in the evenings I build scrapers on Apify. One of them pulls YouTube Shorts: &lt;a href="https://apify.com/lergassy/youtube-shorts-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;YouTube Shorts Scraper&lt;/a&gt;. You give it channels, hashtags or search queries, and it returns one row per Short with views, likes, comment count, publish date and the channel behind it.&lt;/p&gt;

&lt;p&gt;Its health check is the same input every time: the 20 newest Shorts of &lt;code&gt;@mkbhd&lt;/code&gt; and 20 Shorts from the &lt;code&gt;#bali&lt;/code&gt; hashtag feed. Between 30 October and 22 November that check ran 25 times. Every run finished with status SUCCEEDED, in 7 to 53 seconds. Thirteen runs returned 40 Shorts. Twelve returned 37 or 38.&lt;/p&gt;

&lt;p&gt;My first guess was blocking. YouTube does refuse requests now and then, and the actor retries those on other routes. But the short runs weren't slow — most of them took about nine seconds — and the missing rows weren't random. They were always the last positions of one source.&lt;/p&gt;

&lt;h2&gt;
  
  
  The job
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"channels"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"mkbhd"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"hashtags"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"bali"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxShortsPerSource"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"includeDetails"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"includeChannelInfo"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From code it's one call that waits for the run and returns the rows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST \
  &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~youtube-shorts-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"channels":["mkbhd"],"hashtags":["bali"],"maxShortsPerSource":20}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A row from the last run, trimmed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"short"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"channel"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sourceValue"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"mkbhd"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"position"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"videoId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ai1gIWacf0I"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"This can SEE Sound!"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"viewsText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2.7M views"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"views"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2782767&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"likes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;77924&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"commentsText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1.5K"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"comments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1500&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"dateText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Oct 27, 2026"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"publishedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-10-27"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelHandle"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"@mkbhd"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelSubscribers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;21400000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelCountry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"United States"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelJoinedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2008-03-21"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"scrapedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-22T20:06:37.985Z"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two fields matter for this story: &lt;code&gt;position&lt;/code&gt;, the place of the Short inside its source, and the last row of every dataset, a &lt;code&gt;type: "notice"&lt;/code&gt; row with the run summary.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the three Shorts went
&lt;/h2&gt;

&lt;p&gt;Here is what the channel source returned, by position, in a full run and in a short one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;2026-11-01  ai1g _4EL R6yN uJdj v-_d kUnR ... jru9 eGKY McE6 Qr4a LXmN   (20)
2026-11-02  ai1g _4EL R6yN uJdj v-_d kUnR ... jru9 eGKY                  (17)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same order, same first 17, tail cut off. In ten of the twelve short runs it was &lt;code&gt;@mkbhd&lt;/code&gt; that lost its tail; in two it was &lt;code&gt;#bali&lt;/code&gt; (one run got 18 hashtag Shorts, one got 17), and the channel came back complete.&lt;/p&gt;

&lt;p&gt;The notice row explained it in one line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Run summary: 37 row(s) delivered, 0 free; charged short ×37 = $0.04995.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The runs come with a &lt;strong&gt;maximum total charge&lt;/strong&gt; — a spending cap the caller sets on a pay-per-event Actor. The twelve short runs all had it at &lt;code&gt;$0.05&lt;/code&gt;. The other thirteen had &lt;code&gt;$1&lt;/code&gt; or more. With the per-Short price on that run at $0.00135, the arithmetic is unforgiving:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Rows&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;37&lt;/td&gt;
&lt;td&gt;$0.04995&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;38&lt;/td&gt;
&lt;td&gt;$0.05130&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;40&lt;/td&gt;
&lt;td&gt;$0.05400&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Forty Shorts don't fit under five cents. When the platform tells the Actor the cap is reached, it stops pushing rows. Which source loses depends only on which one is still working at that moment, so it changes from run to run. The two sources run in parallel, and that's probably also why four of the runs show 38 rows at $0.0513, a hair over the cap: two rows were charged at almost the same instant. I haven't proved that; it's my best reading of the timing.&lt;/p&gt;

&lt;p&gt;None of this is a bug in the sense of wrong data. Every row that came back was correct. But a run that ends with SUCCEEDED and 37 rows looks exactly like a channel that only has 37 Shorts, and if you're building a dashboard on top of it, that difference is invisible unless you look.&lt;/p&gt;

&lt;p&gt;What I check now on my side:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;max(position)&lt;/code&gt; per source. If it's below what you asked for and the source is a big channel, the run was cut, not the channel.&lt;/li&gt;
&lt;li&gt;The notice row. It says how much was charged; compare it with your cap.&lt;/li&gt;
&lt;li&gt;Cap ≥ rows × price, with some room. For 40 Shorts that's anything from about six cents up. I had set five cents in a hurry and forgot about it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In Python the first check is three lines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Counter&lt;/span&gt;
&lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;items&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"short"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"sourceValue"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"position"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"sourceValue"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"sourceValue"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What 24 days of the same 20 Shorts look like
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;@mkbhd&lt;/code&gt; part turned out to be a nice time series by accident. All 25 runs saw the same 20 Shorts — the newest is from 27 October, the oldest of the twenty from 27 January — so the actor didn't see a single new Short on the channel in those 24 days. Views kept moving, though, and very unevenly:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Short&lt;/th&gt;
&lt;th&gt;Published&lt;/th&gt;
&lt;th&gt;Views 30 Oct&lt;/th&gt;
&lt;th&gt;Views 22 Nov&lt;/th&gt;
&lt;th&gt;Growth&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;This can SEE Sound!&lt;/td&gt;
&lt;td&gt;2026-10-27&lt;/td&gt;
&lt;td&gt;2,101,033&lt;/td&gt;
&lt;td&gt;2,782,825&lt;/td&gt;
&lt;td&gt;+32.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Every iPhone Camera vs LOW Light&lt;/td&gt;
&lt;td&gt;2026-03-30&lt;/td&gt;
&lt;td&gt;3,859,503&lt;/td&gt;
&lt;td&gt;4,658,672&lt;/td&gt;
&lt;td&gt;+20.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;This ZOOM is Insane!&lt;/td&gt;
&lt;td&gt;2026-07-20&lt;/td&gt;
&lt;td&gt;6,257,887&lt;/td&gt;
&lt;td&gt;7,070,266&lt;/td&gt;
&lt;td&gt;+13.0%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ASMR iPhone Duo Unboxing&lt;/td&gt;
&lt;td&gt;2026-10-21&lt;/td&gt;
&lt;td&gt;2,248,637&lt;/td&gt;
&lt;td&gt;2,357,867&lt;/td&gt;
&lt;td&gt;+4.9%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;This is NOT an iPhone&lt;/td&gt;
&lt;td&gt;2026-01-30&lt;/td&gt;
&lt;td&gt;5,979,463&lt;/td&gt;
&lt;td&gt;5,991,901&lt;/td&gt;
&lt;td&gt;+0.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The newest Short growing fastest is what you'd expect. An eight-month-old low-light camera comparison adding 800,000 views in three weeks is not. Something — search, a recommendation wave, someone's link — was still sending people to it. You only see that if you collect the same Shorts more than once; a single pull tells you nothing about which old Shorts are still alive.&lt;/p&gt;

&lt;p&gt;Two things about the counters before you trust them:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Comments are rounded.&lt;/strong&gt; YouTube shows "4.8K", and &lt;code&gt;comments&lt;/code&gt; is that text turned into a number: 4800. On &lt;code&gt;iPhone Duo is here&lt;/code&gt; it stayed at 4,800 for all 24 days. Below a thousand it's exact (974, 354), above it you get the rounding YouTube shows. Views and likes are exact.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Counters can go backwards.&lt;/strong&gt; Out of 453 pairs of consecutive reads of the same Short, views went down in 7 and likes went down in 8. All of them were between runs a few minutes apart, and the biggest drop was 160 views. Different YouTube servers return slightly different snapshots. If you compute "views gained since last check" on a schedule shorter than an hour, expect small negative numbers and don't alert on them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hashtag feed doesn't hold still
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;#bali&lt;/code&gt; was the opposite of &lt;code&gt;@mkbhd&lt;/code&gt;. Twenty-five reads of 20 Shorts gave me 77 different Shorts. Consecutive reads shared between 9 and 19 of their 20. Even runs ten minutes apart differed: 17 in common at 06:10 and 06:20 on 19 November, 19 in common at 23:23 and 23:30 on the 20th. The first and the last read shared five.&lt;/p&gt;

&lt;p&gt;Only one Short was in all 25 reads — a restaurant clip from September with 3.1 million views. And the feed is not what the word "Bali" suggests: 28 of the 77 Shorts came from one close-up magic channel that tags everything &lt;code&gt;#bali&lt;/code&gt;, and one of the regulars was about the Eiffel Tower. The publish dates ranged from November 2022 to 14 November 2026.&lt;/p&gt;

&lt;p&gt;So a hashtag feed is a sample, not a list. If you want "all Shorts about Bali this week", one pull of 20 is the wrong tool; pull a few hundred, deduplicate on &lt;code&gt;videoId&lt;/code&gt;, and filter on &lt;code&gt;publishedAt&lt;/code&gt; (the actor has a &lt;code&gt;publishedAfter&lt;/code&gt; filter, and Shorts it removes aren't charged). If you want "the Shorts YouTube is pushing for this tag right now", repeated small pulls are actually informative — the churn is the signal.&lt;/p&gt;

&lt;h2&gt;
  
  
  When not to use it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You need the video file or the transcript.&lt;/strong&gt; This returns data rows, not media.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need exact comment counts above 1,000.&lt;/strong&gt; You get YouTube's rounding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need a complete history of a hashtag.&lt;/strong&gt; The feed is a rotating sample, as above.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need numbers from the last hour.&lt;/strong&gt; For Shorts posted a few hours ago YouTube only shows "2 hours ago"; &lt;code&gt;publishedAt&lt;/code&gt; can be empty and &lt;code&gt;dateText&lt;/code&gt; keeps what was shown.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I'd tell myself a month ago
&lt;/h2&gt;

&lt;p&gt;A pay-per-event run with a spending cap ends quietly. It doesn't fail, and it doesn't skip a whole source — it stops wherever it happens to be. If the number of rows matters to you, check &lt;code&gt;position&lt;/code&gt; per source and set the cap above rows × price. I lost two or three Shorts in twelve runs to a five-cent cap I'd forgotten I had set, and spent longer suspecting YouTube than it took to read the last row of the dataset.&lt;/p&gt;

&lt;p&gt;The scraper is here if you want to run the same check on your own channels: &lt;a href="https://apify.com/lergassy/youtube-shorts-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;YouTube Shorts Scraper on Apify&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webscraping</category>
      <category>youtube</category>
      <category>api</category>
      <category>datascience</category>
    </item>
    <item>
      <title>Four 1-Star Fiverr Reviews Vanished From Trustpilot Between My Reads. All Four Authors Had Just Posted Again</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Tue, 24 Nov 2026 21:09:47 +0000</pubDate>
      <link>https://dev.to/matveyg/four-1-star-fiverr-reviews-vanished-from-trustpilot-between-my-reads-all-four-authors-had-just-d20</link>
      <guid>https://dev.to/matveyg/four-1-star-fiverr-reviews-vanished-from-trustpilot-between-my-reads-all-four-authors-had-just-d20</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and in the evenings I build scrapers on Apify. One of them reads Trustpilot: &lt;a href="https://apify.com/lergassy/trustpilot-reviews-api?fpr=wmeplu" rel="noopener noreferrer"&gt;Trustpilot Reviews Scraper &amp;amp; API&lt;/a&gt;. You give it a domain, it returns the company's TrustScore row and its reviews, newest first.&lt;/p&gt;

&lt;p&gt;Its health check is boring on purpose: the newest English reviews of &lt;code&gt;slack.com&lt;/code&gt; and &lt;code&gt;fiverr.com&lt;/code&gt;, the same input every time. Between 6 and 22 November that check ran fifteen times, thirteen of them with Fiverr in the input, and I kept every dataset. I lined them up to see how much a review feed moves in two weeks. Mostly it grows. But four Fiverr reviews that I had already collected were gone from later reads, even though they were newer than the oldest review those later reads returned. They hadn't slid off the end. They had dropped out of the middle.&lt;/p&gt;

&lt;p&gt;All four were 1-star. All four were unverified, organic, and complaints. Three were about identity verification for sellers. If you only see that much, the story writes itself. I'm glad I counted one more thing first.&lt;/p&gt;

&lt;h2&gt;
  
  
  The job
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"companies"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"slack.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"https://www.trustpilot.com/review/fiverr.com"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxReviews"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"languages"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"en"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sort"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"recency"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"includeCompanyRow"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From code it's one call that waits for the run and returns the rows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST \
  &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~trustpilot-reviews-api/run-sync-get-dataset-items?token=$APIFY_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"companies":["fiverr.com"],"maxReviews":100,"languages":"en"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A review row, trimmed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"rowType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"review"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"companyDomain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fiverr.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"companyTrustScore"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;3.4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"reviewId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"6afe448a93f85ed5dcc5a7b9"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Greatly appreciate the expertise my…"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"rating"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"publishedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-19T02:36:26.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"experiencedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-12T00:00:00.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"isVerified"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"verificationLevel"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"verified"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"reviewSource"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"InvitationApi"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"consumerId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"6afe448911240cfbec6c2c87"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"consumerCountry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"US"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"consumerReviewCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"consumerReviewsOfThisCompany"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"replyText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Hi there,\n\nThank you for this thoughtful review…"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"replyPublishedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-19T04:01:46.000Z"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The field that matters for this story is &lt;code&gt;consumerId&lt;/code&gt;. Trustpilot puts it in the page data; the page itself only shows a name.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I decided a review had "vanished"
&lt;/h2&gt;

&lt;p&gt;A review counts as vanished if it appeared in an earlier read, and a later read returned reviews both newer and older than it, but not it. That rules out the boring case where a review simply aged out of the newest 100.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;glob&lt;/span&gt;

&lt;span class="n"&gt;runs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;glob&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;glob&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"runs/*.json"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"rowType"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"review"&lt;/span&gt;
            &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"companyDomain"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"fiverr.com"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;runs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;vanished&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;later&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;runs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;oldest&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"publishedAt"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;later&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;ids&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"reviewId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;later&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;earlier&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;runs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;earlier&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"publishedAt"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;oldest&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"reviewId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;ids&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;vanished&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"reviewId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;vanished&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Slack it printed 0. For Fiverr, 4.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same people, new IDs
&lt;/h2&gt;

&lt;p&gt;Across the thirteen Fiverr reads there were &lt;strong&gt;154 distinct review IDs&lt;/strong&gt; and &lt;strong&gt;150 distinct &lt;code&gt;consumerId&lt;/code&gt;s&lt;/strong&gt;. Four more reviews than reviewers. And the four "extra" reviews were exactly the four that vanished.&lt;/p&gt;

&lt;p&gt;Grouped by reviewer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Reviewer A (PK)   6 Nov  1★  "Seller verification failed — support only sends automated…"   gone
                  7 Nov  1★  "Verification Failed Again and again"                           gone
                  8 Nov  1★  "Identity verification failed multiple times"                    still there on 19 Nov

Reviewer B (MA)   5 Nov  1★  "Fiverr is misleading the public"                               gone after 10 Nov
                 11 Nov  1★  "Fiverr has become a scammer's paradise"                         still there

Reviewer C (NG)  29 Oct  1★  "this is nonsense why can't i verify my account"                gone after 9 Nov
                 10 Nov  2★  "I am honestly disappointed with how…"                           still there
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each time the same person posted again, the earlier review stopped showing in the list, and the newest one stayed. Nobody's complaint disappeared from the profile; it got replaced by the same person's next complaint. Reviewer C even moved from one star to two.&lt;/p&gt;

&lt;p&gt;What I can't see from outside is the mechanism. The simplest reading is that a reviewer's newer review of the same company takes the place of the older one in the public list. But the counters don't line up neatly enough for me to claim it. Reviewer C's new review says &lt;code&gt;consumerReviewsOfThisCompany: 2&lt;/code&gt; while only one of the two is visible. Reviewer B's new review says &lt;code&gt;1&lt;/code&gt;. I'm reporting what the rows say, not why.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it matters if you monitor reviews
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A "new reviews" feed will count reposts as new.&lt;/strong&gt; The actor has an "only new rows" mode: give the run a memory name, schedule it, and each run returns only reviews it hasn't delivered before. It remembers them by &lt;code&gt;reviewId&lt;/code&gt;. A reposted complaint has a new &lt;code&gt;reviewId&lt;/code&gt;, so it comes through as new. That's arguably right — it is a new text with a new date — but if you're counting "new complaints this week", count distinct &lt;code&gt;consumerId&lt;/code&gt;s, not rows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"Deleted" isn't a safe conclusion.&lt;/strong&gt; If you diff two exports and call missing rows "removed by the company" or "removed by Trustpilot", check the author first. In my window, 4 out of 4 missing rows had a newer review from the same &lt;code&gt;consumerId&lt;/code&gt;. Zero went missing without a replacement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep the history yourself.&lt;/strong&gt; Once a review is replaced, the public page doesn't show the old text. If the first version matters to you (it often does in disputes), the only copy is the one you stored.&lt;/p&gt;

&lt;h2&gt;
  
  
  The second thing the 100 rows showed
&lt;/h2&gt;

&lt;p&gt;The company row for Fiverr on 19 November:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"rowType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"company"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"companyDomain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fiverr.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"trustScore"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;3.4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"reviewCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;16281&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"reviewCountLast12Months"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2203&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"isClaimed"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The newest 100 English reviews in the same run (17 October to 19 November):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;Reviews&lt;/th&gt;
&lt;th&gt;Average stars&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;Organic&lt;/code&gt; (written unprompted)&lt;/td&gt;
&lt;td&gt;72&lt;/td&gt;
&lt;td&gt;1.39&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;InvitationApi&lt;/code&gt; (invited by the company)&lt;/td&gt;
&lt;td&gt;24&lt;/td&gt;
&lt;td&gt;4.67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;BasicLink&lt;/code&gt; (invitation link)&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;2.25&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;All&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;2.21&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;62 of the 100 were one star. The TrustScore on the same page was 3.4. That isn't a contradiction I can resolve: TrustScore is computed by Trustpilot over a longer history with its own weighting, and 100 recent English reviews aren't a sample of that. But if you're about to quote a TrustScore as "what customers think right now", look at the recent rows split by &lt;code&gt;reviewSource&lt;/code&gt; first. The invited reviews and the unprompted ones are describing two very different companies.&lt;/p&gt;

&lt;p&gt;Slack, for comparison, is not claimed on Trustpilot. Its newest 100 English reviews went back to September 2023, 99 of them organic, average 2.2 stars, zero company replies. Fiverr answered 98 of its 100.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;reviewCount&lt;/code&gt; itself also isn't monotonic. Over the same reads Fiverr's total went 16,254 → 16,256 → 16,253 → 16,260 → … → 16,290. A total that goes down is reviews being removed or merged somewhere in 16 thousand. Don't compute "new reviews per day" as the difference of two totals.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Trustpilot puts in the way
&lt;/h2&gt;

&lt;p&gt;Trustpilot sits behind an AWS WAF challenge: the first request without a token gets a "Verifying Connection" page with a JavaScript puzzle. The actor opens one headless Chromium page, lets it solve the puzzle (about 2.2 seconds in the latest run), takes the &lt;code&gt;aws-waf-token&lt;/code&gt; cookie, and then reads every page with plain HTTP requests carrying that cookie. The review data is in the page's &lt;code&gt;__NEXT_DATA__&lt;/code&gt; JSON, which is why fields like &lt;code&gt;consumerId&lt;/code&gt;, &lt;code&gt;reviewSource&lt;/code&gt; and &lt;code&gt;consumerReviewsOfThisCompany&lt;/code&gt; come out even though the page doesn't print them.&lt;/p&gt;

&lt;p&gt;The other wall is pagination. A logged-out visitor sees at most 10 pages, 200 reviews, of any one filter. To go past that, the actor reads narrower slices — one star level at a time, the other sort order, shorter date windows, topics, keywords — and merges them by &lt;code&gt;reviewId&lt;/code&gt;. That works for big profiles, but it's not a guarantee of "every review ever": it's as many as the slices reach.&lt;/p&gt;

&lt;p&gt;Pricing is per row: $0.0005 per review and $0.003 per company row, no start fee. The spending cap you set on a run is respected: one of my reads had a $0.05 cap, stopped at 99 reviews plus 2 company rows, and said so in the log rather than failing.&lt;/p&gt;

&lt;h2&gt;
  
  
  When not to use this
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You own the profile.&lt;/strong&gt; Trustpilot's own business tools give you your own reviews directly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need the old text of edited reviews.&lt;/strong&gt; A scraper sees the current version. Store your own history if you need versions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need every review of a 100k-review company in one go.&lt;/strong&gt; Slicing gets far past 200, but on a profile like booking.com (131,105 reviews in the company row on 22 November) plan for a long run and expect gaps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You want a sentiment score.&lt;/strong&gt; You get stars, text and source; the analysis is yours.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What it is for: a stable feed of reviews with an ID, a reviewer ID, the source of the review and the company's reply, for any domain, without an account. Just join on &lt;code&gt;consumerId&lt;/code&gt; before you decide a complaint was deleted.&lt;/p&gt;

</description>
      <category>webscraping</category>
      <category>python</category>
      <category>datascience</category>
      <category>api</category>
    </item>
    <item>
      <title>Six of Veritasium's Last 51 Videos Changed Title Between My Reads. MKBHD's Changed None</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Tue, 24 Nov 2026 13:10:30 +0000</pubDate>
      <link>https://dev.to/matveyg/six-of-veritasiums-last-51-videos-changed-title-between-my-reads-mkbhds-changed-none-3kdo</link>
      <guid>https://dev.to/matveyg/six-of-veritasiums-last-51-videos-changed-title-between-my-reads-mkbhds-changed-none-3kdo</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and in the evenings I build scrapers on Apify. One of them lists the videos of a YouTube channel: &lt;a href="https://apify.com/lergassy/youtube-channel-videos-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;YouTube Channel Videos Scraper&lt;/a&gt;. You give it handles, it reads the Videos, Shorts or Live tab the way the website does and returns one row per video.&lt;/p&gt;

&lt;p&gt;I check it with the same small job every few days: the latest 50 videos of &lt;code&gt;@veritasium&lt;/code&gt; and &lt;code&gt;@mkbhd&lt;/code&gt;. Same input, same tab, nothing clever. Between 14 and 22 November that job ran ten times, and I kept the datasets. When I put them side by side I expected the view counts to move. I didn't expect the titles to.&lt;/p&gt;

&lt;h2&gt;
  
  
  The job
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"channels"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"veritasium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"mkbhd"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"tab"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"videos"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxVideosPerChannel"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every one of the ten runs returned 100 rows, 50 per channel. Across all ten there were 102 distinct &lt;code&gt;videoId&lt;/code&gt;s: 51 per channel, because each channel published one new video during the window and the oldest one slid off the end.&lt;/p&gt;

&lt;p&gt;From code, it's a single request that waits for the run and gives back the rows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST \
  &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~youtube-channel-videos-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"channels":["veritasium","mkbhd"],"tab":"videos","maxVideosPerChannel":50}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A row looks like this (trimmed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"video"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"channelName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Veritasium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"position"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"videoId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"uXuQF_PPg5U"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"The Simplest Math Problem No Computer Can Solve"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"views"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3300000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"viewsText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"3.3M"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"publishedText"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"3d ago"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"38:48"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The count
&lt;/h2&gt;

&lt;p&gt;I grouped every row by &lt;code&gt;videoId&lt;/code&gt; and checked whether the title was the same in every read.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Marques Brownlee:&lt;/strong&gt; 51 videos, &lt;strong&gt;0&lt;/strong&gt; with more than one title.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Veritasium:&lt;/strong&gt; 51 videos, &lt;strong&gt;6&lt;/strong&gt; with more than one title, and &lt;strong&gt;16&lt;/strong&gt; switches between consecutive reads.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those six were not all fresh uploads. In the last read they sat at positions 1, 2, 3, 18, 30 and 50 on the tab. Position 50 is roughly the oldest video the job could see at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  One video, five titles
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;uXuQF_PPg5U&lt;/code&gt; first showed up on 19 November, when the tab said it was 9 hours old. These are its titles in order, one per read:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;19 Nov 06:08  The World Depends on Random Numbers That Aren't Really Random
19 Nov 06:11  The World Depends on Random Numbers That Aren't Really Random
19 Nov 14:56  Most people don't understand randomness.
20 Nov 22:24  Randomness is a lie. Let me explain
20 Nov 22:32  The Simplest Math Problem No Computer Can Solve
21 Nov 20:07  The Simplest Math Problem No Computer Can Solve
22 Nov 15:39  This Simple Task Is Impossible for Computers
22 Nov 15:41  This Simple Task Is Impossible for Computers
22 Nov 20:17  The Simplest Math Problem No Computer Can Solve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Five titles in nine reads over three and a half days. Note the last line: the "Simplest Math Problem" title came back after a different one had been showing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reads three minutes apart disagreed
&lt;/h2&gt;

&lt;p&gt;On 19 November two runs went out at 06:08 and 06:11. Same input, same code. Two of the older videos came back with different titles:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;jjp3WC8Unj8   06:08  The Opposite of Matter
              06:11  The Closest Thing We Have To Alien Matter

qJZ1Ez28C-A   06:08  Proving That Everything is Everywhere All at Once
              06:11  The Strangest Implication of Quantum Mechanics
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;qJZ1Ez28C-A&lt;/code&gt; kept doing this. Across the ten reads it went A, A, B, B, A, A, B, B, B, B: two titles taking turns, four switches.&lt;/p&gt;

&lt;p&gt;Here is my reading, and I want to be clear that it is a reading, not something I can see from outside: this looks like a title test, where different visitors are shown different titles and the channel keeps whichever gets clicked more. Whether it's YouTube's own testing tool or someone on the team editing by hand, the data doesn't say. What the data does say is that "the title of this video" is not one value at a given moment. It depends on which variant your request was served.&lt;/p&gt;

&lt;p&gt;The other three changes look more like a decision than a test, because the new title stuck:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;KfODG5REyss  "...quantum mechanics with my own eyes..."  →  "...quantum physics with my own eyes..."
Y-W-w8yNiKU  "Why is there antimatter?"                   →  "Why does antimatter exist?"
eyZEqSPeMwg  "No device could prove Einstein wrong... until now"
             → "Relativity is so much weirder than we thought..."
             → "General Relativity Is Actually About Time, Not Space"   (one read)
             → "Relativity is so much weirder than we thought..."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;eyZEqSPeMwg&lt;/code&gt; was already three weeks old when it was renamed. Titles of old videos aren't frozen either.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this breaks
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Joins on title.&lt;/strong&gt; If you track a competitor's catalogue in a spreadsheet and match yesterday's rows to today's by title, 6 of 51 Veritasium videos would have dropped out and come back as "new" in this window. Key on &lt;code&gt;videoId&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deduplication.&lt;/strong&gt; Same thing in reverse: two rows with different titles can be the same video. If you dedupe by &lt;code&gt;(channel, title)&lt;/code&gt; you'll double-count.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"What topics work" analysis.&lt;/strong&gt; People pull a channel's videos, sort by views and read the top titles as the formula. But the views on &lt;code&gt;uXuQF_PPg5U&lt;/code&gt; were earned under five different titles. The title you see next to "3.3M" is just the one that was being served when you looked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One read is one sample.&lt;/strong&gt; For a channel that tests titles, a single scrape tells you which variant one request got. If titles matter to your analysis, read more than once and keep the history.&lt;/p&gt;

&lt;p&gt;Here's the small script I used to find the changes. It takes a folder of dataset JSON files, one per run, named so they sort by time:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;glob&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt;

&lt;span class="n"&gt;history&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;glob&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;glob&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"runs/*.json"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;"video"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;continue&lt;/span&gt;
        &lt;span class="n"&gt;history&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"videoId"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"views"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;vid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;reads&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;history&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;titles&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;reads&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;titles&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;switches&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;zip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;titles&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;titles&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;vid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{len(set(titles))} titles, {switches} switches"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;views&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;reads&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"   "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;views&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  A bug I found while counting
&lt;/h2&gt;

&lt;p&gt;While lining up the view counts I noticed something that had nothing to do with titles and everything to do with my own code. On 19 November the newest Veritasium video came back like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;viewsText: "600K"   views: 600
viewsText: "886K"   views: 886
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The parser takes the number from the accessibility label, which reads &lt;code&gt;600 thousand views&lt;/code&gt;, and looks for a &lt;code&gt;K&lt;/code&gt;, &lt;code&gt;M&lt;/code&gt; or &lt;code&gt;B&lt;/code&gt; right after the digits:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;match&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;?:&lt;/span&gt;\&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;\&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="no"&gt;KMB&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;?/&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The match is case-insensitive, so &lt;code&gt;2.4 million views&lt;/code&gt; works by accident: the &lt;code&gt;m&lt;/code&gt; of "million" is read as the M suffix. Same for "billion". But "thousand" starts with a &lt;code&gt;t&lt;/code&gt;, so &lt;code&gt;600 thousand&lt;/code&gt; becomes 600. Every video between a thousand and a million views gets a number a thousand times too small, and the &lt;strong&gt;Minimum views&lt;/strong&gt; filter gets fooled by it too.&lt;/p&gt;

&lt;p&gt;On these two channels it showed up in exactly 3 of 1,000 rows, because almost everything they publish is past a million within a day. On a small channel it would be most of the rows. The same parser sits in the other YouTube actors I maintain, so the fix is queued for all of them, not just this one. Until the new build is live, if you work with channels under a million views per video, compare &lt;code&gt;views&lt;/code&gt; with &lt;code&gt;viewsText&lt;/code&gt; before you trust it.&lt;/p&gt;

&lt;p&gt;Lesson for me: two channels with millions of views each were a bad choice of health check, because they never exercise the "thousand" path. A check should include one small channel.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the tab gives and doesn't give
&lt;/h2&gt;

&lt;p&gt;The channel tab shows rounded numbers ("3.3M"), a relative date ("3d ago") and no likes or comments. If you need exact views, likes, comment count, the real publish date and the description, there's an option that opens every video's page for those. It costs $0.0005 per video on top of the base $0.00045 per video, and it's slower, because it's one extra request per video instead of one page per few dozen videos.&lt;/p&gt;

&lt;p&gt;What no scraper of the public page can give you: the results of a title test, impressions, click-through rate, watch time. Those live in YouTube Analytics, and only the channel owner sees them. From outside, all you get is which title your request was served at the moment you asked.&lt;/p&gt;

&lt;h2&gt;
  
  
  When not to use this
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You need the winning title of a test.&lt;/strong&gt; Scraping shows you variants, not results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need real-time counts.&lt;/strong&gt; Tab numbers are rounded and cached; even with exact numbers on, a read is a snapshot.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You own the channel.&lt;/strong&gt; The YouTube Data API and YouTube Analytics give you your own data properly, including the numbers above.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need comments.&lt;/strong&gt; This lists videos; comments are a different job.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If what you need is "every video this channel has, with views and a stable ID, without an API key or a daily quota", that's what it's for. Just don't treat the title as an ID.&lt;/p&gt;

</description>
      <category>youtube</category>
      <category>webscraping</category>
      <category>python</category>
      <category>datascience</category>
    </item>
    <item>
      <title>Gemini Cited 25 Sources Across Three Answers. Strip the '#:~:text=' and It Was 10 Pages</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Tue, 24 Nov 2026 05:12:20 +0000</pubDate>
      <link>https://dev.to/matveyg/gemini-cited-25-sources-across-three-answers-strip-the-text-and-it-was-10-pages-2bam</link>
      <guid>https://dev.to/matveyg/gemini-cited-25-sources-across-three-answers-strip-the-text-and-it-was-10-pages-2bam</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and in the evenings I build data tools on Apify. One of them asks AI assistants questions and saves the answers as rows: &lt;a href="https://apify.com/lergassy/chatgpt-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;ChatGPT Scraper&lt;/a&gt;. It started as ChatGPT-only and now also asks Gemini, Google AI Mode and the AI Overview that sits on top of Google results. The people who use it mostly do "AI visibility" work: which brands an assistant recommends, and which websites it trusts enough to cite.&lt;/p&gt;

&lt;p&gt;That second question sounds like counting. You take the &lt;code&gt;citations&lt;/code&gt; array, group by domain, done. This morning I ran one small test and found out the counting is the hard part.&lt;/p&gt;

&lt;h2&gt;
  
  
  The run
&lt;/h2&gt;

&lt;p&gt;Three prompts, four engines, US / English, from a test account on the Free plan:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"prompts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"best coworking space in Canggu Bali"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"best CRM for startups"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"how do I claim compensation for a delayed flight in the EU"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"engines"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"chatgpt"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"gemini"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"google_ai_mode"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"google_ai_overview"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"country"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"United States"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"language"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"English"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's 12 prompt-engine pairs. The run took 55 seconds. 11 came back with an answer. The twelfth, AI Overview for the coworking prompt, came back as an error row: &lt;code&gt;Google AI Overview request failed: Internal SE Server Error. (40101). Not charged.&lt;/code&gt; Upstream hiccups happen; the point is that the failure is a row you can see and filter, not a silent gap.&lt;/p&gt;

&lt;p&gt;Calling it from code is one request. This waits for the run and returns the dataset:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -X POST \
  &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/lergassy~chatgpt-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"prompts":["best CRM for startups"],"engines":["chatgpt","gemini"],"country":"US","language":"en"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The 11 answers carried 71 citations in total. Here is what was inside those 71.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Gemini cites the same page five times
&lt;/h2&gt;

&lt;p&gt;Gemini's answer to the flight-compensation question had 10 citations. Five of them were this page:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://heygyro.com/blog/how-to-claim-flight-compensation#:~:text=What%20evidenc...
https://heygyro.com/blog/how-to-claim-flight-compensation#:~:text=Gather%20these...
https://heygyro.com/blog/how-to-claim-flight-compensation#:~:text=How%20do%20I%2...
https://heygyro.com/blog/how-to-claim-flight-compensation#:~:text=*%20State%20yo...
https://heygyro.com/blog/how-to-claim-flight-compensation#:~:text=Cooperative%20...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Gemini links each sentence of its answer to the exact passage it came from, using a text fragment (&lt;code&gt;#:~:text=&lt;/code&gt;). For a reader it's nice: the link jumps to the highlighted sentence. For counting it's a trap: each fragment is a distinct URL string, so a naive &lt;code&gt;len(set(urls))&lt;/code&gt; counts one page five times.&lt;/p&gt;

&lt;p&gt;Across all three Gemini answers: &lt;strong&gt;25 citations, 10 unique pages&lt;/strong&gt;. Coworking: 9 citations, 3 pages (6 of the 9 were &lt;code&gt;balisquad.com&lt;/code&gt;). CRM: 6 citations, 3 pages. Flights: 10 citations, 4 pages.&lt;/p&gt;

&lt;p&gt;ChatGPT, AI Mode and AI Overview had no such duplicates in this run: their citation counts equalled their unique-page counts. So if you compare engines by "number of sources cited", Gemini looks two and a half times more generous than it is.&lt;/p&gt;

&lt;p&gt;The fix is one line, and you want it before any counting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;page&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"#"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Google cites google.com
&lt;/h2&gt;

&lt;p&gt;11 of the 71 citations had the domain &lt;code&gt;google.com&lt;/code&gt;. They came from the two Google engines, and they are two different things.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Overview&lt;/strong&gt; wraps some sources in a redirect: &lt;code&gt;https://google.com/goto?url=CAESawHEIk...&lt;/code&gt;. The &lt;code&gt;url&lt;/code&gt; parameter is an opaque token, not the destination. The title survives, so you can see what it was: &lt;em&gt;"Compensation for flight delay to/from EU country - Reddit"&lt;/em&gt;, &lt;em&gt;"Compensation for Delayed or Cancelled Flights: Up to €600! - EUclaim"&lt;/em&gt;. 6 of AI Overview's 22 citations looked like this. If you group by domain, Reddit and EUclaim disappear and google.com becomes one of the most-cited sites on air passenger rights.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Mode&lt;/strong&gt; did something else on the coworking question: 5 of its 6 citations were &lt;code&gt;https://www.google.com/searchviewer/...&lt;/code&gt; links titled &lt;em&gt;PUCO Rooftop Coworking space &amp;amp; Eatery&lt;/em&gt;, &lt;em&gt;Tropical Nomad Coworking Space&lt;/em&gt;, &lt;em&gt;Workmates Coworking Space and Cafe Canggu by Wonderspace&lt;/em&gt;. Those are Google's own place cards. The businesses are real; the "source" is Google Maps, not their websites. The sixth citation was &lt;code&gt;zin.world&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;So for local and some informational prompts, a chunk of what Google's AI "cites" is Google. For an AI-visibility report that's a real finding (the assistant leaned on Maps, not on anyone's blog), but it should be its own category, not a domain in the leaderboard. In my own analysis I now split citations into three buckets: external page, Google place card, Google redirect with title only.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. ChatGPT read 12 pages and cited none
&lt;/h2&gt;

&lt;p&gt;ChatGPT's answer to the coworking question had &lt;strong&gt;zero&lt;/strong&gt; citations. It still searched: &lt;code&gt;usedWebSearch&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;, the search query it ran was &lt;code&gt;best coworking spaces in Canggu Bali 2026 facilities wifi community prices&lt;/code&gt;, and &lt;code&gt;searchResults&lt;/code&gt; held 12 pages from 10 domains: mindseat.co, balisquad.com, thehoneycombers.com, explorecanggu.com, nomadsinasia.com and others.&lt;/p&gt;

&lt;p&gt;It answered with a ranked list (BWork Bali first, then Tropical Nomad, then PUCO Rooftop) with day-pass prices in rupiah, and attached six local business cards: address, phone, and for some a rating. Tropical Nomad's card says 4.5 from 403 reviews; BWork's has the rating empty.&lt;/p&gt;

&lt;p&gt;On the CRM question it did cite, 8 sources, but the overlap with what it read was small. Its search returned 12 pages; only 2 of the 8 cited domains (stackbytrade.com, stacknpilot.com) were among them. Five of the 8 citations were the vendors' own sites: hubspot.com, attio.com, pipedrive.com, zoho.com, salesforce.com. The other 10 domains it read (spotsaas.com, techrepublic.com, softwarecompare.net and so on) were not cited at all.&lt;/p&gt;

&lt;p&gt;If you only look at citations, the review sites that shaped the answer are invisible. That's why the scraper keeps &lt;code&gt;searchResults&lt;/code&gt; and &lt;code&gt;fanOutQueries&lt;/code&gt; as separate fields: "what it read" and "what it showed" are different lists, and for GEO work the first one is often the more useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Four engines, almost no shared sources
&lt;/h2&gt;

&lt;p&gt;After cleaning (fragments stripped, google.com set aside), here is which domains were cited by more than one engine:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Prompt&lt;/th&gt;
&lt;th&gt;Shared by 3 engines&lt;/th&gt;
&lt;th&gt;Shared by 2&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Coworking in Canggu&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best CRM for startups&lt;/td&gt;
&lt;td&gt;salesforce.com&lt;/td&gt;
&lt;td&gt;hubspot.com, attio.com, reddit.com, youtube.com&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;EU flight compensation&lt;/td&gt;
&lt;td&gt;europa.eu&lt;/td&gt;
&lt;td&gt;eccnet.eu, aa.com&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For the coworking question not a single domain was cited by two engines. Gemini mostly leaned on balisquad.com, AI Mode on Google place cards, ChatGPT cited nothing. For the CRM question the only thing all three citing engines agreed on was Salesforce's own site. For flights, the official EU portal made it into three of four answers.&lt;/p&gt;

&lt;p&gt;One more normalisation trap hides in that last row. Gemini cited &lt;code&gt;commission.europa.eu&lt;/code&gt;, ChatGPT cited &lt;code&gt;transport.ec.europa.eu&lt;/code&gt; and &lt;code&gt;europa.eu&lt;/code&gt;. By exact hostname they don't match; by registrable domain they are all &lt;code&gt;europa.eu&lt;/code&gt;. Decide which one you mean before you compute an overlap, because the answer changes.&lt;/p&gt;

&lt;p&gt;Three prompts is an anecdote, not a study. But it was enough to show that a "sources per engine" chart built from raw citation arrays would have been wrong in three different directions at once.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other things worth knowing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The &lt;code&gt;model&lt;/code&gt; field is whatever the engine reports.&lt;/strong&gt; ChatGPT said &lt;code&gt;gpt-6&lt;/code&gt; all three times. Gemini said &lt;code&gt;3.5 Flash-Lite&lt;/code&gt; once and &lt;code&gt;4 Hydrogen&lt;/code&gt; twice in the same run. I store it as-is; don't build a model-version chart on it without checking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google's two AI features behave differently.&lt;/strong&gt; AI Overview only appears for some searches; when Google shows none, the row is a free notice instead of an answer. AI Mode answers almost anything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Answers change between runs.&lt;/strong&gt; &lt;code&gt;answeredAt&lt;/code&gt; is per row, and &lt;code&gt;cacheHours&lt;/code&gt; is 0 by default, so every run asks fresh. If you track a prompt over time, keep the raw rows; you'll want to re-clean them when you find the next trap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;There's a run-summary row&lt;/strong&gt; with &lt;code&gt;type: "notice"&lt;/code&gt; at the end of the dataset. Filter &lt;code&gt;type != "notice"&lt;/code&gt; and &lt;code&gt;type != "error"&lt;/code&gt; before analysis.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When not to use this
&lt;/h2&gt;

&lt;p&gt;If you need the model's own opinion without web search, call the model's API directly; it's cheaper and you control the system prompt. This tool is for the opposite case: you want the answer the way a person sees it in chatgpt.com, Gemini or Google, with the sources and cards that come with it. It's also not a substitute for a real panel: one country, one language and one moment per row.&lt;/p&gt;

&lt;p&gt;The cleaning code from this post, roughly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parse&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;urlparse&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;bucket&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;u&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="s2"&gt;"google.com/goto"&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;u&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"google-redirect"&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="s2"&gt;"google.com/searchviewer"&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;u&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"google-place"&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"external"&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;clean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"notice"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;continue&lt;/span&gt;
        &lt;span class="n"&gt;seen&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"citations"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"#"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;seen&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="k"&gt;continue&lt;/span&gt;
            &lt;span class="n"&gt;seen&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"engine"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"engine"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"prompt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"prompt"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                        &lt;span class="s2"&gt;"bucket"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;bucket&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"host"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;urlparse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;hostname&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                        &lt;span class="s2"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On my 71 raw citations this leaves 56 unique pages, of which 45 are external. That's the number I should have started from.&lt;/p&gt;

&lt;p&gt;If you want to try the same three prompts or your own, the Actor is here: &lt;a href="https://apify.com/lergassy/chatgpt-scraper?fpr=wmeplu" rel="noopener noreferrer"&gt;ChatGPT Scraper on Apify&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>seo</category>
      <category>webscraping</category>
      <category>python</category>
    </item>
    <item>
      <title>I Cut My Flight MCP Answers by 75% for the Agent. The Fields I Cut Were the Ones That Explained the Prices</title>
      <dc:creator>Matvey</dc:creator>
      <pubDate>Mon, 23 Nov 2026 21:10:24 +0000</pubDate>
      <link>https://dev.to/matveyg/i-cut-my-flight-mcp-answers-by-75-for-the-agent-the-fields-i-cut-were-the-ones-that-explained-the-4d9p</link>
      <guid>https://dev.to/matveyg/i-cut-my-flight-mcp-answers-by-75-for-the-agent-the-fields-i-cut-were-the-ones-that-explained-the-4d9p</guid>
      <description>&lt;p&gt;I run a visa agency in Bali, and in the evenings I build data tools on Apify. One of them is not a scraper but an MCP server: &lt;a href="https://apify.com/lergassy/flights-mcp-server?fpr=wmeplu" rel="noopener noreferrer"&gt;Flights MCP Server&lt;/a&gt;. You point Claude, Cursor or any MCP client at one URL, and the agent gets four tools — &lt;code&gt;search_flights&lt;/code&gt;, &lt;code&gt;compare_flight_prices&lt;/code&gt;, &lt;code&gt;cheapest_dates&lt;/code&gt;, &lt;code&gt;cheap_destinations&lt;/code&gt;. Each tool runs one of my flight Actors on the caller's own Apify account and hands back a trimmed answer.&lt;/p&gt;

&lt;p&gt;"Trimmed" is the design decision this post is about. A raw Google Flights row from my scraper is about 1,500 characters: legs, aircraft, legroom, emissions, booking tokens, bag allowances. An agent doesn't need most of that, and every byte you return is context the model has to read. So the server maps each row through a small &lt;code&gt;slim()&lt;/code&gt; function and keeps a dozen fields.&lt;/p&gt;

&lt;p&gt;Tonight I did something I should have done when I wrote it: I made three real tool calls the way an agent makes them, then opened the full datasets of the Actor runs behind those calls and compared what the agent got with what the server threw away.&lt;/p&gt;

&lt;h2&gt;
  
  
  Calling it without a client
&lt;/h2&gt;

&lt;p&gt;The server speaks streamable HTTP. You don't need Claude Desktop to talk to it — three JSON-RPC requests are enough:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="no"&gt;URL&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"https://lergassy--flights-mcp-server.apify.actor/mcp"&lt;/span&gt;
&lt;span class="no"&gt;H&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Bearer &amp;lt;YOUR_APIFY_TOKEN&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="s2"&gt;"Content-Type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"application/json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="s2"&gt;"Accept"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"application/json, text/event-stream"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;rpc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sid&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;H&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"mcp-session-id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;sid&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;sid&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;URL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;splitlines&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;startswith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"data:"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"mcp-session-id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;loads&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;sid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;rpc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"jsonrpc"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"method"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"initialize"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
              &lt;span class="s2"&gt;"params"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"protocolVersion"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2025-03-26"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"capabilities"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                         &lt;span class="s2"&gt;"clientInfo"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"probe"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;rpc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"jsonrpc"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"method"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"notifications/initialized"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"params"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;rpc&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"jsonrpc"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"method"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tools/call"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
              &lt;span class="s2"&gt;"params"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"search_flights"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                         &lt;span class="s2"&gt;"arguments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"origin"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"DPS"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"destination"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"SIN"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                                       &lt;span class="s2"&gt;"departureDate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2027-03-15"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"limit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"result"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The numbers from my session, from a test account with no warm server:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Request&lt;/th&gt;
&lt;th&gt;HTTP&lt;/th&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;Response size&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;initialize&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;3.2 s&lt;/td&gt;
&lt;td&gt;196 B&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;tools/list&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;0.15 s&lt;/td&gt;
&lt;td&gt;4,139 B&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;search_flights&lt;/code&gt; DPS→SIN, 15 Mar 2027&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;18.5 s&lt;/td&gt;
&lt;td&gt;3,850 B&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;cheapest_dates&lt;/code&gt; DPS→SIN, March 2027&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;17.3 s&lt;/td&gt;
&lt;td&gt;1,195 B&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;cheap_destinations&lt;/code&gt; from DPS&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;15.4 s&lt;/td&gt;
&lt;td&gt;2,506 B&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The 3.2 seconds on &lt;code&gt;initialize&lt;/code&gt; is the Standby server waking up. The 15–18 seconds on each tool is a full Actor run being started, finishing and having its dataset read. An agent that chains three tools makes the user wait close to a minute.&lt;/p&gt;

&lt;p&gt;The raw dataset behind &lt;code&gt;search_flights&lt;/code&gt; was 15,468 characters for 10 rows. The agent received 3,850. A 75% cut. Now, what was in the other 75%.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Every fare was "high". High compared to what?
&lt;/h2&gt;

&lt;p&gt;The agent got eight itineraries. All eight carried &lt;code&gt;"priceLevel": "high"&lt;/code&gt; — Jetstar JQ86 at $81, KLM at $82, three Scoot flights at $100, Singapore Airlines at $137 and $149.&lt;/p&gt;

&lt;p&gt;That's Google's own verdict, and the tool description promises it ("Google's own low/typical/high price verdict"). What the agent can't do with it is answer the follow-up any traveller asks next: &lt;em&gt;how much would a normal price be?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The answer was sitting in every raw row:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"priceLevel"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nl"&gt;"typicalPriceLow"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;40&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="nl"&gt;"typicalPriceHigh"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;70&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Google thinks this route usually costs $40–70. The cheapest fare that day is $81, so "high" means "about $11 over the top of normal", not "double". My &lt;code&gt;slim()&lt;/code&gt; kept the label and dropped the two numbers that give it meaning. An agent told "high" with no range will repeat the word or invent a typical price.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rule I'm taking from this:&lt;/strong&gt; when you shorten a row for a model, never keep a verdict without the numbers it was derived from. A label is a compression of data; the agent can't decompress it.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Bali to Surabaya for $85 — one way or return?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;cheap_destinations&lt;/code&gt; from DPS returned ten places, cheapest first:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;City&lt;/th&gt;
&lt;th&gt;Airport&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Date the agent saw&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Surabaya&lt;/td&gt;
&lt;td&gt;SUB&lt;/td&gt;
&lt;td&gt;$85&lt;/td&gt;
&lt;td&gt;2026-11-30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Labuan Bajo&lt;/td&gt;
&lt;td&gt;LBJ&lt;/td&gt;
&lt;td&gt;$104&lt;/td&gt;
&lt;td&gt;2026-11-30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Yogyakarta&lt;/td&gt;
&lt;td&gt;YIA&lt;/td&gt;
&lt;td&gt;$136&lt;/td&gt;
&lt;td&gt;2026-11-30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Perth&lt;/td&gt;
&lt;td&gt;PER&lt;/td&gt;
&lt;td&gt;$183&lt;/td&gt;
&lt;td&gt;2027-02-07&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Darwin&lt;/td&gt;
&lt;td&gt;DRW&lt;/td&gt;
&lt;td&gt;$217&lt;/td&gt;
&lt;td&gt;2027-04-18&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cairns&lt;/td&gt;
&lt;td&gt;CNS&lt;/td&gt;
&lt;td&gt;$258&lt;/td&gt;
&lt;td&gt;2027-03-05&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Melbourne&lt;/td&gt;
&lt;td&gt;AVV&lt;/td&gt;
&lt;td&gt;$261&lt;/td&gt;
&lt;td&gt;2027-02-18&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Adelaide&lt;/td&gt;
&lt;td&gt;ADL&lt;/td&gt;
&lt;td&gt;$328&lt;/td&gt;
&lt;td&gt;2027-02-11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Brisbane&lt;/td&gt;
&lt;td&gt;BNE&lt;/td&gt;
&lt;td&gt;$347&lt;/td&gt;
&lt;td&gt;2027-02-21&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sydney&lt;/td&gt;
&lt;td&gt;SYD&lt;/td&gt;
&lt;td&gt;$352&lt;/td&gt;
&lt;td&gt;2027-03-01&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Every one of those prices is a &lt;strong&gt;round trip&lt;/strong&gt;. The raw rows say so: &lt;code&gt;"tripType": "round_trip"&lt;/code&gt;, a &lt;code&gt;returnDate&lt;/code&gt; (Surabaya back on 7 December, Perth back on 13 February), and a &lt;code&gt;tripLengthDays&lt;/code&gt;. The slim version kept &lt;code&gt;departureDate&lt;/code&gt; and dropped all three.&lt;/p&gt;

&lt;p&gt;So an agent asked "where can I fly cheaply from Bali?" would read "Surabaya $85, 30 November" and very reasonably tell the user it's $85 to get there. In fact it's $85 there and back, on dates the user never chose. Compare that with &lt;code&gt;search_flights&lt;/code&gt; on the same server, where &lt;code&gt;price&lt;/code&gt; is one-way unless you pass &lt;code&gt;returnDate&lt;/code&gt;. Same field name, two meanings, and nothing in the answer to tell them apart.&lt;/p&gt;

&lt;p&gt;Two smaller things in the same table. "Melbourne" is &lt;code&gt;AVV&lt;/code&gt; — Avalon, about an hour from the city, not Tullamarine (&lt;code&gt;MEL&lt;/code&gt;). The city name came from Google; the airport code is the only honest field there, and I'm glad that one survived. And the first three dates are seven days from the day I ran it: the explore view prices the nearest bookable week, so these numbers are a snapshot of &lt;em&gt;next week&lt;/em&gt;, not a seasonal truth.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Two flights the agent never heard about
&lt;/h2&gt;

&lt;p&gt;I asked for &lt;code&gt;limit: 10&lt;/code&gt;. The tool said &lt;code&gt;"found": 8&lt;/code&gt;. The run summary row in the Actor's dataset said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Run summary: 10 row(s) delivered, 0 free; charged flight ×10 = $0.01.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The two missing ones were TransNusa 8B553 at 10:20 and Garuda Indonesia GA842 at 14:00 — real, nonstop departures on that date that came back without a price. The server filters &lt;code&gt;price&lt;/code&gt; out-of-hand (&lt;code&gt;items.filter(i =&amp;gt; i.price)&lt;/code&gt;), which is reasonable for "cheapest fare" questions and wrong for "what flies DPS–SIN on the 15th?". Garuda being invisible to an agent answering a Bali question is not a small omission.&lt;/p&gt;

&lt;p&gt;It's also a billing mismatch: the caller paid the underlying Actor for 10 rows and their agent saw 8. If a tool drops rows, it should say how many and why — &lt;code&gt;"found": 8, "unpriced": 2&lt;/code&gt; costs a dozen bytes.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The calendar marked five cheapest days out of seven
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;cheapest_dates&lt;/code&gt; for March 2027 is the tool I like most: one call, 31 days of lowest fares. The agent got the ten cheapest days and a count. Here is the whole month from the raw dataset (&lt;code&gt;*&lt;/code&gt; = flagged &lt;code&gt;isCheapest&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;01  65   02  65   03  48*  04  48*  05  48*  06  48*  07  76
08 300   09  48*  10  54   11  48   12  48   13  65   14  82
15  81   16  66   17  62   18  62   19  62   20  70   21  76
22  65   23  59   24  55   25  55   26  70   27  76   28 114
29  66   30  66   31  55
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Seven days cost $48. Five were flagged as cheapest; 11 and 12 March, at the same $48, were not. The flag comes from a &lt;code&gt;cheapestDates&lt;/code&gt; list in the calendar summary, and that list is capped at five entries. An agent that trusts the flag ("the cheapest days are the 3rd–6th and the 9th") will skip two equally cheap options — and the 11th–12th is a Thursday–Friday, which for a lot of travellers is the more useful pair.&lt;/p&gt;

&lt;p&gt;Two more things the full month shows that the top-ten cut hides. The 15th — the date I'd just searched — costs $81 in the calendar, exactly what &lt;code&gt;search_flights&lt;/code&gt; returned, so the two tools agree with each other; good. And 8 March costs $300, six times its neighbours. I can't say from one read whether that's a spike or a glitch, and the agent never sees it. If the user's question is "is there any day in March I should avoid?", the answer is in the data and not in the response.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it cost
&lt;/h2&gt;

&lt;p&gt;Three answering tool calls were charged at $0.03 each. The Actor runs behind them were billed separately on the same account: $0.01 for the 10-row search, $0.0062 for the 31-day calendar, $0.002 for ten destinations. About $0.11 for a session that answered three questions. A call that can't answer anything is not charged — that part works as designed.&lt;/p&gt;

&lt;h2&gt;
  
  
  When not to use this
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Batch pricing.&lt;/strong&gt; If you want fares for 500 routes overnight, call the underlying Actors directly from code. The MCP layer adds per-call overhead and trims fields you will want.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anything needing the full itinerary.&lt;/strong&gt; Legs, aircraft, legroom, bag allowance and emissions are all in the raw row and none of them reach the agent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hard latency budgets.&lt;/strong&gt; 15–18 seconds per tool is fine in a planning chat and too slow for an interactive widget.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I'm changing
&lt;/h2&gt;

&lt;p&gt;The fixes are obvious once you see the raw data side by side: keep &lt;code&gt;typicalPriceLow&lt;/code&gt;/&lt;code&gt;typicalPriceHigh&lt;/code&gt; next to &lt;code&gt;priceLevel&lt;/code&gt;, keep &lt;code&gt;tripType&lt;/code&gt; and &lt;code&gt;returnDate&lt;/code&gt; on destinations, report unpriced flights instead of silently dropping them, and flag every day that ties the lowest calendar price rather than the first five.&lt;/p&gt;

&lt;p&gt;The general lesson is the one I'd pass to anyone wrapping a scraper as an agent tool: &lt;strong&gt;trimming is an editorial decision, not a formatting one.&lt;/strong&gt; Before you ship a &lt;code&gt;slim()&lt;/code&gt; function, run one real call, open the raw row next to the trimmed one, and ask of every dropped field: could the agent's next sentence be wrong without it? For three of mine, the answer was yes.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>webscraping</category>
      <category>travel</category>
    </item>
  </channel>
</rss>
