View gmaps-scraper.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"fields": [ | |
{ | |
"attrs": [ | |
"text" | |
], | |
"filters": [ | |
{ | |
"name": "trim", | |
"param": "" |
View gist:7a58740502f2e692a19d2ff286b82391
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/windows/servercore/insider:10.0.18362.1 | |
RUN echo "Downloading dbconvert studio" | |
ADD https://dbconvert.com/downloads/dbconvert_studio.zip / | |
COPY DBConvert-Studio.reg / | |
RUN powershell -Command "Write-Host 'Expanding dbconvert archive'; \ | |
Expand-Archive dbconvert_studio.zip; \ | |
Write-Host 'Installing dbconvert'; \ | |
Start-Process msiexec -ArgumentList '/i', 'C:\dbconvert_studio\dbconvert_studio_x64\DbConvertStudioSetup_x64.msi', '/quiet', '/norestart' -NoNewWindow -Wait; \ | |
Start-Process reg import DBConvert-Studio.reg; \ |
View covid-19.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name":"COVID-19", | |
"request":{ | |
"url":"https://www.worldometers.info/coronavirus/", | |
"actions":[ | |
], | |
"type":"chrome" | |
}, | |
"commonParent":"tr[role]", |
View css3vsxpath.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Goal | CSS 3 | XPath | |
---|---|---|---|
All Elements | * | //* | |
All P Elements | p | //p | |
All Child Elements | p>* | //p/* | |
Element By ID | #foo | //*[@id=’foo’] | |
Element By Class | .foo | //*[contains(@class,’foo’)] | |
Element With Attribute | *[title] | //*[@title] | |
First Child of All P | p>*:first-child | //p/*[0] | |
All P with an A child | Not possible | //p[a] | |
Next Element | p + * | //p/following-sibling::*[0] |