<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[SEO Snippets: Technical SEO]]></title><description><![CDATA[This section is about Technical SEO tasks.]]></description><link>https://seosnippets.substack.com/s/technical-seo</link><image><url>https://substackcdn.com/image/fetch/$s_!wHyr!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd085bf37-6880-459f-a2e9-d74b4ca4b6eb_500x500.png</url><title>SEO Snippets: Technical SEO</title><link>https://seosnippets.substack.com/s/technical-seo</link></image><generator>Substack</generator><lastBuildDate>Mon, 01 Jun 2026 10:02:39 GMT</lastBuildDate><atom:link href="https://seosnippets.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Abhishek Shukla]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[seosnippets@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[seosnippets@substack.com]]></itunes:email><itunes:name><![CDATA[Abhishek Shukla]]></itunes:name></itunes:owner><itunes:author><![CDATA[Abhishek Shukla]]></itunes:author><googleplay:owner><![CDATA[seosnippets@substack.com]]></googleplay:owner><googleplay:email><![CDATA[seosnippets@substack.com]]></googleplay:email><googleplay:author><![CDATA[Abhishek Shukla]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Chatbot That Answers SEO Questions Using Google Docs]]></title><description><![CDATA[I Built a Chatbot That Talks to Google&#8217;s Official SEO Docs]]></description><link>https://seosnippets.substack.com/p/chatbot-that-answers-seo-questions</link><guid isPermaLink="false">https://seosnippets.substack.com/p/chatbot-that-answers-seo-questions</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Thu, 17 Jul 2025 14:02:52 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!i-Yf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>I Built a Chatbot That Talks to Google&#8217;s Official SEO Docs</strong><br><em>And it can help you back up your SEO recommendations with actual Google sources</em></p><p>Ever wish you could just ask Google&#8217;s official SEO documentation a question, and get a direct answer? I built a chatbot that lets you do exactly that.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!i-Yf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!i-Yf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png 424w, https://substackcdn.com/image/fetch/$s_!i-Yf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png 848w, https://substackcdn.com/image/fetch/$s_!i-Yf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png 1272w, https://substackcdn.com/image/fetch/$s_!i-Yf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!i-Yf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png" width="1456" height="1318" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1318,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:329704,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://seosnippets.substack.com/i/168558517?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!i-Yf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png 424w, https://substackcdn.com/image/fetch/$s_!i-Yf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png 848w, https://substackcdn.com/image/fetch/$s_!i-Yf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png 1272w, https://substackcdn.com/image/fetch/$s_!i-Yf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44e6d677-8617-4bd0-ad7d-2d92059721a2_1564x1416.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seo-gpt.streamlit.app/&quot;,&quot;text&quot;:&quot;Try it here&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seo-gpt.streamlit.app/"><span>Try it here</span></a></p><p></p><p>Whether you're trying to understand how Google handles a specific SEO scenario or just need a reliable source to support your recommendations, this tool uses vector search to surface the most relevant content directly from Google&#8217;s guidelines.</p><h3>How did I build it? (in short):</h3><ul><li><p>Collected all SEO-related URLs from Google&#8217;s sitemaps</p></li><li><p>Scraped the content from those pages</p></li><li><p>Created text embeddings using <strong>Sentence Transformers</strong></p></li><li><p>Stored them in <strong>Pinecone</strong> (a vector database)</p></li><li><p>Used <strong>LangChain</strong> to fetch relevant chunks based on a user&#8217;s query</p></li><li><p>Passed the retrieved context to <strong>GPT</strong> to generate a summarized answer</p></li><li><p>Built the front end using <strong>Streamlit</strong></p></li></ul><p>It&#8217;s lightweight, fast, and grounded in official documentation. Try it out and see what insights you can uncover.</p><p><em>This article was rewritten using ChatGPT</em></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seo-gpt.streamlit.app/&quot;,&quot;text&quot;:&quot;Try it here&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://seo-gpt.streamlit.app/"><span>Try it here</span></a></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading SEO Snippets! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[[Free Script] Checking AIO Snippet in Google SERP]]></title><description><![CDATA[Check what is the frequency of AI Overview for your list of keywords.]]></description><link>https://seosnippets.substack.com/p/free-script-scraping-aio-snippet</link><guid isPermaLink="false">https://seosnippets.substack.com/p/free-script-scraping-aio-snippet</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Fri, 26 Jul 2024 16:41:19 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A lot of data has been released from multiple platforms like Brightedge and SEOClarity showing what percentage of queries show AIO Snippet on Google. </p><p>However, we are not aware of what type of queries they have tested or how many queries. Queries in some niches can be very specific and different. </p><p>So I decided to write a Python script to test the set of keywords for which we get traffic. This helped us to gain insights into our specific industry. For example, I got to know that when I enable SGE Labs AIO snippets show up much more often than when SGE Labs are disabled - </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iZfw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iZfw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png 424w, https://substackcdn.com/image/fetch/$s_!iZfw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png 848w, https://substackcdn.com/image/fetch/$s_!iZfw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png 1272w, https://substackcdn.com/image/fetch/$s_!iZfw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iZfw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png" width="1025" height="446" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:446,&quot;width&quot;:1025,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:38229,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iZfw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png 424w, https://substackcdn.com/image/fetch/$s_!iZfw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png 848w, https://substackcdn.com/image/fetch/$s_!iZfw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png 1272w, https://substackcdn.com/image/fetch/$s_!iZfw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3847d8e-13e1-4fad-bfb0-136479666f4b_1025x446.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>So how do we do it?</strong></p><p>For this, we cannot use scrapers like Scrapy because it will probably get blocked and will not be able to perform any actions on the page like - searching or clicking on show more button. </p><p><strong>For scraping AIO Snippet, we have to -</strong> </p><ol><li><p>Make sure we are on a US IP Address (Use VPN if required)</p></li><li><p>Log in to a Gmail account that can see AIO Snippets (With or without SGE Labs enabled). </p></li><li><p>Search for the query.</p></li><li><p>Check if the AIO Snippet is present.</p></li><li><p>If it is present then click on the &#8220;Show More&#8221; button</p></li><li><p>Scrape All the Links and Take a Screenshot</p></li></ol><p>All these steps are possible using - Selenium. </p><p><strong>What is Selenium?</strong> Selenium is an open-source tool that allows you to automate web browsers. It provides a way to interact with web pages through a variety of web drivers (like ChromeDriver for Chrome, GeckoDriver for Firefox, etc.). With Selenium, you can simulate a real user's interaction with a web page, such as clicking buttons, filling out forms, and extracting information via a script.</p><p>Selenium is mostly used for testing purposes, but it has good applications in web scraping as well. </p><p>So Initially I used Selenium but Google was able to detect it and did not allow me to log in. So I had to use an Undetected Chrome Driver - which blocks Google from detecting that we are sending automated requests to Google. </p><p>However I was facing some issues with running Undetected Chrome Driver in headless mode, so I used <a href="https://seleniumbase.com/">Selenium Base</a> in <strong>Headless</strong> and <strong>Undetected</strong> mode. </p><p><strong>What is Headless Mode?</strong> In Headless mode, the web browser runs without a graphical user interface (GUI). So your Chrome browser will be running but you will not be able to see it, which is useful because you want this whole process to run in the background. But if you want to see what&#8217;s going on Chrome browser, you can disable headless mode.</p><p><strong>So to summarize -</strong> We will scrape the AIO snippet from Google Search using Selenium Base in Undetected and Headless mode. So without further ado, let&#8217;s jump into the script. </p><blockquote><p><strong>Note: I recommend to read the whole article because there are multiple values you will have to replace in the script to work.</strong></p></blockquote><p>Before we start we need to install some packages - Selenium, SeleniumBase, and Pandas. So run the following commands in your terminal - </p><pre><code>pip install selenium
pip install selenium-base
pip install pandas</code></pre><ol><li><p><strong>Importing Packages</strong> </p></li></ol><p>So we are importing Driver from Selenium Base, and some packages from Selenium to scrape via Class Names and to use Keyboard. </p><p>Time for pausing between each query or function. Random for randomizing our waiting time - so that Google cannot understand our patterns.</p><p>Pandas for dataframes.</p><pre><code>from seleniumbase import Driver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
import time
import pandas as pd
import random</code></pre><p>Reading a CSV file of queries using Pandas, and then converting it to a list.</p><p>I have also mentioned some sample queries which most of the times shows AIO Snippet. So you can use them to test first. </p><pre><code>df = pd.read_csv(r'query_list.csv',encoding='latin-1')

df = df.replace("/"," ",regex=True)

print(df)

query_list = df['query'].values.tolist()

#test_queries
#query_list = ['what is digital marketing','features of macbook pro m3','write few lines about christmas','what are the properties of metal']

print(query_list[:5])

number_of_queries = len(query_list)</code></pre><ol start="2"><li><p><strong>Initializing Chrome Driver and setting Google&#8217;s login URL to a variable.</strong></p></li></ol><p>Note that here if you do not want to run the Chrome driver in headless mode, you can simply set <code>headless=False.</code></p><pre><code>#path to chromedriver
driver = Driver(uc=True, headless=True)

#login to google manually
google_login_url = 'https://accounts.google.com/v3/signin/identifier?hl=en-gb&amp;ifkv=AaSxoQyH1Qet0VlLGN7HL7CD1zRZkw0dVFB4bXApnkylfeDCW4kx3vmK9HBjvDjfi4a6yi3WFJJfug&amp;flowName=GlifWebSignIn&amp;flowEntry=ServiceLogin&amp;dsh=S1544068279%3A1715766753444785&amp;ddm=0'</code></pre><ol start="3"><li><p><strong>Login to Google</strong></p></li></ol><p>Following is a function to log in to Google. There are some important points to remember here -</p><ol><li><p>Make sure to create a new Google account or use an alternative one (we all have one), and avoid risking your main account.</p></li><li><p>Turn off <a href="https://support.google.com/accounts/answer/1064203?hl=en&amp;co=GENIE.Platform%3DAndroid">2FA</a> on the account you are using to avoid verifying every time you run the script.</p></li><li><p>When you run this script for the first time, do not use Headless mode and verify yourself on your device with US IP. </p></li><li><p>Once you have done that, next time Google will hopefully not ask for any verification. </p></li></ol><p><strong>Explanation of the below function -</strong> </p><p>First, we visit the login URL, then we wait for 5 seconds. And then we find the email field and enter the email. Then we again wait for 5 seconds and then enter a password.</p><p>It will also print the URL it is on while entering your email and password. If the URL changes after entering the password, it means we are logged in.</p><p>If something goes wrong, it will take the screenshot and save it in your folder.</p><pre><code>#function to login to google
def login(email,password):
    driver.get(google_login_url)

    try:
      current_url = driver.current_url

      time.sleep(5)

      # Find and fill in the email input field
      email_input = driver.find_element("name", "identifier")
      email_input.send_keys(email)
      email_input.send_keys(Keys.RETURN)

      print('Email Entered')

      current_url = driver.current_url
      print(f"Current URL: {current_url}")

      time.sleep(5)

      password_input = driver.find_element(By.NAME, 'Passwd')
      password_input.send_keys(password)
      password_input.send_keys(Keys.RETURN)

      print('Password Entered')

      current_url = driver.current_url
      print(f"Current URL: {current_url}")

      time.sleep(5)
    except:
      print('Not able to login')
      driver.save_screenshot('&lt;PATH TO YOUR FOLDER&gt;/error.png')</code></pre><ol start="4"><li><p><strong>Search on Google, Click on Show More Button Scrapre Links</strong></p></li></ol><p>The following are functions to </p><ol><li><p>Search on Google by finding the search bar using the class name</p></li><li><p>Clicking on a show more button which shows up when the AI Overview snippet is available</p></li><li><p>Scraping the links that are inside the AI Overview Snippet. It also checks if your domain name is available in the AI Overview Snippet. So replace &#8220;my_domain_name&#8221; with your &#8220;domain_name&#8221;</p></li></ol><pre><code><code>#function to search
def search(url, class_name, search_term):
    driver.get(url)
    input_element = driver.find_element(By.CLASS_NAME, class_name)
    input_element.send_keys(search_term, Keys.ENTER)

#function to click on any button
def click_button(class_name):
    button = driver.find_element(By.CLASS_NAME, class_name)
    button.click()

#function to scrape links
def scrape_links(class_name, query):
    links = driver.find_elements(By.CLASS_NAME, class_name)
    for j in links:
        link = j.get_attribute('href')
        query_link = query + '@' + link
        all_links.append(query_link)
        if 'my_domain_name' in link:
            query_link = query + '@' + link
            my_domain_link.append(query_link)</code></code></pre><p>Note that these Class names can change in the future, so to get the class names in the future, simply right-click on the element and copy the class name.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UUpT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UUpT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png 424w, https://substackcdn.com/image/fetch/$s_!UUpT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png 848w, https://substackcdn.com/image/fetch/$s_!UUpT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png 1272w, https://substackcdn.com/image/fetch/$s_!UUpT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UUpT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png" width="1456" height="828" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:828,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:811313,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!UUpT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png 424w, https://substackcdn.com/image/fetch/$s_!UUpT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png 848w, https://substackcdn.com/image/fetch/$s_!UUpT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png 1272w, https://substackcdn.com/image/fetch/$s_!UUpT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb473d5b0-d18a-498d-b4a5-a9ba25c4ac3d_2262x1286.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ol start="5"><li><p><strong>Declare Variables to store Values, Run Login Function, Selecting terms to Search</strong></p></li></ol><p>Next, we will declare variables to store the values. In the <code>result</code> we will store the status of whether AI Overview is visible or not, then we will check if our domain link is available or not and store it inside <code>my_domain_link</code>, then all the links get stored inside <code>all_links</code>, and queries we are searching for will be stored inside <code>queries </code>variable. </p><p>Then we run the function of login. Here you have to replace the placeholders with your actual account credentials.</p><p>Then we define the Google URL, we are adding parameters of Country and Language just to be sure we are seeing US Search results.</p><p>And then we will define the search terms to find on the page. So, initially, when AIO was in beta, multiple terms and phrases were showing up above AI Overview. But now there is just one term - &#8220;AI Overview&#8221;. In the future, if these terms change, you can alter them to the latest ones.</p><pre><code>#declare variables to store the values
result = []
my_domain_link = []
all_links = []
queries = []

login('email_id','password') #replace with your email and password

url_to_visit = 'https://www.google.com/?gl=us&amp;hl=en'

#search_terms
search_term_0 = 'AI Overview'
# search_term_1 = 'Generative AI is experimental'
# search_term_2  = 'AI overviews are experimental'
# search_term_3 = 'Get an AI Overview for this search?'
# search_term_4 = 'overview is not available for this search'
# search_term_5 = 'Try again later.'
search_term_6 = 'Our systems have detected unusual traffic'</code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!D2ZP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!D2ZP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png 424w, https://substackcdn.com/image/fetch/$s_!D2ZP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png 848w, https://substackcdn.com/image/fetch/$s_!D2ZP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png 1272w, https://substackcdn.com/image/fetch/$s_!D2ZP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!D2ZP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png" width="1456" height="1053" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1053,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:381884,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!D2ZP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png 424w, https://substackcdn.com/image/fetch/$s_!D2ZP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png 848w, https://substackcdn.com/image/fetch/$s_!D2ZP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png 1272w, https://substackcdn.com/image/fetch/$s_!D2ZP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9391497a-6676-4eea-bcce-866a18ad27d3_1480x1070.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><ol start="6"><li><p><strong>Starting the Loop for Search and Scrape</strong></p></li></ol><p>Now we are starting the loop to search and scrape. </p><ol><li><p>If the driver is not able to search, then it will print &#8220;Cannot Search&#8221;. Else it will print the query number it is searching for. </p></li><li><p>After searching it will scrape the source.</p></li><li><p>If AI Overview is found, </p><ol><li><p>Then it will click on the &#8220;Show More&#8221; button </p></li><li><p>Takes the screenshot and saves it to the given folder path</p></li><li><p>Append the Result to the result variable</p></li><li><p>Scrape links and append them to the all_links variable</p></li><li><p>Check if your domain name is available and then store the link to my_domain_link if available. </p></li></ol></li><li><p>Now after 40 to 50 queries, Google is definetly going to block you. If it blocks you then the page will have the phrase &#8220;Our systems have detected unusual traffic&#8221;. </p><ol><li><p>If Google blocks us, then we wait randomly for 5 to 7 minutes and try again.</p></li></ol></li><li><p>If nothing is found then it will append &#8220;AI Overview Not Found&#8221; in the result variable. </p></li></ol><pre><code>#starting the loop

for i, j in zip(query_list, range(0, number_of_queries)):
    try:
        print('current_query_number: ' + str(j))

        try:
            search_bar_class = 'gLFyf'
            search(url_to_visit, search_bar_class, i)
            time.sleep(3)
        except:
            print('Cannot Search')
            result.append('cannot search')
            queries.append(i)

        
        page_source = driver.page_source #scraping page source

        #screenshot path and file name
        screenshot_file_path = '/Users/username/Desktop/screenshots/' #replace with your path
        screenshot_file_name = screenshot_file_path + i[:200] + '.png'
        
        if search_term_0 in page_source:
            try: 
                try:
                    click_button('ni04u') #show more button
                except:
                    click_button('in7vHe') #show more button

                scroll = 'window.scrollBy(0, 30)'
                driver.execute_script(scroll)
                time.sleep(1)

                result.append('AI Overview Found')
                print('AI Overview Found')
                queries.append(i)
                scrape_links('ibUR7b', i)
                driver.save_screenshot(screenshot_file_name)
                print('Screenshot saved')
            
            except:
                print('Some error even if AI Overview is found')
                result.append('AI Overview Found')
                queries.append(i)
                all_links.append('Link Not Found')
                my_domain_link.append('Link Not Found')
                driver.save_screenshot(screenshot_file_name)
                print('Screenshot Saved')
            
        elif search_term_6 in page_source:
            print('Google is Blocking')
            result.append('Google Blocked')
            queries.append(i)
            driver.save_screenshot(screenshot_file_name)
            time.sleep(random.randint(300,400))
        
        else:
            result.append('AI Overview Not Found')
            queries.append(i)
            driver.save_screenshot(screenshot_file_name)
            print('Screenshot Saved')
        
        time.sleep(random.randint(7,10))

    except:

        final_df = pd.DataFrame({'Query': queries, 'AI overview Status': result})

        my_domain_links = pd.DataFrame(my_domain_link, columns=['My Domain Links'])
        my_domain_links = my_domain_links.drop_duplicates(subset=['My Domain Links']).reset_index(drop=True)

        all_links = pd.DataFrame(all_links, columns=['all_links'])
        all_links = all_links.drop_duplicates(subset=['all_links']).reset_index(drop=True)</code></pre><ol start="7"><li><p><strong>Saving the Data to CSV File</strong></p></li></ol><p>Once the loop is completed, we will quit the browser and create Dataframes from the data we stored in our variables. And save the Dataframes to a CSV file. </p><p>You can also extend this script to upload these dataframes to Google Sheets using gpread and gspread_dataframe. </p><pre><code>driver.quit()

final_df = pd.DataFrame({'Query': queries, 'AI overview Status': result})

my_domain_links = pd.DataFrame(my_domain_link, columns=['My Domain Links'])
my_domain_links= my_domain_links.drop_duplicates(subset=['My Domain Links']).reset_index(drop=True)

all_links = pd.DataFrame(all_links, columns=['all_links'])
all_links = all_links.drop_duplicates(subset=['all_links']).reset_index(drop=True)

print('SGE Output')
print(final_df)

print('My Domain Links')
print(my_domain_links)

print('All Links')
print(all_links)

final_df.to_csv(r'sge_output.csv',encoding='utf-8')
my_domain_links.to_csv(r'my_domain_links.csv',encoding='utf-8')
all_links.to_csv(r'all_links.csv', encoding='utf-8')</code></pre><blockquote><p>Important Note: This script takes a lot of time to run because we cannot send too many concurrent requests to Google. So it is best to run it for like 200 to 300 queries which should take around 2 to 3 hours.</p></blockquote><blockquote><p>Somre Requirements before running the script - </p><ol><li><p>You need to be on US IP Address. VPNs will work but not the ones which are browser extensios.</p></li><li><p>You should have Chrome Browser installed </p></li><li><p>Script will take few hours to run, so make sure your computer is active for longer time. </p></li></ol></blockquote><p><strong>Following is the whole script -</strong> </p><pre><code><code>from seleniumbase import Driver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
import time
import pandas as pd
import random


df = pd.read_csv(r'query_list.csv',encoding='latin-1')

df = df.replace("/"," ",regex=True)

print(df)

query_list = df['query'].values.tolist()

#test_queries
#query_list = ['what is digital marketing','features of macbook pro m3','write few lines about christmas','what are the properties of metal']

print(query_list[:5])

number_of_queries = len(query_list)

#path to chromedriver
driver = Driver(uc=True, headless=True)

#login to google manually
google_login_url = 'https://accounts.google.com/v3/signin/identifier?hl=en-gb&amp;ifkv=AaSxoQyH1Qet0VlLGN7HL7CD1zRZkw0dVFB4bXApnkylfeDCW4kx3vmK9HBjvDjfi4a6yi3WFJJfug&amp;flowName=GlifWebSignIn&amp;flowEntry=ServiceLogin&amp;dsh=S1544068279%3A1715766753444785&amp;ddm=0'

#function to login to google
def login(email,password):
    driver.get(google_login_url)

    try:
      current_url = driver.current_url

      time.sleep(5)

      # Find and fill in the email input field
      email_input = driver.find_element("name", "identifier")
      email_input.send_keys(email)
      email_input.send_keys(Keys.RETURN)

      print('Email Entered')

      current_url = driver.current_url
      print(f"Current URL: {current_url}")

      time.sleep(5)

      password_input = driver.find_element(By.NAME, 'Passwd')
      password_input.send_keys(password)
      password_input.send_keys(Keys.RETURN)

      print('Password Entered')

      current_url = driver.current_url
      print(f"Current URL: {current_url}")

      time.sleep(5)
    except:
      print('Not able to login')
      driver.save_screenshot('&lt;PATH TO YOUR FOLDER&gt;/error.png')

#function to search
def search(url, class_name, search_term):
    driver.get(url)
    input_element = driver.find_element(By.CLASS_NAME, class_name)
    input_element.send_keys(search_term, Keys.ENTER)

#function to click on any button
def click_button(class_name):
    button = driver.find_element(By.CLASS_NAME, class_name)
    button.click()

#function to scrape links
def scrape_links(class_name, query):
    links = driver.find_elements(By.CLASS_NAME, class_name)
    for j in links:
        link = j.get_attribute('href')
        query_link = query + '@' + link
        all_links.append(query_link)
        if 'my_domain_name' in link:
            query_link = query + '@' + link
            my_domain_link.append(query_link)


#declare variables to store the values
result = []
my_domain_link = []
all_links = []
queries = []

login('email_id','password') #replace with your email and password

url_to_visit = 'https://www.google.com/?gl=us&amp;hl=en'

#search_terms
search_term_0 = 'AI Overview'
# search_term_1 = 'Generative AI is experimental'
# search_term_2  = 'AI overviews are experimental'
# search_term_3 = 'Get an AI Overview for this search?'
# search_term_4 = 'overview is not available for this search'
# search_term_5 = 'Try again later.'
search_term_6 = 'Our systems have detected unusual traffic'

#starting the loop

for i, j in zip(query_list, range(0, number_of_queries)):
    try:
        print('current_query_number: ' + str(j))

        try:
            search_bar_class = 'gLFyf'
            search(url_to_visit, search_bar_class, i)
            time.sleep(3)
        except:
            print('Cannot Search')
            result.append('cannot search')
            queries.append(i)

        
        page_source = driver.page_source #scraping page source

        #screenshot path and file name
        screenshot_file_path = '/Users/username/Desktop/screenshots/' #replace with your path
        screenshot_file_name = screenshot_file_path + i[:200] + '.png'
        
        if search_term_0 in page_source:
            try: 
                try:
                    click_button('ni04u') #show more button
                except:
                    click_button('in7vHe') #show more button

                scroll = 'window.scrollBy(0, 30)'
                driver.execute_script(scroll)
                time.sleep(1)

                result.append('AI Overview Found')
                print('AI Overview Found')
                queries.append(i)
                scrape_links('ibUR7b', i)
                driver.save_screenshot(screenshot_file_name)
                print('Screenshot saved')
            
            except:
                print('Some error even if AI Overview is found')
                result.append('AI Overview Found')
                queries.append(i)
                all_links.append('Link Not Found')
                my_domain_link.append('Link Not Found')
                driver.save_screenshot(screenshot_file_name)
                print('Screenshot Saved')
            
        elif search_term_6 in page_source:
            print('Google is Blocking')
            result.append('Google Blocked')
            queries.append(i)
            driver.save_screenshot(screenshot_file_name)
            time.sleep(random.randint(300,400))
        
        else:
            result.append('AI Overview Not Found')
            queries.append(i)
            driver.save_screenshot(screenshot_file_name)
            print('Screenshot Saved')
        
        time.sleep(random.randint(7,10))

    except:

        final_df = pd.DataFrame({'Query': queries, 'AI overview Status': result})

        my_domain_links = pd.DataFrame(my_domain_link, columns=['My Domain Links'])
        my_domain_links = my_domain_links.drop_duplicates(subset=['My Domain Links']).reset_index(drop=True)

        all_links = pd.DataFrame(all_links, columns=['all_links'])
        all_links = all_links.drop_duplicates(subset=['all_links']).reset_index(drop=True)

driver.quit()

final_df = pd.DataFrame({'Query': queries, 'AI overview Status': result})

my_domain_links = pd.DataFrame(my_domain_link, columns=['My Domain Links'])
my_domain_links= my_domain_links.drop_duplicates(subset=['My Domain Links']).reset_index(drop=True)

all_links = pd.DataFrame(all_links, columns=['all_links'])
all_links = all_links.drop_duplicates(subset=['all_links']).reset_index(drop=True)

print('SGE Output')
print(final_df)

print('My Domain Links')
print(my_domain_links)

print('All Links')
print(all_links)

final_df.to_csv(r'sge_output.csv',encoding='utf-8')
my_domain_links.to_csv(r'my_domain_links.csv',encoding='utf-8')
all_links.to_csv(r'all_links.csv', encoding='utf-8')
</code></code></pre><p>If you are facing any issues, feel free to contact me on <a href="https://www.linkedin.com/in/abhishekshukla01/">Linkedin.</a></p><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.linkedin.com/in/abhishekshukla01/&quot;,&quot;text&quot;:&quot;Connect on Linkedin&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.linkedin.com/in/abhishekshukla01/"><span>Connect on Linkedin</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/subscribe?"><span>Subscribe now</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/p/free-script-scraping-aio-snippet?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/p/free-script-scraping-aio-snippet?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Fetching Number of Results from Google SERP [For 100+ Queries]]]></title><description><![CDATA[Recently one of my clients came up with a request, that they wanted to know how many pages are indexed on Google for the list of websites they have.]]></description><link>https://seosnippets.substack.com/p/fetching-number-of-results-from-google</link><guid isPermaLink="false">https://seosnippets.substack.com/p/fetching-number-of-results-from-google</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Mon, 28 Nov 2022 06:26:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!vFZf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Recently one of my clients came up with a request, that they wanted to know how many pages are indexed on Google for the list of websites they have.</p><p>Usually, anyone quickly checks using the <strong>&#8220;site:example.com&#8221;</strong> operator on Google.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vFZf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vFZf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png 424w, https://substackcdn.com/image/fetch/$s_!vFZf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png 848w, https://substackcdn.com/image/fetch/$s_!vFZf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png 1272w, https://substackcdn.com/image/fetch/$s_!vFZf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vFZf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png" width="1456" height="737" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:737,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:104280,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!vFZf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png 424w, https://substackcdn.com/image/fetch/$s_!vFZf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png 848w, https://substackcdn.com/image/fetch/$s_!vFZf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png 1272w, https://substackcdn.com/image/fetch/$s_!vFZf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F53db105f-7a2f-4397-ae3e-446d5982a78d_1538x779.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>But here the challenge was the client had a list of 100+ websites. </p><p>The goal was to understand which website is the smallest with a good amount of traffic. That may give us an idea of where are the low-hanging fruits.</p><p>Now that&#8217;s where <a href="https://serpapi.com/">SERP API</a> helps! </p><p>What is SERP API? SERP API is an API that helps you scrape anything from Google results. Literally, anything! Here are things you can fetch from SERP API -</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qY4c!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qY4c!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png 424w, https://substackcdn.com/image/fetch/$s_!qY4c!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png 848w, https://substackcdn.com/image/fetch/$s_!qY4c!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png 1272w, https://substackcdn.com/image/fetch/$s_!qY4c!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qY4c!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png" width="238" height="583.7337278106509" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:829,&quot;width&quot;:338,&quot;resizeWidth&quot;:238,&quot;bytes&quot;:50727,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qY4c!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png 424w, https://substackcdn.com/image/fetch/$s_!qY4c!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png 848w, https://substackcdn.com/image/fetch/$s_!qY4c!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png 1272w, https://substackcdn.com/image/fetch/$s_!qY4c!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F4afc81c3-a4f8-4a71-9c1d-6464b23c2e16_338x829.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>How to do it? </p><p>First, you need to sign up on SERP API and get your API Key. The first 100 searches are free.</p><p>And then you only need the below script to scrape the number of google search results. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-xNR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-xNR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png 424w, https://substackcdn.com/image/fetch/$s_!-xNR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png 848w, https://substackcdn.com/image/fetch/$s_!-xNR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png 1272w, https://substackcdn.com/image/fetch/$s_!-xNR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-xNR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png" width="871" height="761" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:761,&quot;width&quot;:871,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:61624,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-xNR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png 424w, https://substackcdn.com/image/fetch/$s_!-xNR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png 848w, https://substackcdn.com/image/fetch/$s_!-xNR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png 1272w, https://substackcdn.com/image/fetch/$s_!-xNR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F05db5a3b-7ed7-4316-8b7c-6280824e3f51_871x761.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s understand the code.</p><p>Importing Libraries.</p><pre><code><code>from serpapi import GoogleSearch
import pandas as pd</code></code></pre><p>Make a list of all the queries you would search for on Google using the site operator. </p><p>And then declare 2 lists, the number of pages, and site names so that we can keep on appending our data to these lists.</p><pre><code><code>queries = ['site:example1.com', 'site:example2.com'] #add all the queries here.

nb_pages = []
site_name = []</code></code></pre><p>Write a for loop to search for these queries and get a JSON output from SERP API.</p><p>Since SERP API gives output as a nested dictionary you need to fetch the exact values you want. </p><p>Keep on appending the data to the lists we made above. Once you have everything in the list just create a Panda data frame out of it and save it as CSV.</p><pre><code><code>for i in queries:
    params ={
        "engine": "google",
        "q": i,
        "api_key": "Enter Your SERP API Key here"
    }

    search = GoogleSearch(params)
    results = search.get_dict()
    # organic_results = results["organic_results"]

    search_results = results.get('search_information', {}).get('total_results')
    
    query = results.get('search_information', {}).get('query_displayed')

    nb_pages.append(str(search_results))
    site_name.append(str(query))

    print(str(search_results) + ' ' + str(query))


df_pages = pd.DataFrame(nb_pages)
df_sites = pd.DataFrame(site_name)</code></code></pre><p>That&#8217;s it. You will get a list of a number of search results for each query. </p><p>There are a lot of other cool things you can do from SERP API.  You can sign up and also play in their playground - https://serpapi.com/playground. </p><p>Hope this helped. Thanks for reading. Sharing is caring!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/subscribe?"><span>Subscribe now</span></a></p><p></p><p></p><p></p><p></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[How to Send Bulk Indexing Request to Google? + Free Tool]]></title><description><![CDATA[Send upto 200 Indexing Requests to Google at once]]></description><link>https://seosnippets.substack.com/p/how-to-send-bulk-indexing-request</link><guid isPermaLink="false">https://seosnippets.substack.com/p/how-to-send-bulk-indexing-request</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Thu, 08 Sep 2022 13:22:00 GMT</pubDate><enclosure url="https://cdn.substack.com/image/fetch/h_600,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>One of my clients approached me with the issue that - there pages are discovered but none of them are indexed. And it&#8217;s been more than a week they have submitted the sitemaps.</p><p><strong>Few reasons for slow indexing rate are -</strong> </p><ol><li><p>New website</p></li><li><p>Content is not very unique</p></li><li><p>Google already have a lot of URLs indexed in that category</p></li></ol><p>First 2 reasons matched with my clients website.</p><p>They are new, with not so unique content. But they have very less competitors. </p><p>Bigger Problem - They have thousands of pages published. </p><p><strong>So I decided to do two things -</strong> </p><ol><li><p>Improve the internal linking </p></li><li><p>Use Google Indexing API </p></li></ol><p>Since we were on low engineering bandwidth, first was not possible at the time. </p><p>I went ahead and started sending Bulk Indexing Request to Google. </p><p>Here are the results - </p><p>We went from 0 to 33K in 7 Days!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!m4Un!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m4Un!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png 424w, https://substackcdn.com/image/fetch/$s_!m4Un!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png 848w, https://substackcdn.com/image/fetch/$s_!m4Un!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png 1272w, https://substackcdn.com/image/fetch/$s_!m4Un!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m4Un!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png" width="1456" height="476" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/82d72f9e-cb92-4478-a330-456278db7773_2288x748.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:476,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:33851,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!m4Un!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png 424w, https://substackcdn.com/image/fetch/$s_!m4Un!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png 848w, https://substackcdn.com/image/fetch/$s_!m4Un!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png 1272w, https://substackcdn.com/image/fetch/$s_!m4Un!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F82d72f9e-cb92-4478-a330-456278db7773_2288x748.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>Following are the steps on how to do it -</strong> </p><ol><li><p>Enable Indexing API in Google Cloud Console</p></li><li><p>Creating Service Account</p></li><li><p>Creating Credentials</p></li><li><p>Adding service account email to Search Console</p></li></ol><p>Before these steps, you will have to make sure that you have permission to send Indexing requests using API. </p><p><a href="https://developers.google.com/search/apis/indexing-api/v3/reference/indexing/rest/v3/urlNotifications/publish">Click here</a> to visit the Indexing API tester</p><p>You should land on this page -</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Kpko!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Kpko!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png 424w, https://substackcdn.com/image/fetch/$s_!Kpko!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png 848w, https://substackcdn.com/image/fetch/$s_!Kpko!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png 1272w, https://substackcdn.com/image/fetch/$s_!Kpko!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Kpko!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png" width="1456" height="797" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:797,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:399758,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Kpko!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png 424w, https://substackcdn.com/image/fetch/$s_!Kpko!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png 848w, https://substackcdn.com/image/fetch/$s_!Kpko!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png 1272w, https://substackcdn.com/image/fetch/$s_!Kpko!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F78e9b360-6237-4bff-bf61-4cf452ad8061_2728x1494.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>If the above screen did not appear, follow the below steps -</strong></p><ol><li><p>Search for &#8220;Indexing API&#8221; in the search bar, and click on &#8220;Indexing API&#8221; under &#8220;Products&#8221;. Here is <a href="https://developers.google.com/search/apis/indexing-api/v3/quickstart">direct URL</a>.</p></li><li><p>Click on &#8220;Reference&#8221; tab</p></li><li><p>Click on &#8220;publish&#8221; under &#8220;urlNotifications&#8221;</p></li></ol><p>Then add the following details in the Request body - </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gypj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gypj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png 424w, https://substackcdn.com/image/fetch/$s_!gypj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png 848w, https://substackcdn.com/image/fetch/$s_!gypj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png 1272w, https://substackcdn.com/image/fetch/$s_!gypj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gypj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png" width="747" height="313" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:313,&quot;width&quot;:747,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18955,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gypj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png 424w, https://substackcdn.com/image/fetch/$s_!gypj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png 848w, https://substackcdn.com/image/fetch/$s_!gypj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png 1272w, https://substackcdn.com/image/fetch/$s_!gypj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fccb6eca1-c235-4fe8-942e-15d0d666886b_747x313.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Scroll below and click on &#8220;Execute&#8221; button. </p><p>If it responds with &#8220;200&#8221; status, then you have the permission else it will respond with Error 403 - Permission denied. </p><p>In that case, make sure you have Owner-level access in Search console.</p><p>Now that you have verified it, let&#8217;s start with the steps. </p><p><a href="https://www.loom.com/share/d3c1c6b5184a44e6825c8ff52ebdea99?t=16">Here is the loom video on how to do it.</a></p><p><strong>Enabling Indexing API</strong></p><ol><li><p>Visit <a href="https://console.cloud.google.com/home/dashboard">Google Cloud Console</a></p></li><li><p>Create a project if you haven&#8217;t</p></li><li><p>Search for Indexing API</p></li></ol><p>Click on &#8220;Enable&#8221; </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!j0bK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!j0bK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png 424w, https://substackcdn.com/image/fetch/$s_!j0bK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png 848w, https://substackcdn.com/image/fetch/$s_!j0bK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png 1272w, https://substackcdn.com/image/fetch/$s_!j0bK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!j0bK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png" width="477" height="254.00414937759336" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:385,&quot;width&quot;:723,&quot;resizeWidth&quot;:477,&quot;bytes&quot;:45769,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!j0bK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png 424w, https://substackcdn.com/image/fetch/$s_!j0bK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png 848w, https://substackcdn.com/image/fetch/$s_!j0bK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png 1272w, https://substackcdn.com/image/fetch/$s_!j0bK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1cd482bc-acca-4b73-a375-3d58bcbb976e_723x385.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Creating a Service Account Email</strong></p><p>After Enable Indexing API, you will land on its Dashboard. </p><ol><li><p>Click on &#8220;Credentials&#8221; on the left menu bar. </p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lcge!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lcge!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png 424w, https://substackcdn.com/image/fetch/$s_!lcge!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png 848w, https://substackcdn.com/image/fetch/$s_!lcge!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png 1272w, https://substackcdn.com/image/fetch/$s_!lcge!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lcge!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png" width="568" height="383.29323308270676" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:718,&quot;width&quot;:1064,&quot;resizeWidth&quot;:568,&quot;bytes&quot;:215535,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lcge!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png 424w, https://substackcdn.com/image/fetch/$s_!lcge!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png 848w, https://substackcdn.com/image/fetch/$s_!lcge!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png 1272w, https://substackcdn.com/image/fetch/$s_!lcge!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F75a119bd-3b16-4155-a452-0b2982ad0cf7_1064x718.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><ol><li><p>Click on &#8220;Manage Service Accounts&#8221; </p></li><li><p>Click on &#8220;Create Service Account&#8221; at the top</p></li><li><p>Add any service account name you want to and click &#8220;Create and Continue&#8221;</p></li><li><p>Under select, a role, search for &#8220;Owner&#8221; and click on &#8220;Continue&#8221;</p></li><li><p>Click &#8220;Done&#8221; and then copy the Email into some notepad shown on the display</p></li><li><p>Make sure to add the e-mail as &#8220;Owner&#8221; in your Google search console property.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GiQ1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GiQ1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png 424w, https://substackcdn.com/image/fetch/$s_!GiQ1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png 848w, https://substackcdn.com/image/fetch/$s_!GiQ1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png 1272w, https://substackcdn.com/image/fetch/$s_!GiQ1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GiQ1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png" width="1103" height="371" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:371,&quot;width&quot;:1103,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:113917,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GiQ1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png 424w, https://substackcdn.com/image/fetch/$s_!GiQ1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png 848w, https://substackcdn.com/image/fetch/$s_!GiQ1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png 1272w, https://substackcdn.com/image/fetch/$s_!GiQ1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1a640c03-147c-4d0e-9092-2acc5e374f70_1103x371.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Creating and Download Credentials File</strong></p><p>Click on the 3 dots of this Service Account Email and then select &#8220;Manage Keys&#8221;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!e_1W!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e_1W!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png 424w, https://substackcdn.com/image/fetch/$s_!e_1W!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png 848w, https://substackcdn.com/image/fetch/$s_!e_1W!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png 1272w, https://substackcdn.com/image/fetch/$s_!e_1W!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e_1W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png" width="654" height="376.3539033457249" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:774,&quot;width&quot;:1345,&quot;resizeWidth&quot;:654,&quot;bytes&quot;:154880,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!e_1W!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png 424w, https://substackcdn.com/image/fetch/$s_!e_1W!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png 848w, https://substackcdn.com/image/fetch/$s_!e_1W!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png 1272w, https://substackcdn.com/image/fetch/$s_!e_1W!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F0588084a-c312-442b-ad25-f3b563b513d5_1345x774.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Click on &#8220;Add Key&#8221; &gt; &#8220;Create&#8221; </p><p>This will download the Credentials JSON file. Make sure to save it in some important folder. </p><p><strong>Adding service account email to Search Console</strong></p><p>Now add the email you copied in the second step to your Search console and give it owner-level access.</p><p>The next step is to prepare a <strong>CSV file</strong> with maximum of 200 URLs in it. Make sure to name the column name &#8220;url&#8221;. Download the sample CSV file here. </p><p>Visit <a href="https://stanabk-seo-bulk-indexing-request-indexing-app-29p6dc.streamlit.app/">this tool.</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!F2vE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!F2vE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png 424w, https://substackcdn.com/image/fetch/$s_!F2vE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png 848w, https://substackcdn.com/image/fetch/$s_!F2vE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png 1272w, https://substackcdn.com/image/fetch/$s_!F2vE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!F2vE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png" width="1456" height="1025" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/c1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1025,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:76249,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!F2vE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png 424w, https://substackcdn.com/image/fetch/$s_!F2vE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png 848w, https://substackcdn.com/image/fetch/$s_!F2vE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png 1272w, https://substackcdn.com/image/fetch/$s_!F2vE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1218e0e-3ff3-49c2-bbe4-717cae77d1a9_1472x1036.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Upload the CSV file in the first option.</p><p>Upload the credentials file in the second option. (It will be temporarily stored and deleted later).Click on Request Indexing.</p><p><strong>Done!</strong> </p><p>It will return with the response received from the Google Indexing API. </p><p></p><p><strong>Following is the complete Python script if you want to do it yourself locally -</strong> </p><pre><code>
from oauth2client.service_account import ServiceAccountCredentials
from googleapiclient.discovery import build 
from googleapiclient.http import BatchHttpRequest
import httplib2
import json
import pandas as pd


#creating url list
all_urls_df = pd.read_csv('PATH TO CSV FILE')
top_200_urls = all_urls_df['url'].values.tolist()

#creating request body
values_list = []

for i in range(0,200):
    values_list.append("URL_UPDATED")

zip_iterator = zip(top_200_urls, values_list)

a_dict = dict(zip_iterator)

requests = a_dict
# print(requests)


JSON_KEY_FILE = ('PATH TO JSON KEY FILE')

SCOPES = [ "https://www.googleapis.com/auth/indexing" ]

ENDPOINT = 'https://indexing.googleapis.com/batch'

#Credentials
credentials = ServiceAccountCredentials.from_json_keyfile_name(JSON_KEY_FILE, scopes = SCOPES)
http = credentials.authorize(httplib2.Http())

#building the service
service = build('indexing', 'v3', credentials=credentials)

#creating function to display the response by api
def insert_event(request_id, response, exception):
    if exception is not None:
        print(exception)
    else:
        print(response)

batch = service.new_batch_http_request(callback=insert_event)

# creating for loop to add urls and api type in batch function
for url, api_type in requests.items():
    batch.add(service.urlNotifications().publish(body={"url": url, "type": api_type}))

#running batch function
batch.execute()

</code></pre><p>Thanks for reading! </p><p>Sharing is caring! </p><p>Facing issue? Tweet<a href="https://twitter.com/StanAbK"> @stanabk</a></p><p></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://www.buymeacoffee.com/abkseo" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Tycu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png 424w, https://substackcdn.com/image/fetch/$s_!Tycu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png 848w, https://substackcdn.com/image/fetch/$s_!Tycu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png 1272w, https://substackcdn.com/image/fetch/$s_!Tycu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Tycu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png" width="186" height="52.21651376146789" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:306,&quot;width&quot;:1090,&quot;resizeWidth&quot;:186,&quot;bytes&quot;:24415,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://www.buymeacoffee.com/abkseo&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Tycu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png 424w, https://substackcdn.com/image/fetch/$s_!Tycu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png 848w, https://substackcdn.com/image/fetch/$s_!Tycu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png 1272w, https://substackcdn.com/image/fetch/$s_!Tycu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F92f4b7ba-ba00-4525-b6e9-c98137ad6a74_1090x306.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/p/how-to-send-bulk-indexing-request?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/p/how-to-send-bulk-indexing-request?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/subscribe?"><span>Subscribe now</span></a></p><div class="install-substack-app-embed install-substack-app-embed-web" data-component-name="InstallSubstackAppToDOM"><img class="install-substack-app-embed-img" src="https://substackcdn.com/image/fetch/$s_!wHyr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd085bf37-6880-459f-a2e9-d74b4ca4b6eb_500x500.png"><div class="install-substack-app-embed-text"><div class="install-substack-app-header">Read SEO Snippets in the Substack app</div><div class="install-substack-app-text">Available for iOS and Android</div></div><a href="https://substack.com/app/app-store-redirect?utm_campaign=app-marketing&amp;utm_content=author-post-insert&amp;utm_source=seosnippets" target="_blank" class="install-substack-app-embed-link"><button class="install-substack-app-embed-btn button primary">Get the app</button></a></div><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[How to Extract People Also Ask section of Google using Python?]]></title><description><![CDATA[Get Questions from PAA section of Google!]]></description><link>https://seosnippets.substack.com/p/how-to-extract-people-also-ask-section</link><guid isPermaLink="false">https://seosnippets.substack.com/p/how-to-extract-people-also-ask-section</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Thu, 03 Mar 2022 22:42:43 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Dh50!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This may sound very complex but it is actually very easy. </p><p>Thanks to the python package <a href="https://pypi.org/project/people-also-ask/">people-also-ask</a>.</p><p>In this snippet, I am going to show you how you can extract the related questions of any topic from Google&#8217;s PAA section - </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Dh50!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Dh50!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png 424w, https://substackcdn.com/image/fetch/$s_!Dh50!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png 848w, https://substackcdn.com/image/fetch/$s_!Dh50!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png 1272w, https://substackcdn.com/image/fetch/$s_!Dh50!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Dh50!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png" width="896" height="415" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/d34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:415,&quot;width&quot;:896,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:35508,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Dh50!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png 424w, https://substackcdn.com/image/fetch/$s_!Dh50!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png 848w, https://substackcdn.com/image/fetch/$s_!Dh50!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png 1272w, https://substackcdn.com/image/fetch/$s_!Dh50!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd34a1699-0e15-4d11-a49c-e71ff48a54fe_896x415.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The first step is to obviously install the required packages. Type the following in CMD -</p><p><code>pip install people-also-ask</code></p><p>And then write these simple four lines of code - </p><p><code>import people_also_ask</code></p><p><code>topic = 'python seo'<br>questions = people_also_ask.get_related_questions(topic)<br><br>for i in questions:<br>    print(i)</code></p><p>Here is what output looks like - </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SWaC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SWaC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png 424w, https://substackcdn.com/image/fetch/$s_!SWaC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png 848w, https://substackcdn.com/image/fetch/$s_!SWaC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png 1272w, https://substackcdn.com/image/fetch/$s_!SWaC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SWaC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png" width="921" height="107" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/d2415876-5899-4d9b-a533-972726707fc7_921x107.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:107,&quot;width&quot;:921,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:12664,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SWaC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png 424w, https://substackcdn.com/image/fetch/$s_!SWaC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png 848w, https://substackcdn.com/image/fetch/$s_!SWaC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png 1272w, https://substackcdn.com/image/fetch/$s_!SWaC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2415876-5899-4d9b-a533-972726707fc7_921x107.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>It becomes a bit complex when you want to do this in bulk and want to clean up the data. </p><p>So I have made this tool where you can upload the CSV file and get all the related questions - <a href="https://also-ask.herokuapp.com/">Also Ask</a></p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!27eo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!27eo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png 424w, https://substackcdn.com/image/fetch/$s_!27eo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png 848w, https://substackcdn.com/image/fetch/$s_!27eo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png 1272w, https://substackcdn.com/image/fetch/$s_!27eo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!27eo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png" width="935" height="643" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:643,&quot;width&quot;:935,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:49734,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!27eo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png 424w, https://substackcdn.com/image/fetch/$s_!27eo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png 848w, https://substackcdn.com/image/fetch/$s_!27eo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png 1272w, https://substackcdn.com/image/fetch/$s_!27eo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F03129c07-a93b-4f6f-bd0c-d66d7a751588_935x643.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I will soon upload the whole code on how to perform this task in bulk.</p><p>Hope this helped!</p><p>Thanks for reading.</p><p>Tweet @stanabk if facing any issues.</p><p>Sharing is caring! </p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/p/how-to-extract-people-also-ask-section?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/p/how-to-extract-people-also-ask-section?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[How to Quickly Check Status Code of URLs in Sitemaps using Python?]]></title><description><![CDATA[Analyze URLs in sitemap on large scale.]]></description><link>https://seosnippets.substack.com/p/how-to-quickly-check-status-code</link><guid isPermaLink="false">https://seosnippets.substack.com/p/how-to-quickly-check-status-code</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Thu, 03 Mar 2022 22:11:25 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!yT1C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Before starting this snippet I wanna appreciate the work <a href="https://twitter.com/eliasdabbas">Elias Dabbas</a> is doing with <a href="https://advertools.readthedocs.io/en/master/index.html">Advertools</a>. </p><p>He is really helping the Digital Marketing community a lot by making this awesome tool free to use. </p><p>So, in this snippet, I am going to use Advertools for checking the status code of 1000+ URLs in my sitemap. </p><p>I first thought of using Screaming Frog but then it will crawl and extract everything, yeah I can untick those options but I found Advertools faster and easier </p><p>So let's first grab the sitemap. I am gonna use the sitemap of great Bill Slawski&#8217;s website - <a href="https://www.seobythesea.com/post-sitemap1.xml">SEO by the Sea</a></p><p>Now that we have the sitemap let&#8217;s just jump right into the code. </p><p>The first step is to install and import the required packages. </p><p>Type the following in CMD to install packages - </p><p><code>pip install panadas</code></p><p><code>pip install advertools</code></p><p>Import the packages - </p><p><code>import pandas as pd<br>import advertools as adv</code></p><p>The next step is to convert the sitemap to a data frame and then to a list</p><p><code>sitemap_url = 'https://www.seobythesea.com/post-sitemap1.xml'</code></p><p><code>sitemap_df = adv.sitemap_to_df(sitemap_url)</code></p><p><code>url_list = sitemap_df['loc'].tolist()</code></p><p>Then we will feed this list of URLs to advertools and check the response headers. We will then store the URLs and their status code in a CSV file. </p><p><code>adv.crawl_headers(url_list, 'url_status.jl')</code></p><p><code>headers_df = pd.read_json('url_status.jl', lines = True)</code></p><p><code>print(headers_df[['url','status']])</code></p><p><code>headers_df[['url','status']].to_csv(r'C:\Users\ABShukla\Documents\url_status_checker.csv')</code></p><p>Here is what output looks like - </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yT1C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yT1C!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png 424w, https://substackcdn.com/image/fetch/$s_!yT1C!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png 848w, https://substackcdn.com/image/fetch/$s_!yT1C!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png 1272w, https://substackcdn.com/image/fetch/$s_!yT1C!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yT1C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png" width="568" height="439" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/60074307-985e-4456-aa1a-60e791afb6ce_568x439.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:439,&quot;width&quot;:568,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:54375,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!yT1C!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png 424w, https://substackcdn.com/image/fetch/$s_!yT1C!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png 848w, https://substackcdn.com/image/fetch/$s_!yT1C!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png 1272w, https://substackcdn.com/image/fetch/$s_!yT1C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F60074307-985e-4456-aa1a-60e791afb6ce_568x439.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>Full code snippet -</strong> </p><pre><code>import pandas as pd</code></pre><pre><code>import advertools as adv</code></pre><pre><code>sitemap_url = 'https://www.seobythesea.com/post-sitemap1.xml'</code></pre><pre><code>sitemap_df = adv.sitemap_to_df(sitemap_url) url_list = sitemap_df['loc'].tolist()</code></pre><pre><code>adv.crawl_headers(url_list, 'url_status.jl')</code></pre><pre><code>headers_df = pd.read_json('url_status.jl', lines = True)</code></pre><pre><code>print(headers_df[['url','status']])</code></pre><pre><code>headers_df[['url','status']].to_csv(r'C:\Users\ABShukla\Documents\url_status_checker.csv')</code></pre><p></p><p>Hope this helped! </p><p>Thanks for reading.</p><p>Tweet @stanabk if facing any issues.</p><p>Sharing is caring!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/p/how-to-quickly-check-status-code?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/p/how-to-quickly-check-status-code?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[How to Analyze Core Web Vital metrics of 1000+ URLs?]]></title><description><![CDATA[Bulk Analyze Core Web Vital Metrics]]></description><link>https://seosnippets.substack.com/p/how-to-analyze-core-web-vital-metrics</link><guid isPermaLink="false">https://seosnippets.substack.com/p/how-to-analyze-core-web-vital-metrics</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Thu, 17 Feb 2022 21:09:57 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!3pQV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>So I was doing a domain migration of a medium-sized website the other day. And I wanted to make sure all the pages have the same page speed metrics on old and new domains.</p><p>Analyzing 1000+ pages one by one will be obviously a boring and tedious task.</p><p>But thanks to Google, they have made PageSpeed API available. </p><p>And thanks to Screaming Frog, they let us connect the PageSpeed API key with their tool.</p><p>This solves a very big problem. We can use PageSpeed API Key and Screaming frog to analyze PageSpeed data of 1000+ URLs. </p><p>Let&#8217;s get started.</p><p>The first step is to get the PageSpeed API Key. </p><p>Click on this<a href="https://developers.google.com/speed/docs/insights/v5/get-started"> URL. </a></p><p>Then click on this button which says &#8220;Get a key&#8221;</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CnHl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CnHl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png 424w, https://substackcdn.com/image/fetch/$s_!CnHl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png 848w, https://substackcdn.com/image/fetch/$s_!CnHl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png 1272w, https://substackcdn.com/image/fetch/$s_!CnHl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CnHl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png" width="470" height="224" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/c3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:224,&quot;width&quot;:470,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:15233,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CnHl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png 424w, https://substackcdn.com/image/fetch/$s_!CnHl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png 848w, https://substackcdn.com/image/fetch/$s_!CnHl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png 1272w, https://substackcdn.com/image/fetch/$s_!CnHl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fab81c-28b8-4110-99e9-3c6436744cac_470x224.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Then it will ask you to select a project, if you do not have any project created then you will have to create one.</p><p>Choose the project and click Next.</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iP_i!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iP_i!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png 424w, https://substackcdn.com/image/fetch/$s_!iP_i!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png 848w, https://substackcdn.com/image/fetch/$s_!iP_i!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png 1272w, https://substackcdn.com/image/fetch/$s_!iP_i!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iP_i!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png" width="726" height="282" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/e1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:282,&quot;width&quot;:726,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20977,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iP_i!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png 424w, https://substackcdn.com/image/fetch/$s_!iP_i!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png 848w, https://substackcdn.com/image/fetch/$s_!iP_i!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png 1272w, https://substackcdn.com/image/fetch/$s_!iP_i!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1d6eec3-a10d-408e-a5c9-14bed79b4961_726x282.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Once you click next, it will share the API Key with you.</p><p>It looks something like this - <code>AIzaSyAj3NwrzcQuM8YZWAxPXTASjzXv-sMbzro</code></p><p>(That&#8217;s a fake key btw)</p><p>This is your secret API key, so do not share it with anyone. </p><p>Now that you have an API key, open up Screaming Frog. </p><p>Go to  Configuration &gt; API Access &gt; PageSpeed Insights</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3pQV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3pQV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png 424w, https://substackcdn.com/image/fetch/$s_!3pQV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png 848w, https://substackcdn.com/image/fetch/$s_!3pQV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png 1272w, https://substackcdn.com/image/fetch/$s_!3pQV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3pQV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png" width="488" height="705" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:705,&quot;width&quot;:488,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:45840,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3pQV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png 424w, https://substackcdn.com/image/fetch/$s_!3pQV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png 848w, https://substackcdn.com/image/fetch/$s_!3pQV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png 1272w, https://substackcdn.com/image/fetch/$s_!3pQV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F47cb3045-0949-4949-9d7b-f3617573ac10_488x705.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Enter your PageSpeed API Key and click on &#8220;Connect&#8221;</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!36KI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!36KI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png 424w, https://substackcdn.com/image/fetch/$s_!36KI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png 848w, https://substackcdn.com/image/fetch/$s_!36KI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png 1272w, https://substackcdn.com/image/fetch/$s_!36KI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!36KI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png" width="813" height="203" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/be75db57-d175-428d-97df-e5223320e8bf_813x203.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:203,&quot;width&quot;:813,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14133,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!36KI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png 424w, https://substackcdn.com/image/fetch/$s_!36KI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png 848w, https://substackcdn.com/image/fetch/$s_!36KI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png 1272w, https://substackcdn.com/image/fetch/$s_!36KI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe75db57-d175-428d-97df-e5223320e8bf_813x203.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zb2a!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zb2a!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png 424w, https://substackcdn.com/image/fetch/$s_!zb2a!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png 848w, https://substackcdn.com/image/fetch/$s_!zb2a!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png 1272w, https://substackcdn.com/image/fetch/$s_!zb2a!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zb2a!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png" width="813" height="203" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:203,&quot;width&quot;:813,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14133,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zb2a!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png 424w, https://substackcdn.com/image/fetch/$s_!zb2a!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png 848w, https://substackcdn.com/image/fetch/$s_!zb2a!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png 1272w, https://substackcdn.com/image/fetch/$s_!zb2a!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F5706fa00-d455-414e-ac0d-dbeab5fa7769_813x203.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>If your API Key is correct it will get connected. </p><p>The next step is to select the metrics you want to fetch. </p><p>You can open up these metric groups and select the specific metrics you want to analyze. </p><p>I usually go for Lighthouse and CrUX metrics.</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!N7NS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!N7NS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png 424w, https://substackcdn.com/image/fetch/$s_!N7NS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png 848w, https://substackcdn.com/image/fetch/$s_!N7NS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png 1272w, https://substackcdn.com/image/fetch/$s_!N7NS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!N7NS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png" width="395" height="346" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/dfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:346,&quot;width&quot;:395,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:18759,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!N7NS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png 424w, https://substackcdn.com/image/fetch/$s_!N7NS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png 848w, https://substackcdn.com/image/fetch/$s_!N7NS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png 1272w, https://substackcdn.com/image/fetch/$s_!N7NS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfdcb644-fa9a-4ef5-95ec-29b9ed3a2afe_395x346.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Next, we need to make sure that Screaming Frog does not waste time in crawling the URLs. Because we just need PageSpeed metrics data.</p><p>There is no ideal way to do that, but there is a workaround.</p><p>Navigate to Configuration &gt; Spider &gt; Extraction </p><p>Uncheck everything. This way crawler will not waste time extracting the data from the pages.</p><p>Now you are all set to start the crawl. So hit that &#8220;Start&#8221; button. </p><p>And go to the &#8220;PageSpeed&#8221; tab once the crawl is finished. </p><p>You will have all your data there.</p><p>It will look something like this - </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jD38!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jD38!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png 424w, https://substackcdn.com/image/fetch/$s_!jD38!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png 848w, https://substackcdn.com/image/fetch/$s_!jD38!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png 1272w, https://substackcdn.com/image/fetch/$s_!jD38!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jD38!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png" width="1406" height="428" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:428,&quot;width&quot;:1406,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:77235,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jD38!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png 424w, https://substackcdn.com/image/fetch/$s_!jD38!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png 848w, https://substackcdn.com/image/fetch/$s_!jD38!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png 1272w, https://substackcdn.com/image/fetch/$s_!jD38!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7af252ae-bd8a-4553-8445-24582bd8860c_1406x428.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>That&#8217;s all!</p><p>Thanks for reading.</p><p>Sharing is caring!</p><p>Tweet <a href="https://twitter.com/StanAbK">@stanabk</a> if any queries.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/p/how-to-analyze-core-web-vital-metrics?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/p/how-to-analyze-core-web-vital-metrics?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/subscribe?"><span>Subscribe now</span></a></p><p></p><p></p><p></p><p></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[How to search for a Keyword on Multiple Pages using Screaming Frog?]]></title><description><![CDATA[Find Internal Linking Opportunities using Screaming Frog.]]></description><link>https://seosnippets.substack.com/p/how-to-search-for-a-keyword-on-multiple</link><guid isPermaLink="false">https://seosnippets.substack.com/p/how-to-search-for-a-keyword-on-multiple</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Thu, 17 Feb 2022 17:28:53 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!gEe3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I wanted to search for one specific word on all the articles I have on my website. </p><p>I am sure a lot of people would want to do this for multiple reasons.</p><p>Maybe for building internal linking opportunities, or brand mentions. </p><p>Screaming Frog has made it easy to perform such tasks.</p><p>So, let&#8217;s find an internal linking opportunity for forbes.com.</p><p>The first step is to install the Screaming Frog if you haven&#8217;t yet. You can download it from <a href="https://www.screamingfrog.co.uk/seo-spider/">here</a>.</p><p>The next step is to fetch the top 1000 pages. I am going to use Ahrefs for that, you can also use Google search console for your own website.</p><p>Then, we will check which pages are not getting much traffic. I found one such page from Ahrefs - </p><p>https://www.forbes.com/sites/shaharziv/2020/05/12/blue-state-bailout-red-state-residents-received-largest-stimulus-checks-and-millions-in-federal-aid/</p><p>It looks like it is related to &#8220;stimulus&#8221;. So, we will perform a custom search on the top 1000 pages for stimulus. </p><p>So let&#8217;s open up the Screaming frog. And under Configuration &gt; Custom you will see &#8220;Search&#8221;</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gEe3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gEe3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png 424w, https://substackcdn.com/image/fetch/$s_!gEe3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png 848w, https://substackcdn.com/image/fetch/$s_!gEe3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png 1272w, https://substackcdn.com/image/fetch/$s_!gEe3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gEe3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png" width="292" height="512.8961038961039" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/ef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:541,&quot;width&quot;:308,&quot;resizeWidth&quot;:292,&quot;bytes&quot;:36971,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gEe3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png 424w, https://substackcdn.com/image/fetch/$s_!gEe3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png 848w, https://substackcdn.com/image/fetch/$s_!gEe3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png 1272w, https://substackcdn.com/image/fetch/$s_!gEe3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fef968d1c-ea7a-46c7-a194-2f365bf46b93_308x541.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Click on Search, and then add &#8220;stimulus&#8221; (your keyword) in the Text and make sure you select HTML in the drop-down menu.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b6cE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b6cE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png 424w, https://substackcdn.com/image/fetch/$s_!b6cE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png 848w, https://substackcdn.com/image/fetch/$s_!b6cE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png 1272w, https://substackcdn.com/image/fetch/$s_!b6cE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!b6cE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png" width="1071" height="265" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:265,&quot;width&quot;:1071,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14689,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!b6cE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png 424w, https://substackcdn.com/image/fetch/$s_!b6cE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png 848w, https://substackcdn.com/image/fetch/$s_!b6cE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png 1272w, https://substackcdn.com/image/fetch/$s_!b6cE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F00395030-d4c0-4603-8e49-84ec7ccc1e1a_1071x265.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Once you have added the keyword, hit Ok. </p><p>And start the crawl! </p><p>Once the crawl is finished, you can go &#8220;Custom Search&#8221; tab, and click on &#8220;Search 1 (Contains)&#8221;. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3d3Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3d3Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png 424w, https://substackcdn.com/image/fetch/$s_!3d3Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png 848w, https://substackcdn.com/image/fetch/$s_!3d3Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png 1272w, https://substackcdn.com/image/fetch/$s_!3d3Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3d3Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png" width="1425" height="556" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:556,&quot;width&quot;:1425,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:114334,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3d3Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png 424w, https://substackcdn.com/image/fetch/$s_!3d3Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png 848w, https://substackcdn.com/image/fetch/$s_!3d3Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png 1272w, https://substackcdn.com/image/fetch/$s_!3d3Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F81bdd7c7-b061-486c-9022-857d926a2a68_1425x556.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>On the right side, you can see how many occurrences are there for &#8220;stimulus&#8221; in that specific URL. We found 23 URLs that mention &#8220;Stimulus&#8221;</p><p>Now you can download the report, sort it in descending order. And go through the URLs to find the internal linking opportunity. </p><p>For example, this URL has a lot of mentions of &#8220;stimulus&#8221; - </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2IpP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2IpP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png 424w, https://substackcdn.com/image/fetch/$s_!2IpP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png 848w, https://substackcdn.com/image/fetch/$s_!2IpP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png 1272w, https://substackcdn.com/image/fetch/$s_!2IpP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2IpP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png" width="1257" height="609" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:609,&quot;width&quot;:1257,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:107816,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2IpP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png 424w, https://substackcdn.com/image/fetch/$s_!2IpP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png 848w, https://substackcdn.com/image/fetch/$s_!2IpP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png 1272w, https://substackcdn.com/image/fetch/$s_!2IpP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F2f2e7b4b-4b28-43b5-8d3f-f8ce39e4cc8f_1257x609.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>You can perform this analysis for multiple keywords and find thousands of internal linking opportunities!</p><p>Thanks for reading.</p><p>Sharing is caring! </p><p>Tweet <a href="https://twitter.com/StanAbK">@stanabk</a> for any queries.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/p/how-to-search-for-a-keyword-on-multiple?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/p/how-to-search-for-a-keyword-on-multiple?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/subscribe?"><span>Subscribe now</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[How to check Similarity Score between Meta Title and H1 - Heading?]]></title><description><![CDATA[Analyze the similarity between Meta Title and Heading using Python]]></description><link>https://seosnippets.substack.com/p/how-to-check-similarity-score-between</link><guid isPermaLink="false">https://seosnippets.substack.com/p/how-to-check-similarity-score-between</guid><dc:creator><![CDATA[Abhishek Shukla]]></dc:creator><pubDate>Mon, 14 Feb 2022 21:42:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!13FD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Imagine you clicked on the link with the text &#8220;Tips for writing SEO-friendly content&#8221; and when you land on the page, the big heading says &#8220;Best SEO Content Writing Tools&#8221;.</p><p>Now that is not a very good User experience.</p><p>Not only for you but also for Search Engine bots like Google. </p><p>It creates confusion for users and also for bots.</p><p>Hence, it is always a best practice to keep your Meta Titles and first Heading either similar or exactly the same.</p><p>But let&#8217;s say you have thousands or even millions of URLs on your website and you want to analyze the similarity percentage between Titles and Headings.</p><p>Because even if it is not exactly the same, it may be similar. </p><p>For example, &#8220;Tips for writing SEO-friendly content&#8221; and &#8220;SEO-Friendly content writing tips&#8221; are very similar. </p><p>Hence, it is not possible to find a Title-Heading mismatch by just using excel IF Formula (I wish it was though!).</p><p>But it is not as complicated as it looks. A simple python script can help us achieve this.</p><p>To keep it simple, I am going to take random 100 URLs from this website - </p><p>www.additudemag.com</p><p>You can grab the<a href="https://docs.google.com/spreadsheets/d/1fhf3-gIiOQ01yc8IK2r851_PpSZji4R5SfTRJIvr3Fc/edit?usp=sharing"> list of URLs</a> here with Title and Heading.</p><p>We are going to use a python package called: <strong>fuzzywuzzy.</strong> </p><p>Fuzzywuzzy uses fuzzy logic to compare two texts and it gives a similarity score as an output. </p><p>Let&#8217;s install the required packages first -</p><p><code>pip install fuzzywuzzy</code></p><p><code>pip install pandas</code></p><p><code>pip install python-Levenshtein</code></p><p>Python-Levenshtein is an optional package to avoid warnings. In case you are facing issues installing this package on Windows, <a href="https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-levenshtein">install it using its wheel file</a>.</p><p>Now let&#8217;s jump right into the code - </p><p>Import required packages</p><p><code>from fuzzywuzzy import fuzz<br>from fuzzywuzzy import process<br>import pandas as pd</code></p><p>The next step is to download the above Google sheet as a CSV and store it somewhere on your local storage.</p><p>Once we have the file ready, we will use them to create Panda Dataframes.</p><p><code>df = pd.read_csv(r'PATH TO CSV FILE')</code></p><p>Now that we have our data frame ready, let&#8217;s convert them to a list so that we can run them through a loop one by one.</p><p><code>headings = df['Heading'].values.tolist()<br>titles = df['Title'].values.tolist()</code></p><p><code>sim_score = [] #declaring a blank list to store similarity  score values</code></p><p>The next step is to run a for loop on both lists and apply fuzzy logic to them.</p><p><code>for i,j in zip(headings, title):<br>     sim_score.append(fuzz.ratio(i,j))</code></p><p>The above loop will feed the heading and title to the fuzzy logic and fill the sim_score list with the similarity score values.</p><p>Now we will merge the two data frames and store them in a CSV file.<br><code><br>similarity_score_df = pd.DataFrame(sim_score)</code><br><code>similarity_score_df.columns = ['similarity_score']</code><br><code>final_df = pd.concat([df, similarity_score_df], axis=1)<br>final_df.to_csv(r'Path to your output csv file')</code></p><p>Here is what the final output CSV file looks like - </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!13FD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!13FD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png 424w, https://substackcdn.com/image/fetch/$s_!13FD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png 848w, https://substackcdn.com/image/fetch/$s_!13FD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png 1272w, https://substackcdn.com/image/fetch/$s_!13FD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!13FD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png" width="1055" height="687" data-attrs="{&quot;src&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:687,&quot;width&quot;:1055,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:76195,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!13FD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png 424w, https://substackcdn.com/image/fetch/$s_!13FD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png 848w, https://substackcdn.com/image/fetch/$s_!13FD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png 1272w, https://substackcdn.com/image/fetch/$s_!13FD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1ee3f376-d38f-4d08-b108-e9107af23ecd_1055x687.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>Full code below -</strong> </p><pre><code>from fuzzywuzzy import fuzz
from fuzzywuzzy import process
import pandas as pd

df = pd.read_csv(r'PATH TO CSV FILE')

headings = df['Heading'].values.tolist()
titles = df['Title'].values.tolist()

sim_score = []

for i,j in zip(headings, titles):
    sim_score.append(fuzz.ratio(i,j))

similarity_score_df = pd.DataFrame(sim_score)
similarity_score_df.columns = ['similarity_score']

final_df = pd.concat([df, similarity_score_df], axis=1)

final_df.to_csv(r'PATH TO OUTPUT FILE')</code></pre><p></p><p>Thanks for reading!</p><p>Sharing is caring</p><p>Tweet if facing any issues: <a href="https://twitter.com/StanAbK">@stanabk</a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/p/how-to-check-similarity-score-between?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/p/how-to-check-similarity-score-between?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://seosnippets.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://seosnippets.substack.com/subscribe?"><span>Subscribe now</span></a></p><p></p>]]></content:encoded></item></channel></rss>