Skip to content

scrapeJIT is a CLI which allow you to get content from a website and manage global snippets easily using Powertoys run or wox.

Notifications You must be signed in to change notification settings

JesusDR01/scrapeJIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

scrapeJIT is a CLI which allow you to get content from a website and manage global snippets easily using Powertoys run or wox.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published