Giter VIP home page Giter VIP logo

pymirror's Introduction

PyMirror

Build PyPI PyPI - Downloads PEP8

Requirements

Installation

git clone https://github.com/Alyetama/pymirror.git
cd pymirror
sh setup.sh
pip install pymirror

CLI Arguments

pymirror --help
usage: pymirror [-h] -i INPUT [-s {lines,list,markdown,reddit}] [-m] [-n NUMBER]
                [-d] [-c] [-D] [-l] [-e] [-v]

optional arguments:
  -h, --help                            Show this help message and \exit
  -i, --input INPUT                     Path to the input file/folder
  -s, --style {lines,list,markdown,reddit}
                                        Output style (default: lines)
  -m, --more-links                      Use mirrored.to to generate more likes
                                        (default: False)
  -n, --number NUMBER                   Select a specific number of servers to
                                        use (default: max)
  -d, --delete                          Delete the file after the process is
                                        complete (default: False)
  -c, --check-status                    Check the status of the remote servers
                                        (default: False)
  -D, --debug                           Debug
  -l, --log                             Show logs and save it to a file
                                        (default: False)
  -e, --experimental                    Generate even more links (experimental)
                                        (default: False)
  -v, --version                         Show program\'s version number and \exit

Basic Usage

pymirror --input foo.txt

Examaples

  1. Upload a file to multiple free hosting services and return the output in a markdown style
pymirror --input foo.txt --style markdown
Press `CTRL+C` at any time to quit.
───────────────────────────────── Uploading... ─────────────────────────────────
[ OK ] https://file.io/PYovv2JI0I4d
[ OK ] https://gofile.io/d/7QGe8z
[ OK ] https://a.uguu.se/QrGNenpZ.txt
[ OK ] https://transfer.sh/mURd/foo.txt
[ OK ] https://oshi.at/AmzjcK/foo.txt
[ OK ] https://0x0.st/iGzX.txt
[ OK ] https://ttm.sh/uhj.txt
[ OK ] https://temp.sh/mXoSA/foo.txt
[ OK ] https://1.filedit.ch/1/VKoJvyuUgtAXfyKEcC.txt
[ OK ] https://pomf.lain.la/f/ibie9ed.txt
─────────────────────────────────── Results ────────────────────────────────────
- [fileio](https://file.io/PYovv2JI0I4d)
- [gofile](https://gofile.io/d/7QGe8z)
- [uguu](https://a.uguu.se/QrGNenpZ.txt)
- [transfersh](https://transfer.sh/mURd/foo.txt)
- [oshi](https://oshi.at/AmzjcK/foo.txt)
- [0x0](https://0x0.st/iGzX.txt)
- [ttm](https://ttm.sh/uhj.txt)
- [filepush](https://temp.sh/mXoSA/foo.txt)
- [tempsh](https://1.filedit.ch/1/VKoJvyuUgtAXfyKEcC.txt)
- [fileditch](https://pomf.lain.la/f/ibie9ed.txt)
───────────────────────────────────── END ──────────────────────────────────────
  1. Use the --more-links (-m) flag1 to upload to more hosting services (~ 25 more) utilizing Selenium 2
pymirror --input foo.txt --style markdown --more-links
Press `CTRL+C` at any time to quit.
───────────────────────────────── Uploading... ─────────────────────────────────
[ OK ] https://file.io/eDZG6VfnDN43
[ OK ] https://gofile.io/d/QFNdfE
[ OK ] https://a.uguu.se/VEuSCRXG.txt
[ OK ] https://transfer.sh/14dUZMm/foo.txt
[ OK ] https://oshi.at/AmzkvT/foo.txt
[ OK ] https://0x0.st/iGzX.txt
[ OK ] https://ttm.sh/uhj.txt
[ OK ] https://temp.sh/bAxUT/foo.txt
[ OK ] https://1.filedit.ch/1/VKoJvyuUgtAXfyKEcC.txt
[ OK ] https://pomf.lain.la/f/ibie9ed.txt
[ OK ] https://usersdrive.com/ma2v4fr181v5
[ OK ] https://anonfiles.com/90Sb27Aau8/foo_txt
[ OK ] https://bayfiles.com/BfS025Acuc/foo_txt
[ OK ] https://1fichier.com/?tao8ogg2lyz3n3zh0psn
[ OK ] https://clicknupload.co/ses53quzv5rb
[ OK ] https://tusfiles.com/sc4vfge39aor
[ OK ] https://download.gg/file-12471936_ffbed313aed67837
[ OK ] https://www.solidfiles.com/v/YLjeg8wM8ZgMV
[ OK ] https://turbobit.net/65h5jggvj1ol.html
[ OK ] https://www42.zippyshare.com/v/9tKGS8qj/file.html
[ OK ] https://files.im/y1667uawdq6t
[ OK ] https://drop.download/6rwa2bjv8x0g
[ OK ] https://www.upload.ee/files/13367614/foo.txt.html
[ OK ] https://www.file-upload.com/308wmzsrs4r4
[ OK ] https://dailyuploads.net/p5vjdxt93hdv
[ OK ] https://uptobox.com/4pugjp1vza19
[ OK ] https://dlupload.com/Download/file/N2VmNDEyNDkt
[ OK ] https://mixdrop.co/f/o73e7316h49wj4
[ OK ] https://megaup.net/Ydcb
...and more!
─────────────────────────────────── Results ────────────────────────────────────
- [file.io](https://file.io/eDZG6VfnDN43)
- [gofile.io](https://gofile.io/d/QFNdfE)
- [uguu.se](https://a.uguu.se/VEuSCRXG.txt)
- [transfer.sh](https://transfer.sh/14dUZMm/foo.txt)
- [oshi.at](https://oshi.at/AmzkvT/foo.txt)
- [0x0.st](https://0x0.st/iGzX.txt)
- [ttm.sh](https://ttm.sh/uhj.txt)
- [temp.sh](https://temp.sh/bAxUT/foo.txt)
- [filedit.ch](https://1.filedit.ch/1/VKoJvyuUgtAXfyKEcC.txt)
- [lain.la](https://pomf.lain.la/f/ibie9ed.txt)
- [usersdrive.com](https://usersdrive.com/ma2v4fr181v5)
- [anonfiles.com](https://anonfiles.com/90Sb27Aau8/foo_txt)
- [bayfiles.com](https://bayfiles.com/BfS025Acuc/foo_txt)
- [1fichier.com](https://1fichier.com/?tao8ogg2lyz3n3zh0psn)
- [clicknupload.co](https://clicknupload.co/ses53quzv5rb)
- [tusfiles.com](https://tusfiles.com/sc4vfge39aor)
- [download.gg](https://download.gg/file-12471936_ffbed313aed67837)
- [solidfiles.com](https://www.solidfiles.com/v/YLjeg8wM8ZgMV)
- [turbobit.net](https://turbobit.net/65h5jggvj1ol.html)
- [zippyshare.com](https://www42.zippyshare.com/v/9tKGS8qj/file.html)
- [files.im](https://files.im/y1667uawdq6t)
- [drop.download](https://drop.download/6rwa2bjv8x0g)
- [upload.ee](https://www.upload.ee/files/13367614/foo.txt.html)
- [file-upload.com](https://www.file-upload.com/308wmzsrs4r4)
- [dailyuploads.net](https://dailyuploads.net/p5vjdxt93hdv)
- [uptobox.com](https://uptobox.com/4pugjp1vza19)
- [dlupload.com](https://dlupload.com/Download/file/N2VmNDEyNDkt)
- [mixdrop.co](https://mixdrop.co/f/o73e7316h49wj4)
- [megaup.net](https://megaup.net/Ydcb)
...and more!
───────────────────────────────────── END ──────────────────────────────────────

1Requires Firefox
2A temporary Gecko driver will be installed automatically if it does not already exist

To do

  • Filter servers by upload limit

pymirror's People

Contributors

alyetama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ppang0405

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.