How to get the word count of a list of URLs?

Thanks @gabrielroth and @Tom.

I created a macro to list all the search results page URLs and also the word count of each of them in a text file.

Resources used:

The macro, calls another "Get URLs from Google Search Results" macro. And now it uses Mercury Web Parser to get the word count of each of the URLs (loop)

It pasted in the word count infront of each of the URLs in a txt file. For this macro to paste in the results and work out of the box, you need to create a file called WordCount.txt, under Keyboard Maestro in Applications folder.

Sign up for https://mercury.postlight.com/web-parser/, get a free API key. You need to enter the API key for the shell script in the macro. I've added a comment there.

Download the two macros.

Word Count Search Results.kmmacros (9.4 KB)
Get URLs from Google Search Results.kmmacros (24.9 KB)

1 Like