Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 1.88 KB

README.MD

File metadata and controls

63 lines (47 loc) · 1.88 KB

scrapeJIT CLI

  • Add content from website to clipboard easily!
  • Create snippets easily accesible.
  • Integration recommended: Wox and Powertoys run
  • Get text from image url.

How to install

cd ~ or cd c:/Users/<userName>/

Clone this repository.

cd ./scrapeJIT

Optional:

npm install if you want to use source code instead of .exe

You can add c:/Users/<userName>/scrapeJIT to environment path, so you can use scrapeJIT command everywhere

How to use

Examples to scrape content

powershell

./scrapeJIT.exe --url "https://simplewikipedia.org/wiki/Steve_Jobs" --selector "#mw-content-text"

Invisible execution

./scrapeJIT.vbs --url "https://simplewikipedia.org/wiki/Steve_Jobs" --selector "#mw-content-text"

Powertoys

Examples to create snippets

Using clipboard data

./scrapeJIT.exe --createsnippet <snippetName>

Using custom data

./scrapeJIT.exe --createsnippet <snippetName> --snippetdata <dataString>

Examples to use snippets
Using wox

You need to specify scrapeJIT folder

If you cant find the file restart wox or click Reindex in Wox settings.

Using Powertoys

Parameters

--url <type> ("Specify url")
--selector <type> ("Specify sele ctor")
--cookies <type> ("Cookies needed to get html)
--body <type> ("Specify body request")
--snippetcreate <type> ("Specify name to snippet file")
--snippetdata <type> ("Specify snippet content")
--snippetdelete <type> ("Specify snippet name to delete") 
--img <type> ("Specify imgUrl to get content")