Skip to content

xt0n1-t3ch/Unshort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unshort

Python Playwright curl_cffi Linkvertise License

Unshort unwraps monetized shortlinks and prints the real destination URL. Minimal CLI, no browser extension, no compiled binary.

Unshort terminal preview

See the terminal preview above for sample output.

Install

pip install -r requirements.txt
playwright install chromium
python unshort.py --help

Usage

Drag unshort.py into your terminal after python, then paste the shortlink:

python unshort.py "https://linkvertise.com/ID/slug?o=sharing"

Quiet mode prints only the destination URL:

python unshort.py -q "https://linkvertise.com/..."

Use --visible if you want to watch the browser step.

Supported shorteners

  • Linkvertise
  • More coming

How it works

Unshort uses Playwright once to load the Linkvertise page and collect the same session cookies a real browser gets. It then reuses those cookies with curl_cffi, which sends Chrome-like TLS requests to Linkvertise's GraphQL API, resolves the link metadata, completes the required task flow, and returns the final destination URL.

Coming soon

  • lockr.so
  • lootlabs
  • work.ink

License

MIT © xt0n1

About

Clean URLs from monetized link shorteners. Currently works with Linkvertise. More coming.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages