/stack-dump

Information gathering from stack exchange sites

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Stack Dump

Information Gathering tool to get Links and Title from Stack Exchange sites for a specific keyword.

Features:

  • Using Stack Exchange Advanced Search through the Terminal. 💻
  • Search for an answer posted by a particular user
  • Search for a question posted by a particular user
  • Search for a comment posted by a particular user
  • Colorful CLI for catchy results 😉

TODOs:

  • Writing output to different file formats
  • Optimization and better code

Usage:

 ____  _             _      ____
/ ___|| |_ __ _  ___| | __ |  _ \ _   _ _ __ ___  _ __
\___ \| __/ _` |/ __| |/ / | | | | | | | '_ ` _ \| '_ \
 ___) | || (_| | (__|   <  | |_| | |_| | | | | | | |_) |
|____/ \__\__,_|\___|_|\_\ |____/ \__,_|_| |_| |_| .__/
                                                 |_|     v0.7
usage: stackDump.py [-h] [-k KEYWORD] [-l LIMIT] [-f USER] [-e] [-u USERID]
                    [-t TYPE]

StackDump

optional arguments:
  -h, --help            show this help message and exit

required arguments:
  -k KEYWORD, --keyword KEYWORD
                        Keyword to lookup
  -l LIMIT, --limit LIMIT
                        Limit Results per Stack Site: min:10
  -f USER, --find-user USER
                        UserId Lookup by Keyword
  -e, --exact-match     Case sensitive search
  -u USERID, --user-id USERID
                        Stack UserId got from -f/--find-user
  -t TYPE, --type TYPE  Get all answers, questions and comments posted by an UserId

Example:
 
            Advanced Keyword Search: stackdump -k "example"

            Keywork search with Limit: stackdump -k "example" -l 50

            Find User exact match: stackdump -f Goron -e

            Get answers for Userid: stackdump -u 123123 -t answers

            Get questions for Userid: stackdump -u 123123 -t questions

            Get comments for Userid: stackdump -u 123123 -t comments

Demo:

Demo