Git Product home page Git Product logo

hithmast / extrct0r Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

Extrct0r is a Python script that extracts phone numbers and Facebook links from a text file and writes them to another text file. It uses the colorama library to print colored text, the re library to support regular expressions, the argparse library to support argument parsing, and the concurrent.futures library to support asynchronous execution.

Python 100.00%

extrct0r's Introduction

Extrct0r

Extrct0r is a Python script that extracts phone numbers and Facebook links from a text file and writes them to another text file. It uses the colorama library to print colored text, the re library to support regular expressions, the argparse library to support argument parsing, and the concurrent.futures library to support asynchronous execution.

Installation To install Extrct0r, you need to have Python 3 installed. You can then install the dependencies using the following command:

pip install -r requirements.txt

Usage To use Extrct0r, you need to provide the input and output text files as arguments. For example, to extract phone numbers and Facebook links from the file input.txt and write them to the file output.txt, you would run the following command:

python extrct0r.py input.txt output.txt

Examples

Here are some examples of how to use Extrct0r:

Use code with caution. Learn more Extract phone numbers and Facebook links from a file and write them to another file. python extrct0r.py input.txt output.txt

Extract phone numbers and Facebook links from a file and print them to the console. python extrct0r.py input.txt -p

Extract phone numbers and Facebook links from a file and print them to the console in colored text. python extrct0r.py input.txt -p -c

Options

Extrct0r has the following options:

  • -i: The input text file.
  • -o: The output text file.
  • -p: Print the extracted phone numbers and Facebook links to the console.
  • -c: Print the extracted phone numbers and Facebook links to the console in colored text.

Contributing

If you would like to contribute to Extrct0r, you can do so by submitting pull requests on GitHub.

License

Extrct0r is licensed under the MIT License.

extrct0r's People

Contributors

hithmast avatar

Stargazers

 avatar

Watchers

 avatar

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.