/Google-DevTools-Snippets

Google DevTools Snippets for SEO & ML

Primary LanguageJavaScript

Google-DevTools-Snippets

Google DevTools Snippets for SEO & ML

Chrome DevTools Snippet Example

#⁠1 Copy the get-image-urls.js script and paste it into a new snippet in your Google DevTools Console:

screen shot 2019-02-28 at 4 50 36 pm

#⁠2 Command (⌘) + Save (s) to save the snippet for future applications.

Sidenote: Right click on the Snippet title you can 'rename' to whatever you would like.

#⁠3 To use your new image snippet do a Google Image Search and scroll down to however many images you would like to save.

#⁠4 Navigate to Chrome DevTools Sources > Snippets > right click your saved snippet and click 'Run'.

#⁠5 A .txt file of all the image URLs will automatically download.

screen shot 2019-02-28 at 5 18 55 pm

Download Images From URLs

Use Brew wget

#⁠1 Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

#⁠2 Install wget

brew install wget

#⁠3 Add your urls.txt into a new folder. Navigate to that folder in your terminal (using 'ls & cd' commands in your Terminal). https://wsvincent.com/terminal-command-line-for-beginners/

#⁠4 Run 'wget -i urls.txt' into your terminal (use whatever name your url.txt file is).

#⁠5 All images will be downloaded into the folder.

screen shot 2019-02-28 at 6 33 26 pm

screen shot 2019-02-28 at 6 35 08 pm

WOOOOHOOOOOOOO!!!! Training Data For AAALLLLL