How to identify SEO keywords using Google Autocomplete

Learn how to use Python to identify the most popular SEO keywords linked to your search term by scraping the output of Google's Autocomplete feature.

How to identify SEO keywords using Google Autocomplete
Picture by Visuals, Unsplash.
41 minutes to read

The Google Autocomplete feature, or Google Suggest as it was previously known, has become a part of everyday life for us all. Start typing a search term into Google, and it will autocomplete your query based both others users’ searches, your personal search history, and your location.

Obviously, this makes Google Autocomplete is a powerful tool for keyword research. Not only can it tell you the sort of keywords you ought to be including within your copy, but it can also tell you about the brand’s strengths and weaknesses, and identify potential content gaps.

In this project I’ll show you how you can use Python SEO to create a useful script that takes a single search term, such as “tik tok”, and expands it into a series of related phrases, and then returns a ranked set of search terms for you to consider using in your content.

Load the packages

Open up a Jupyter notebook and import the packages below. The requests, urllib, json and operator packages are part of Python, so you just need to import them. If you need to install requests_html, you can do this by entering pip3 install requests_html in your terminal. I’ll work through the whole coding process step by step.

import requests
import urllib
import json
import operator
import pandas as pd
from requests_html import HTML
from requests_html import HTMLSession

Scrape the source

First, we’ll use Requests-HTML to create a helper function that takes a URL and returns the source code of the page. In our case, that URL will be the internal URL Google uses to return Autocomplete results, but you can use the function to scrape anything.

def get_source(url):

    try:
        session = HTMLSession()
        response = session.get(url)
        return response
    except requests.exceptions.RequestException as e:
        print(e)

Return the results

Next we’ll create a function called get_results() which takes our search query (i.e. “tik tok”), and URL encodes it so it can be safely included in the GET request we send to Google. It will then use our get_source() helper function to append the query to the internal Google API endpoint, and returns the text in JSON format.

def get_results(query):
    query = urllib.parse.quote_plus(query)
    response = get_source("https://suggestqueries.google.com/complete/search?output=chrome&hl=en&q=" + query)
    results = json.loads(response.text)
    return results

Let’s run the get_results() function on our search_term and examine the data that comes back. The element [0] contains the search term we used tik tok, element [1] contains the list of suggestions, while the dictionary key google:suggestrelevance in element [4] contains the relevance score for each suggestion.

search_term = "tik tok"
results = get_results(search_term)
results
['tik tok',
 ['tik tok video',
  'https://www.tiktok.com/',
  'tiktok counter',
  'tiktok songs',
  'tiktok logo',
  'tiktok mashup',
  'tik tok download',
  'tik tok lyrics'],
 ['', '', '', '', '', '', '', ''],
 [],
 {'google:clientdata': {'bpc': False, 'tlw': False},
  'google:suggestrelevance': [602, 601, 600, 554, 553, 552, 551, 550],
  'google:suggestsubtypes': [[433],
   [],
   [433, 131, 10],
   [433, 10],
   [10],
   [433, 10],
   [433, 131],
   [433]],
  'google:suggesttype': ['QUERY',
   'NAVIGATION',
   'QUERY',
   'QUERY',
   'QUERY',
   'QUERY',
   'QUERY',
   'QUERY'],
  'google:verbatimrelevance': 1300}]

Format the results

To tidy up the output above and return a neater list, we can use enumerate() to loop over each of the suggestions returned in element [1] and obtain the index and value for each. We’ll create a dictionary called suggestion and assign the value to term, and the relevance score tucked away in results[4]['google:suggestrelevance'][index] to relevance.

We’ll then append these to a list called suggestions, and return everything in one neat list. We can see from this that the most relevance suggestion when entering tik tok is tik tok video.

def format_results(results):
    suggestions = []
    for index, value in enumerate(results[1]):
        suggestion = {'term': value, 'relevance': results[4]['google:suggestrelevance'][index]}
        suggestions.append(suggestion)
    return suggestions
formatted_results = format_results(results)
formatted_results
[{'term': 'tik tok video', 'relevance': 602},
 {'term': 'https://www.tiktok.com/', 'relevance': 601},
 {'term': 'tiktok counter', 'relevance': 600},
 {'term': 'tiktok songs', 'relevance': 554},
 {'term': 'tiktok logo', 'relevance': 553},
 {'term': 'tiktok mashup', 'relevance': 552},
 {'term': 'tik tok download', 'relevance': 551},
 {'term': 'tik tok lyrics', 'relevance': 550}]

Get the Google autocomplete suggestions

To avoid the need to use several functions, we can now wrap these up in a single function called get_suggestions(). We’ll pass the search query to this, use get_results() to scrape the HTML, use format_results() to reformat the output, and then use sorted() and lambda to reverse sort the list by the value of the internal relevance key.

def get_suggestions(query):
    results = get_results(query)
    results = format_results(results)
    results = sorted(results, key=lambda k: k['relevance'], reverse=True)
    return results
results = get_suggestions(search_term)
results
[{'term': 'tik tok video', 'relevance': 602},
 {'term': 'https://www.tiktok.com/', 'relevance': 601},
 {'term': 'tiktok counter', 'relevance': 600},
 {'term': 'tiktok songs', 'relevance': 554},
 {'term': 'tiktok logo', 'relevance': 553},
 {'term': 'tiktok mashup', 'relevance': 552},
 {'term': 'tik tok download', 'relevance': 551},
 {'term': 'tik tok lyrics', 'relevance': 550}]

Expand the query with suffixes and prefixes

The function above works OK, but there’s loads more we can get out of Google Autocomplete. If we come up with some prefixes or suffixes we can place them before and after our search term and create a big list of terms to run through Google Autocomplete.

To access the data more easily within the next function, I’ve put these lists inside a couple of helper functions to keep things tidy. You’re free to add any prefixes and suffixes I’ve inevitably missed out!

def get_expanded_term_suffixes():
    expanded_term_suffixes = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
                             'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
    return expanded_term_suffixes
def get_expanded_term_prefixes():
    expanded_term_prefixes = ['who is *', 'what is *', 'where is *', 'when can *', 'why is *', 
                              'how to *', 'best', 'cheap', 'worst', 'is', 'what', 'when', 'why', 
                              'how', 'who']
    return expanded_term_prefixes

Create a list of all terms

Next, we’ll use the above helper functions to create a new list of expanded terms. We’ll fetch the outputs of get_expanded_term_prefixes() and get_expanded_term_suffixes(), and create a new list called terms, to which we’ll add our original query.

We’ll then loop over each of the prefixes and suffixes and add them to our original query to create a list containing dozens of new search terms, including our original query.

def get_expanded_terms(query):

    expanded_term_prefixes = get_expanded_term_prefixes()
    expanded_term_suffixes = get_expanded_term_suffixes()   

    terms = []
    terms.append(query)

    for term in expanded_term_prefixes:
        terms.append(term + ' ' + query)

    for term in expanded_term_suffixes:
        terms.append(query + ' ' + term)

    return terms

Here’s the get_expanded_terms(search_term) in action. We’ve now got a much bigger list of queries to enter into Google Autocomplete, from which we can generate a whole load of extra keyword suggestions.

get_expanded_terms(search_term)
['tik tok',
 'who is * tik tok',
 'what is * tik tok',
 'where is * tik tok',
 'when can * tik tok',
 'why is * tik tok',
 'how to * tik tok',
 'best tik tok',
 'cheap tik tok',
 'worst tik tok',
 'is tik tok',
 'what tik tok',
 'when tik tok',
 'why tik tok',
 'how tik tok',
 'who tik tok',
 'tik tok a',
 'tik tok b',
 'tik tok c',
 'tik tok d',
 'tik tok e',
 'tik tok f',
 'tik tok g',
 'tik tok h',
 'tik tok i',
 'tik tok j',
 'tik tok k',
 'tik tok l',
 'tik tok m',
 'tik tok n',
 'tik tok o',
 'tik tok p',
 'tik tok q',
 'tik tok r',
 'tik tok s',
 'tik tok t',
 'tik tok u',
 'tik tok v',
 'tik tok w',
 'tik tok x',
 'tik tok y',
 'tik tok z']

Obtain the suggestions for the expanded terms

Next, we’ll create another helper function. This will take our original search query, fetch all the prefixes and suffixes, add them to the original query, run them through Google Autocomplete, then format and sort the results.

def get_expanded_suggestions(query):

    all_results = []

    expanded_terms = get_expanded_terms(query)
    for term in expanded_terms:
        results = get_results(term)
        results = format_results(results)
        all_results = all_results + results
        all_results = sorted(all_results, key=lambda k: k['relevance'], reverse=True)
    return all_results
expanded_results = get_expanded_suggestions(search_term)
expanded_results
[{'term': 'cheap tik tok likes', 'relevance': 1252},
 {'term': 'worst tik toks', 'relevance': 1252},
 {'term': 'why tik tok banned', 'relevance': 1252},
 {'term': 'tik tok elizabeth zoom', 'relevance': 1252},
 {'term': 'tiktok quiz', 'relevance': 1252},
 {'term': 'cheap tik tok followers', 'relevance': 1251},
 {'term': 'worst tik toks ever', 'relevance': 1251},
 {'term': 'is tiktok safe', 'relevance': 1251},
 {'term': 'why tiktok is bad', 'relevance': 1251},
 {'term': 'tik tok email', 'relevance': 1251},
 {'term': 'tiktok jobs', 'relevance': 1251},
 {'term': 'tik tok kesha', 'relevance': 1251},
 {'term': 'tiktok quotes', 'relevance': 1251},
 {'term': 'tiktok zoe', 'relevance': 1251},
 {'term': 'best tiktok', 'relevance': 1250},
 {'term': 'cheap tik tok views', 'relevance': 1250},
 {'term': 'worst tiktokers', 'relevance': 1250},
 {'term': 'is tiktok banned', 'relevance': 1250},
 {'term': 'what tiktoker am i', 'relevance': 1250},
 {'term': 'why tik tok banned in india', 'relevance': 1250},
 {'term': 'how tiktok works', 'relevance': 1250},
 {'term': 'who tiktok', 'relevance': 1250},
 {'term': 'tiktok counter', 'relevance': 1250},
 {'term': 'tik tok download', 'relevance': 1250},
 {'term': 'tik tok elizabeth', 'relevance': 1250},
 {'term': 'tik tok hoodie', 'relevance': 1250},
 {'term': 'tiktok icon', 'relevance': 1250},
 {'term': 'tiktok jumper', 'relevance': 1250},
 {'term': 'tiktok logo', 'relevance': 1250},
 {'term': 'tiktok mashup', 'relevance': 1250},
 {'term': 'tiktok online', 'relevance': 1250},
 {'term': 'tiktok queen', 'relevance': 1250},
 {'term': 'tiktok room', 'relevance': 1250},
 {'term': 'tiktok songs', 'relevance': 1250},
 {'term': 'tik tok username generator', 'relevance': 1250},
 {'term': 'tik tok video', 'relevance': 1250},
 {'term': 'tiktok wrap', 'relevance': 1250},
 {'term': 'tik tok youtube', 'relevance': 1250},
 {'term': 'tiktok zara jeans', 'relevance': 1250},
 {'term': 'when tiktok started', 'relevance': 1200},
 {'term': 'best tik tok hashtags', 'relevance': 1150},
 {'term': 'tiktok gifts', 'relevance': 1100},
 {'term': 'tiktok dance', 'relevance': 1050},
 {'term': 'tik tok kesha lyrics', 'relevance': 1000},
 {'term': 'tiktok users', 'relevance': 1000},
 {'term': 'how tiktok makes money', 'relevance': 950},
 {'term': 'tiktok followers', 'relevance': 950},
 {'term': 'best tiktok songs', 'relevance': 900},
 {'term': 'tiktok trends', 'relevance': 900},
 {'term': 'tik tok lyrics', 'relevance': 851},
 {'term': 'is tiktok free', 'relevance': 850},
 {'term': 'tiktok cake', 'relevance': 850},
 {'term': 'tiktok ideas', 'relevance': 850},
 {'term': 'tiktok leggings', 'relevance': 850},
 {'term': 'tik tok age limit', 'relevance': 801},
 {'term': 'is tiktok down', 'relevance': 800},
 {'term': 'tik tok app', 'relevance': 800},
 {'term': 'tik tok editing apps', 'relevance': 800},
 {'term': 'worst tiktok trends', 'relevance': 750},
 {'term': 'tik tok hoodie uk', 'relevance': 750},
 {'term': 'tik tok video download', 'relevance': 750},
 {'term': 'tik tok name generator', 'relevance': 701},
 {'term': 'why tiktok is good', 'relevance': 700},
 {'term': 'tiktok news', 'relevance': 700},
 {'term': 'tik tok open', 'relevance': 700},
 {'term': 'tik tok balloons', 'relevance': 651},
 {'term': 'tik tok merch', 'relevance': 651},
 {'term': 'tik tok uk', 'relevance': 651},
 {'term': 'worst tiktok dances', 'relevance': 650},
 {'term': 'tik tok app download', 'relevance': 650},
 {'term': 'tiktok boys', 'relevance': 650},
 {'term': 'tiktok follower count', 'relevance': 650},
 {'term': 'tiktok game', 'relevance': 650},
 {'term': 'tiktok ipo', 'relevance': 650},
 {'term': 'tiktok login', 'relevance': 650},
 {'term': 'tik tok mashup clean', 'relevance': 650},
 {'term': 'tiktok usernames', 'relevance': 650},
 {'term': 'tiktok zoom', 'relevance': 650},
 {'term': 'tik tok dance songs', 'relevance': 603},
 {'term': 'tik tok video', 'relevance': 602},
 {'term': 'best tiktok video', 'relevance': 602},
 {'term': 'what tiktok has the most likes', 'relevance': 602},
 {'term': 'tiktok downloader', 'relevance': 602},
 {'term': 'tiktok kids', 'relevance': 602},
 {'term': 'tik tok remix', 'relevance': 602},
 {'term': 'tiktok us', 'relevance': 602},
 {'term': 'tik tok website', 'relevance': 602},
 {'term': 'tiktok zodiac', 'relevance': 602},
 {'term': 'https://www.tiktok.com/', 'relevance': 601},
 {'term': 'who is tiktok queen', 'relevance': 601},
 {'term': 'what is tiktok app', 'relevance': 601},
 {'term': 'where is tiktok getting banned', 'relevance': 601},
 {'term': 'when can you go live on tiktok', 'relevance': 601},
 {'term': 'why is tiktok getting banned', 'relevance': 601},
 {'term': 'how to tiktok videos', 'relevance': 601},
 {'term': 'best tiktok dances', 'relevance': 601},
 {'term': 'cheap tik tok shirts', 'relevance': 601},
 {'term': 'worst tiktok songs', 'relevance': 601},
 {'term': 'is tiktok bad', 'relevance': 601},
 {'term': 'what tiktok star am i', 'relevance': 601},
 {'term': 'when tik tok ban in india', 'relevance': 601},
 {'term': "why tiktok says i'm not eligible", 'relevance': 601},
 {'term': 'how tiktok pays', 'relevance': 601},
 {'term': 'who tiktok queen', 'relevance': 601},
 {'term': 'tik tok age rating', 'relevance': 601},
 {'term': 'tiktok birthday cake', 'relevance': 601},
 {'term': 'tik tok challenge', 'relevance': 601},
 {'term': 'tik tok dance challenge', 'relevance': 601},
 {'term': 'tiktok emoji', 'relevance': 601},
 {'term': 'tik tok funny video', 'relevance': 601},
 {'term': 'tiktok gif', 'relevance': 601},
 {'term': 'tik tok hashtags', 'relevance': 601},
 {'term': 'tik tok images', 'relevance': 601},
 {'term': 'tiktok jokes', 'relevance': 601},
 {'term': 'tik tok kesha release date', 'relevance': 601},
 {'term': 'tiktok live', 'relevance': 601},
 {'term': 'tik tok net worth', 'relevance': 601},
 {'term': 'tik tok outfits', 'relevance': 601},
 {'term': 'tik tok presents', 'relevance': 601},
 {'term': 'tik tok questions to ask', 'relevance': 601},
 {'term': 'tik tok roblox', 'relevance': 601},
 {'term': 'tiktok songs 2020', 'relevance': 601},
 {'term': 'tik tok t shirt', 'relevance': 601},
 {'term': 'tik tok username change', 'relevance': 601},
 {'term': 'tik tok videos funny', 'relevance': 601},
 {'term': 'tiktok wallpaper', 'relevance': 601},
 {'term': 'tik tok xmas', 'relevance': 601},
 {'term': 'tik tok yada yada', 'relevance': 601},
 {'term': 'tiktok zara', 'relevance': 601},
 {'term': 'tiktok counter', 'relevance': 600},
 {'term': 'who is tiktok star', 'relevance': 600},
 {'term': 'what is tiktok creator fund', 'relevance': 600},
 {'term': 'where is tiktok headquarters', 'relevance': 600},
 {'term': 'can i change my tiktok name', 'relevance': 600},
 {'term': 'why is tiktok bad', 'relevance': 600},
 {'term': 'how to tiktok followers', 'relevance': 600},
 {'term': 'best tiktok names', 'relevance': 600},
 {'term': 'cheap tik tok lights', 'relevance': 600},
 {'term': 'worst tiktok videos', 'relevance': 600},
 {'term': 'is tiktok chinese', 'relevance': 600},
 {'term': 'what tiktok should i do', 'relevance': 600},
 {'term': 'when tik tok open in india', 'relevance': 600},
 {'term': 'why tiktok should be banned', 'relevance': 600},
 {'term': 'how tiktok video download', 'relevance': 600},
 {'term': 'who tiktok star death', 'relevance': 600},
 {'term': 'tik tok algorithm', 'relevance': 600},
 {'term': 'tiktok ban', 'relevance': 600},
 {'term': 'tiktok clothes', 'relevance': 600},
 {'term': 'tik tok dance songs 2020', 'relevance': 600},
 {'term': 'tiktok earnings', 'relevance': 600},
 {'term': 'tik tok font', 'relevance': 600},
 {'term': 'tik tok girl name', 'relevance': 600},
 {'term': 'tiktok house', 'relevance': 600},
 {'term': 'tik tok india', 'relevance': 600},
 {'term': 'tik tok jerusalema', 'relevance': 600},
 {'term': 'tiktok killer', 'relevance': 600},
 {'term': 'tiktok likes', 'relevance': 600},
 {'term': 'tiktok names', 'relevance': 600},
 {'term': 'tiktok owner', 'relevance': 600},
 {'term': 'tiktok pfp', 'relevance': 600},
 {'term': 'tiktok questions', 'relevance': 600},
 {'term': 'tiktok red filter', 'relevance': 600},
 {'term': 'tik tok stock', 'relevance': 600},
 {'term': 'tik tok tracksuit', 'relevance': 600},
 {'term': 'tiktok username ideas', 'relevance': 600},
 {'term': 'tiktok views', 'relevance': 600},
 {'term': 'tik tok wiki', 'relevance': 600},
 {'term': 'tik tok xmas jumper', 'relevance': 600},
 {'term': 'tik tok your following too fast', 'relevance': 600},
 {'term': 'tik tok zoom meeting', 'relevance': 600},
 {'term': 'who is tiktok famous', 'relevance': 555},
 {'term': 'what is tiktok stock', 'relevance': 555},
 {'term': 'where is tiktok being banned', 'relevance': 555},
 {'term': 'why is tiktok being banned', 'relevance': 555},
 {'term': 'how to tiktok dances', 'relevance': 555},
 {'term': 'tik tok party', 'relevance': 555},
 {'term': 'tik tok xmas dance', 'relevance': 555},
 {'term': 'tiktok songs', 'relevance': 554},
 {'term': 'who is tiktok owner', 'relevance': 554},
 {'term': 'what is tiktok getting banned', 'relevance': 554},
 {'term': 'where is tiktok room', 'relevance': 554},
 {'term': 'why is tiktok shutting down', 'relevance': 554},
 {'term': 'how to tiktok use', 'relevance': 554},
 {'term': 'when tiktok banned', 'relevance': 554},
 {'term': 'who tiktok famous', 'relevance': 554},
 {'term': 'tiktok pjs', 'relevance': 554},
 {'term': 'tiktok sea shanty', 'relevance': 554},
 {'term': 'tik tok tik tok', 'relevance': 554},
 {'term': 'tiktok xmas song', 'relevance': 554},
 {'term': 'tik tok yoga pants', 'relevance': 554},
 {'term': 'tiktok logo', 'relevance': 553},
 {'term': 'who is tiktok willy wonka', 'relevance': 553},
 {'term': 'what is tiktok lite', 'relevance': 553},
 {'term': 'where is tiktok bio', 'relevance': 553},
 {'term': 'why is tiktok getting banned in america', 'relevance': 553},
 {'term': 'how to tiktok account delete', 'relevance': 553},
 {'term': 'what tiktoker has the most followers', 'relevance': 553},
 {'term': 'when tiktok banned in malaysia', 'relevance': 553},
 {'term': 'how tiktok earn money', 'relevance': 553},
 {'term': 'who tiktok king', 'relevance': 553},
 {'term': 'tik tok bedding', 'relevance': 553},
 {'term': 'tiktok careers', 'relevance': 553},
 {'term': 'tiktok famous', 'relevance': 553},
 {'term': 'tik tok girls hoodie', 'relevance': 553},
 {'term': 'tiktok hair', 'relevance': 553},
 {'term': 'tik tok james charles', 'relevance': 553},
 {'term': 'tik tok oh no', 'relevance': 553},
 {'term': 'tik tok pictures', 'relevance': 553},
 {'term': 'tiktok ring light', 'relevance': 553},
 {'term': 'tiktok stars', 'relevance': 553},
 {'term': 'tik tok toe', 'relevance': 553},
 {'term': 'tiktok video downloader', 'relevance': 553},
 {'term': 'tiktok wap', 'relevance': 553},
 {'term': 'tiktok counter', 'relevance': 553},
 {'term': 'tiktok yellow', 'relevance': 553},
 {'term': 'tiktok mashup', 'relevance': 552},
 {'term': 'who is tiktok getting banned', 'relevance': 552},
 {'term': 'what is tiktok videos', 'relevance': 552},
 {'term': 'where is tiktok shutting down', 'relevance': 552},
 {'term': 'can you get paid from tiktok', 'relevance': 552},
 {'term': 'why is tiktok getting deleted', 'relevance': 552},
 {'term': 'how to tiktok likes', 'relevance': 552},
 {'term': 'cheap tiktok hoodies', 'relevance': 552},
 {'term': 'what tiktok girl are you', 'relevance': 552},
 {'term': 'when tiktok songs come on', 'relevance': 552},
 {'term': 'how tiktok started', 'relevance': 552},
 {'term': 'who tiktok queen in world', 'relevance': 552},
 {'term': 'tik tok account', 'relevance': 552},
 {'term': 'tiktok book', 'relevance': 552},
 {'term': 'tiktok cake ideas', 'relevance': 552},
 {'term': 'tiktok facts', 'relevance': 552},
 {'term': 'tik tok gacha life', 'relevance': 552},
 {'term': 'tiktok help', 'relevance': 552},
 {'term': 'tik tok instagram', 'relevance': 552},
 {'term': 'tiktok jelly', 'relevance': 552},
 {'term': 'tiktok oh no song', 'relevance': 552},
 {'term': 'tiktok pyjamas', 'relevance': 552},
 {'term': 'tiktok queen mug', 'relevance': 552},
 {'term': 'tik tok remix songs', 'relevance': 552},
 {'term': 'tiktok search', 'relevance': 552},
 {'term': 'tiktok trends 2020', 'relevance': 552},
 {'term': 'tik tok verified', 'relevance': 552},
 {'term': 'tiktok wellerman', 'relevance': 552},
 {'term': 'tiktok xylophone song', 'relevance': 552},
 {'term': 'tik tok yellow remix', 'relevance': 552},
 {'term': 'tik tok download', 'relevance': 551},
 {'term': 'who is tiktok room', 'relevance': 551},
 {'term': 'what is tiktok ban', 'relevance': 551},
 {'term': 'where is tiktok app from', 'relevance': 551},
 {'term': 'can you make money off tiktok', 'relevance': 551},
 {'term': 'why is tiktok down', 'relevance': 551},
 {'term': 'how to tiktok make money', 'relevance': 551},
 {'term': 'best tiktok bios', 'relevance': 551},
 {'term': 'cheap tiktok clothes', 'relevance': 551},
 {'term': 'is tiktok safe for kids', 'relevance': 551},
 {'term': 'what tiktok aesthetic am i', 'relevance': 551},
 {'term': 'when tik tok ban', 'relevance': 551},
 {'term': 'why tiktok banned in pakistan', 'relevance': 551},
 {'term': 'how tik tok download', 'relevance': 551},
 {'term': 'who tiktok star', 'relevance': 551},
 {'term': 'tiktok ads', 'relevance': 551},
 {'term': 'tik tok birthday not eligible 2020', 'relevance': 551},
 {'term': 'tiktok cake topper', 'relevance': 551},
 {'term': 'tiktok down', 'relevance': 551},
 {'term': 'tiktok effects', 'relevance': 551},
 {'term': 'tik tok famous song', 'relevance': 551},
 {'term': 'tiktok ghost', 'relevance': 551},
 {'term': 'tiktok hacks', 'relevance': 551},
 {'term': 'tiktok icon aesthetic', 'relevance': 551},
 {'term': 'tik tok jewellery', 'relevance': 551},
 {'term': 'tik tok kids clothes', 'relevance': 551},
 {'term': 'tiktok light', 'relevance': 551},
 {'term': 'tik tok official merchandise uk', 'relevance': 551},
 {'term': 'tik tok profile', 'relevance': 551},
 {'term': 'tiktok qr code', 'relevance': 551},
 {'term': 'tiktok return to oz', 'relevance': 551},
 {'term': 'tik tok shanty', 'relevance': 551},
 {'term': 'tiktok tea', 'relevance': 551},
 {'term': 'tik tok video length', 'relevance': 551},
 {'term': 'tiktok wrap hack', 'relevance': 551},
 {'term': 'tiktok xmas logo', 'relevance': 551},
 {'term': 'tik tok youtube videos', 'relevance': 551},
 {'term': 'tik tok zachary latham', 'relevance': 551},
 {'term': 'tik tok lyrics', 'relevance': 550},
 {'term': 'who is tiktok being banned', 'relevance': 550},
 {'term': 'what is tiktok shutting down', 'relevance': 550},
 {'term': 'where is tiktok analytics', 'relevance': 550},
 {'term': 'can u make money on tiktok', 'relevance': 550},
 {'term': 'why is tiktok trending', 'relevance': 550},
 {'term': 'how to tiktok creator fund', 'relevance': 550},
 {'term': 'best tiktok song 2020', 'relevance': 550},
 {'term': 'cheap tik tok decorations', 'relevance': 550},
 {'term': 'worst tik tok dancer', 'relevance': 550},
 {'term': 'is tiktok banned in america', 'relevance': 550},
 {'term': 'what tik tok star died', 'relevance': 550},
 {'term': 'when tiktok was banned in india', 'relevance': 550},
 {'term': 'why tiktok should not be banned', 'relevance': 550},
 {'term': 'how tiktok ruined my life', 'relevance': 550},
 {'term': 'who tiktok song', 'relevance': 550},
 {'term': 'tiktok countdown', 'relevance': 550},
 {'term': 'tik tok dog videos', 'relevance': 550},
 {'term': 'tik tok equipment', 'relevance': 550},
 {'term': 'tiktok follower counter', 'relevance': 550},
 {'term': 'tiktok growth', 'relevance': 550},
 {'term': 'tik tok hoodie ebay', 'relevance': 550},
 {'term': 'tiktok inbox', 'relevance': 550},
 {'term': 'tik tok joker', 'relevance': 550},
 {'term': 'tik tok king', 'relevance': 550},
 {'term': 'tiktok leggings amazon', 'relevance': 550},
 {'term': 'tik tok oh na na na', 'relevance': 550},
 {'term': 'tik tok playlist', 'relevance': 550},
 {'term': 'tiktok queen hoodie', 'relevance': 550},
 {'term': 'tik tok room instagram', 'relevance': 550},
 {'term': 'tiktok sign', 'relevance': 550},
 {'term': 'tik tok tik tok song', 'relevance': 550},
 {'term': 'tik tok unblocked', 'relevance': 550},
 {'term': 'tiktok viewer', 'relevance': 550},
 {'term': 'tik tok watch', 'relevance': 550},
 {'term': 'tik tok xmas presents', 'relevance': 550},
 {'term': 'tik tok yi yi', 'relevance': 550},
 {'term': 'tiktok zodiac signs', 'relevance': 550}]

Put it all together…

Finally, we’ll wrap it all together with a function called google_autocomplete(). This takes two arguments - our query, and include_expanded, which we can set to False if we want the basic suggestions, rather than the expanded list.

def google_autocomplete(query, include_expanded=True):

    if include_expanded:
        results = get_expanded_suggestions(query)        
        return results

    else:
        results = get_suggestions(query)
        return results
Unexpanded suggestions

To see it in action, we’ll first pass in our search_term to google_autocomplete() with include_expanded set to False. This gives us back our default Autocomplete output containing eight keyword suggestions and their relevance scores.

suggestions = google_autocomplete(search_term, include_expanded=False)
suggestions
[{'term': 'tik tok video', 'relevance': 602},
 {'term': 'https://www.tiktok.com/', 'relevance': 601},
 {'term': 'tiktok counter', 'relevance': 600},
 {'term': 'tiktok songs', 'relevance': 554},
 {'term': 'tiktok logo', 'relevance': 553},
 {'term': 'tiktok mashup', 'relevance': 552},
 {'term': 'tik tok download', 'relevance': 551},
 {'term': 'tik tok lyrics', 'relevance': 550}]
Expanded suggestions

Running this with include_expanded set to True shows the extra data we’ve obtained by adding in those prefixes and suffixes. We’ve gone from an original list of eight keyword suggestions to 328!

suggestions = google_autocomplete(search_term, include_expanded=True)
suggestions
[{'term': 'cheap tik tok likes', 'relevance': 1252},
 {'term': 'worst tik toks', 'relevance': 1252},
 {'term': 'why tik tok banned', 'relevance': 1252},
 {'term': 'tik tok elizabeth zoom', 'relevance': 1252},
 {'term': 'tiktok quiz', 'relevance': 1252},
 {'term': 'cheap tik tok followers', 'relevance': 1251},
 {'term': 'worst tik toks ever', 'relevance': 1251},
 {'term': 'is tiktok safe', 'relevance': 1251},
 {'term': 'why tiktok is bad', 'relevance': 1251},
 {'term': 'tik tok email', 'relevance': 1251},
 {'term': 'tiktok jobs', 'relevance': 1251},
 {'term': 'tik tok kesha', 'relevance': 1251},
 {'term': 'tiktok quotes', 'relevance': 1251},
 {'term': 'tiktok zoe', 'relevance': 1251},
 {'term': 'best tiktok', 'relevance': 1250},
 {'term': 'cheap tik tok views', 'relevance': 1250},
 {'term': 'worst tiktokers', 'relevance': 1250},
 {'term': 'is tiktok banned', 'relevance': 1250},
 {'term': 'what tiktoker am i', 'relevance': 1250},
 {'term': 'why tik tok banned in india', 'relevance': 1250},
 {'term': 'how tiktok works', 'relevance': 1250},
 {'term': 'who tiktok', 'relevance': 1250},
 {'term': 'tiktok counter', 'relevance': 1250},
 {'term': 'tik tok download', 'relevance': 1250},
 {'term': 'tik tok elizabeth', 'relevance': 1250},
 {'term': 'tik tok hoodie', 'relevance': 1250},
 {'term': 'tiktok icon', 'relevance': 1250},
 {'term': 'tiktok jumper', 'relevance': 1250},
 {'term': 'tiktok logo', 'relevance': 1250},
 {'term': 'tiktok mashup', 'relevance': 1250},
 {'term': 'tiktok online', 'relevance': 1250},
 {'term': 'tiktok queen', 'relevance': 1250},
 {'term': 'tiktok room', 'relevance': 1250},
 {'term': 'tiktok songs', 'relevance': 1250},
 {'term': 'tik tok username generator', 'relevance': 1250},
 {'term': 'tik tok video', 'relevance': 1250},
 {'term': 'tiktok wrap', 'relevance': 1250},
 {'term': 'tik tok youtube', 'relevance': 1250},
 {'term': 'tiktok zara jeans', 'relevance': 1250},
 {'term': 'when tiktok started', 'relevance': 1200},
 {'term': 'best tik tok hashtags', 'relevance': 1150},
 {'term': 'tiktok gifts', 'relevance': 1100},
 {'term': 'tiktok dance', 'relevance': 1050},
 {'term': 'tik tok kesha lyrics', 'relevance': 1000},
 {'term': 'tiktok users', 'relevance': 1000},
 {'term': 'how tiktok makes money', 'relevance': 950},
 {'term': 'tiktok followers', 'relevance': 950},
 {'term': 'best tiktok songs', 'relevance': 900},
 {'term': 'tiktok trends', 'relevance': 900},
 {'term': 'tik tok lyrics', 'relevance': 851},
 {'term': 'is tiktok free', 'relevance': 850},
 {'term': 'tiktok cake', 'relevance': 850},
 {'term': 'tiktok ideas', 'relevance': 850},
 {'term': 'tiktok leggings', 'relevance': 850},
 {'term': 'tik tok age limit', 'relevance': 801},
 {'term': 'is tiktok down', 'relevance': 800},
 {'term': 'tik tok app', 'relevance': 800},
 {'term': 'tik tok editing apps', 'relevance': 800},
 {'term': 'worst tiktok trends', 'relevance': 750},
 {'term': 'tik tok hoodie uk', 'relevance': 750},
 {'term': 'tik tok video download', 'relevance': 750},
 {'term': 'tik tok name generator', 'relevance': 701},
 {'term': 'why tiktok is good', 'relevance': 700},
 {'term': 'tiktok news', 'relevance': 700},
 {'term': 'tik tok open', 'relevance': 700},
 {'term': 'tik tok balloons', 'relevance': 651},
 {'term': 'tik tok merch', 'relevance': 651},
 {'term': 'tik tok uk', 'relevance': 651},
 {'term': 'worst tiktok dances', 'relevance': 650},
 {'term': 'tik tok app download', 'relevance': 650},
 {'term': 'tiktok boys', 'relevance': 650},
 {'term': 'tiktok follower count', 'relevance': 650},
 {'term': 'tiktok game', 'relevance': 650},
 {'term': 'tiktok ipo', 'relevance': 650},
 {'term': 'tiktok login', 'relevance': 650},
 {'term': 'tik tok mashup clean', 'relevance': 650},
 {'term': 'tiktok usernames', 'relevance': 650},
 {'term': 'tiktok zoom', 'relevance': 650},
 {'term': 'tik tok dance songs', 'relevance': 603},
 {'term': 'tik tok video', 'relevance': 602},
 {'term': 'best tiktok video', 'relevance': 602},
 {'term': 'what tiktok has the most likes', 'relevance': 602},
 {'term': 'tiktok downloader', 'relevance': 602},
 {'term': 'tiktok kids', 'relevance': 602},
 {'term': 'tik tok remix', 'relevance': 602},
 {'term': 'tiktok us', 'relevance': 602},
 {'term': 'tik tok website', 'relevance': 602},
 {'term': 'tiktok zodiac', 'relevance': 602},
 {'term': 'https://www.tiktok.com/', 'relevance': 601},
 {'term': 'who is tiktok queen', 'relevance': 601},
 {'term': 'what is tiktok app', 'relevance': 601},
 {'term': 'where is tiktok getting banned', 'relevance': 601},
 {'term': 'when can you go live on tiktok', 'relevance': 601},
 {'term': 'why is tiktok getting banned', 'relevance': 601},
 {'term': 'how to tiktok videos', 'relevance': 601},
 {'term': 'best tiktok dances', 'relevance': 601},
 {'term': 'cheap tik tok shirts', 'relevance': 601},
 {'term': 'worst tiktok songs', 'relevance': 601},
 {'term': 'is tiktok bad', 'relevance': 601},
 {'term': 'what tiktok star am i', 'relevance': 601},
 {'term': 'when tik tok ban in india', 'relevance': 601},
 {'term': "why tiktok says i'm not eligible", 'relevance': 601},
 {'term': 'how tiktok pays', 'relevance': 601},
 {'term': 'who tiktok queen', 'relevance': 601},
 {'term': 'tik tok age rating', 'relevance': 601},
 {'term': 'tiktok birthday cake', 'relevance': 601},
 {'term': 'tik tok challenge', 'relevance': 601},
 {'term': 'tik tok dance challenge', 'relevance': 601},
 {'term': 'tiktok emoji', 'relevance': 601},
 {'term': 'tik tok funny video', 'relevance': 601},
 {'term': 'tiktok gif', 'relevance': 601},
 {'term': 'tik tok hashtags', 'relevance': 601},
 {'term': 'tik tok images', 'relevance': 601},
 {'term': 'tiktok jokes', 'relevance': 601},
 {'term': 'tik tok kesha release date', 'relevance': 601},
 {'term': 'tiktok live', 'relevance': 601},
 {'term': 'tiktok music', 'relevance': 601},
 {'term': 'tik tok net worth', 'relevance': 601},
 {'term': 'tik tok outfits', 'relevance': 601},
 {'term': 'tik tok presents', 'relevance': 601},
 {'term': 'tik tok questions to ask', 'relevance': 601},
 {'term': 'tik tok roblox', 'relevance': 601},
 {'term': 'tiktok songs 2020', 'relevance': 601},
 {'term': 'tik tok t shirt', 'relevance': 601},
 {'term': 'tik tok username change', 'relevance': 601},
 {'term': 'tik tok videos funny', 'relevance': 601},
 {'term': 'tiktok wallpaper', 'relevance': 601},
 {'term': 'tik tok xmas', 'relevance': 601},
 {'term': 'tik tok yada yada', 'relevance': 601},
 {'term': 'tiktok zara', 'relevance': 601},
 {'term': 'tiktok counter', 'relevance': 600},
 {'term': 'who is tiktok star', 'relevance': 600},
 {'term': 'what is tiktok creator fund', 'relevance': 600},
 {'term': 'where is tiktok headquarters', 'relevance': 600},
 {'term': 'can i change my tiktok name', 'relevance': 600},
 {'term': 'why is tiktok bad', 'relevance': 600},
 {'term': 'how to tiktok followers', 'relevance': 600},
 {'term': 'best tiktok names', 'relevance': 600},
 {'term': 'cheap tik tok lights', 'relevance': 600},
 {'term': 'worst tiktok videos', 'relevance': 600},
 {'term': 'is tiktok chinese', 'relevance': 600},
 {'term': 'what tiktok should i do', 'relevance': 600},
 {'term': 'when tik tok open in india', 'relevance': 600},
 {'term': 'why tiktok should be banned', 'relevance': 600},
 {'term': 'how tiktok video download', 'relevance': 600},
 {'term': 'who tiktok star death', 'relevance': 600},
 {'term': 'tik tok algorithm', 'relevance': 600},
 {'term': 'tiktok ban', 'relevance': 600},
 {'term': 'tiktok clothes', 'relevance': 600},
 {'term': 'tik tok dance songs 2020', 'relevance': 600},
 {'term': 'tiktok earnings', 'relevance': 600},
 {'term': 'tik tok font', 'relevance': 600},
 {'term': 'tik tok girl name', 'relevance': 600},
 {'term': 'tiktok house', 'relevance': 600},
 {'term': 'tik tok india', 'relevance': 600},
 {'term': 'tik tok jerusalema', 'relevance': 600},
 {'term': 'tiktok killer', 'relevance': 600},
 {'term': 'tiktok likes', 'relevance': 600},
 {'term': 'tiktok names', 'relevance': 600},
 {'term': 'tiktok owner', 'relevance': 600},
 {'term': 'tiktok pfp', 'relevance': 600},
 {'term': 'tiktok questions', 'relevance': 600},
 {'term': 'tiktok red filter', 'relevance': 600},
 {'term': 'tik tok stock', 'relevance': 600},
 {'term': 'tik tok tracksuit', 'relevance': 600},
 {'term': 'tiktok username ideas', 'relevance': 600},
 {'term': 'tiktok views', 'relevance': 600},
 {'term': 'tik tok wiki', 'relevance': 600},
 {'term': 'tik tok xmas jumper', 'relevance': 600},
 {'term': 'tik tok your following too fast', 'relevance': 600},
 {'term': 'tik tok zoom meeting', 'relevance': 600},
 {'term': 'who is tiktok famous', 'relevance': 555},
 {'term': 'what is tiktok stock', 'relevance': 555},
 {'term': 'where is tiktok being banned', 'relevance': 555},
 {'term': 'why is tiktok being banned', 'relevance': 555},
 {'term': 'how to tiktok dances', 'relevance': 555},
 {'term': 'tik tok party', 'relevance': 555},
 {'term': 'tik tok xmas dance', 'relevance': 555},
 {'term': 'tiktok songs', 'relevance': 554},
 {'term': 'who is tiktok owner', 'relevance': 554},
 {'term': 'what is tiktok getting banned', 'relevance': 554},
 {'term': 'where is tiktok room', 'relevance': 554},
 {'term': 'why is tiktok shutting down', 'relevance': 554},
 {'term': 'how to tiktok use', 'relevance': 554},
 {'term': 'when tiktok banned', 'relevance': 554},
 {'term': 'who tiktok famous', 'relevance': 554},
 {'term': 'tiktok pjs', 'relevance': 554},
 {'term': 'tiktok sea shanty', 'relevance': 554},
 {'term': 'tik tok tik tok', 'relevance': 554},
 {'term': 'tiktok xmas song', 'relevance': 554},
 {'term': 'tik tok yoga pants', 'relevance': 554},
 {'term': 'tiktok logo', 'relevance': 553},
 {'term': 'who is tiktok willy wonka', 'relevance': 553},
 {'term': 'what is tiktok lite', 'relevance': 553},
 {'term': 'where is tiktok bio', 'relevance': 553},
 {'term': 'why is tiktok getting banned in america', 'relevance': 553},
 {'term': 'how to tiktok account delete', 'relevance': 553},
 {'term': 'what tiktoker has the most followers', 'relevance': 553},
 {'term': 'when tiktok banned in malaysia', 'relevance': 553},
 {'term': 'how tiktok earn money', 'relevance': 553},
 {'term': 'who tiktok king', 'relevance': 553},
 {'term': 'tik tok bedding', 'relevance': 553},
 {'term': 'tiktok careers', 'relevance': 553},
 {'term': 'tiktok famous', 'relevance': 553},
 {'term': 'tik tok girls hoodie', 'relevance': 553},
 {'term': 'tiktok hair', 'relevance': 553},
 {'term': 'tik tok james charles', 'relevance': 553},
 {'term': 'tik tok name ideas', 'relevance': 553},
 {'term': 'tik tok oh no', 'relevance': 553},
 {'term': 'tik tok pictures', 'relevance': 553},
 {'term': 'tiktok ring light', 'relevance': 553},
 {'term': 'tiktok stars', 'relevance': 553},
 {'term': 'tik tok toe', 'relevance': 553},
 {'term': 'tiktok video downloader', 'relevance': 553},
 {'term': 'tiktok wap', 'relevance': 553},
 {'term': 'tiktok counter', 'relevance': 553},
 {'term': 'tiktok yellow', 'relevance': 553},
 {'term': 'tiktok mashup', 'relevance': 552},
 {'term': 'who is tiktok getting banned', 'relevance': 552},
 {'term': 'what is tiktok videos', 'relevance': 552},
 {'term': 'where is tiktok shutting down', 'relevance': 552},
 {'term': 'can you get paid from tiktok', 'relevance': 552},
 {'term': 'why is tiktok getting deleted', 'relevance': 552},
 {'term': 'how to tiktok likes', 'relevance': 552},
 {'term': 'cheap tiktok hoodies', 'relevance': 552},
 {'term': 'what tiktok girl are you', 'relevance': 552},
 {'term': 'when tiktok songs come on', 'relevance': 552},
 {'term': 'how tiktok started', 'relevance': 552},
 {'term': 'who tiktok queen in world', 'relevance': 552},
 {'term': 'tik tok account', 'relevance': 552},
 {'term': 'tiktok book', 'relevance': 552},
 {'term': 'tiktok cake ideas', 'relevance': 552},
 {'term': 'tiktok facts', 'relevance': 552},
 {'term': 'tik tok gacha life', 'relevance': 552},
 {'term': 'tiktok help', 'relevance': 552},
 {'term': 'tik tok instagram', 'relevance': 552},
 {'term': 'tiktok jelly', 'relevance': 552},
 {'term': 'tiktok nurses', 'relevance': 552},
 {'term': 'tiktok oh no song', 'relevance': 552},
 {'term': 'tiktok pyjamas', 'relevance': 552},
 {'term': 'tiktok queen mug', 'relevance': 552},
 {'term': 'tik tok remix songs', 'relevance': 552},
 {'term': 'tiktok search', 'relevance': 552},
 {'term': 'tiktok trends 2020', 'relevance': 552},
 {'term': 'tik tok verified', 'relevance': 552},
 {'term': 'tiktok wellerman', 'relevance': 552},
 {'term': 'tiktok xylophone song', 'relevance': 552},
 {'term': 'tik tok yellow remix', 'relevance': 552},
 {'term': 'tik tok download', 'relevance': 551},
 {'term': 'who is tiktok room', 'relevance': 551},
 {'term': 'what is tiktok ban', 'relevance': 551},
 {'term': 'where is tiktok app from', 'relevance': 551},
 {'term': 'can you make money off tiktok', 'relevance': 551},
 {'term': 'why is tiktok down', 'relevance': 551},
 {'term': 'how to tiktok make money', 'relevance': 551},
 {'term': 'best tiktok bios', 'relevance': 551},
 {'term': 'cheap tiktok clothes', 'relevance': 551},
 {'term': 'is tiktok safe for kids', 'relevance': 551},
 {'term': 'what tiktok aesthetic am i', 'relevance': 551},
 {'term': 'when tik tok ban', 'relevance': 551},
 {'term': 'why tiktok banned in pakistan', 'relevance': 551},
 {'term': 'how tik tok download', 'relevance': 551},
 {'term': 'who tiktok star', 'relevance': 551},
 {'term': 'tiktok ads', 'relevance': 551},
 {'term': 'tik tok birthday not eligible 2020', 'relevance': 551},
 {'term': 'tiktok cake topper', 'relevance': 551},
 {'term': 'tiktok down', 'relevance': 551},
 {'term': 'tiktok effects', 'relevance': 551},
 {'term': 'tik tok famous song', 'relevance': 551},
 {'term': 'tiktok ghost', 'relevance': 551},
 {'term': 'tiktok hacks', 'relevance': 551},
 {'term': 'tiktok icon aesthetic', 'relevance': 551},
 {'term': 'tik tok jewellery', 'relevance': 551},
 {'term': 'tik tok kids clothes', 'relevance': 551},
 {'term': 'tiktok light', 'relevance': 551},
 {'term': 'tiktok memes', 'relevance': 551},
 {'term': 'tik tok nudie', 'relevance': 551},
 {'term': 'tik tok official merchandise uk', 'relevance': 551},
 {'term': 'tik tok profile', 'relevance': 551},
 {'term': 'tiktok qr code', 'relevance': 551},
 {'term': 'tiktok return to oz', 'relevance': 551},
 {'term': 'tik tok shanty', 'relevance': 551},
 {'term': 'tiktok tea', 'relevance': 551},
 {'term': 'tik tok video length', 'relevance': 551},
 {'term': 'tiktok wrap hack', 'relevance': 551},
 {'term': 'tiktok xmas logo', 'relevance': 551},
 {'term': 'tik tok youtube videos', 'relevance': 551},
 {'term': 'tik tok zachary latham', 'relevance': 551},
 {'term': 'tik tok lyrics', 'relevance': 550},
 {'term': 'who is tiktok being banned', 'relevance': 550},
 {'term': 'what is tiktok shutting down', 'relevance': 550},
 {'term': 'where is tiktok analytics', 'relevance': 550},
 {'term': 'can u make money on tiktok', 'relevance': 550},
 {'term': 'why is tiktok trending', 'relevance': 550},
 {'term': 'how to tiktok creator fund', 'relevance': 550},
 {'term': 'best tiktok song 2020', 'relevance': 550},
 {'term': 'cheap tik tok decorations', 'relevance': 550},
 {'term': 'worst tik tok dancer', 'relevance': 550},
 {'term': 'is tiktok banned in america', 'relevance': 550},
 {'term': 'what tik tok star died', 'relevance': 550},
 {'term': 'when tiktok was banned in india', 'relevance': 550},
 {'term': 'why tiktok should not be banned', 'relevance': 550},
 {'term': 'how tiktok ruined my life', 'relevance': 550},
 {'term': 'who tiktok song', 'relevance': 550},
 {'term': 'tiktok countdown', 'relevance': 550},
 {'term': 'tik tok dog videos', 'relevance': 550},
 {'term': 'tik tok equipment', 'relevance': 550},
 {'term': 'tiktok follower counter', 'relevance': 550},
 {'term': 'tiktok growth', 'relevance': 550},
 {'term': 'tik tok hoodie ebay', 'relevance': 550},
 {'term': 'tiktok inbox', 'relevance': 550},
 {'term': 'tik tok joker', 'relevance': 550},
 {'term': 'tik tok king', 'relevance': 550},
 {'term': 'tiktok leggings amazon', 'relevance': 550},
 {'term': 'tik tok merch uk', 'relevance': 550},
 {'term': 'tik tok nonce', 'relevance': 550},
 {'term': 'tik tok oh na na na', 'relevance': 550},
 {'term': 'tik tok playlist', 'relevance': 550},
 {'term': 'tiktok queen hoodie', 'relevance': 550},
 {'term': 'tik tok room instagram', 'relevance': 550},
 {'term': 'tiktok sign', 'relevance': 550},
 {'term': 'tik tok tik tok song', 'relevance': 550},
 {'term': 'tik tok unblocked', 'relevance': 550},
 {'term': 'tiktok viewer', 'relevance': 550},
 {'term': 'tik tok watch', 'relevance': 550},
 {'term': 'tik tok xmas presents', 'relevance': 550},
 {'term': 'tik tok yi yi', 'relevance': 550},
 {'term': 'tiktok zodiac signs', 'relevance': 550}]

Matt Clarke, Saturday, March 13, 2021

Matt Clarke Matt is a Digital Director who uses data science to help in his work. He has a Master's degree in Internet Retailing (plus two other Master's degrees in different fields) and specialises in the technical side of ecommerce and marketing.

Web Scraping in Python

Learn to retrieve and parse information from the internet using the Python library scrapy.

Start course for FREE

Comments