Query the 'PublicWWW' Source Code Search Engine
The 'PublicWWW' https://publicwww.com/ source code search engine indexes the content of over 200 million web sites and provides a query interface that lets the caller find any alphanumeric snippet, signature or keyword in the web pages 'HTML', 'JavaScript' and 'CSS' style sheet code.
The site requires an API key and has limited functionality under the free plan.
The following functions are implemented:
source_code_search
: Find any alphanumeric snippet, signature or keyword in the web pages HTML, JS and CSS code in the PublicWWW databasedevtools::install_github("hrbrmstr/publicwww")
options(width=120)
library(publicwww) library(tidyverse) # current verison packageVersion("publicwww")
source_code_search('"/wp-content/themes/twentysixteen/"')
source_code_search('"coin-hive.com/lib/coinhive.min.js"')
source_code_search('"/sites/all/themes/"', snippets = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.