Skip to content

imclab/shortpipe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shortpipe

shortpipe reads urls from stdin and writes them to stdout after having unshortened them.

Install

pip install shortpipe

Usage

cat urls.txt | shortpipe > new_urls.txt

If you have a bunch of CPUs you can parallelize the lookups with:

cat urls.txt | shortpipe --processes 4 > new_urls.txt

License

  • CC0

About

unshorten a stream of urls from the command line in parallel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published