Skip to main content

Social Watcher

maintain status

Social Watchers allows you to watch and record changes on Twitter and Instagram accounts. It can alert you the changes via Telegram.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Internet Connection
  • Python 3.7+

Installing social-watcher

First, clone repository to local and install requirements. You can install requirements with pip3 install -r requirements.txt.
Then you need to edit configs.json.example as you wish and rename it to configs.json. At the end you can run watcher.py

Metrics

List of metrics which one watching.

Platform Metrics
Twitter name, followers, following, biography, profile_photo, tweets, likes, birthday, website
Instagram name, followers, following, biography, profile_photo, posts, is_private, is_verified

Customizing Configs

{
    "interval": 300, # general interval time, default is 86400 (1 day)

    "telegram": {
        "token": "9999999999:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", # telegram bot token
        "chat_id": "999999999" # telegram chat id
    },

    "instagram": [
        {
            "username": "bisguzar", # username, required

            "interval": 5, # interval for this watcher as seconds
                           # if not defined it uses general interval

            "only_if_changed": false, # not required
                                      # if false it will report you if no changes
                                      # default is true

            "ignored_metrics": ["profile_photo"] # not required, 
                                                 # it will ignore this metrics even is changed
        },
        {...another instagram watcher...},
        {...another instagram watcher...}
    ],

    "twitter": [
        {
            "username": "bugraisguzar", # username, required

            "interval": 30, # interval for this watcher as seconds
                            # if not defined it uses general interval

            "only_if_changed": false, # not required
                                      # if false it will report you if no changes
                                      # default is true

            "ignored_metrics": ["likes"] # not required, 
                                                 # it will ignore this metrics even is changed
        },
        {...another twitter watcher...},
        {...another twitter watcher...}
    ]
}

Contributing to social-watcher

To contribute to twitter-scraper, follow these steps:

  1. Fork this repository.
  2. Create a branch with clear name: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

Contributors

  • @bisguzar

Contact

If you want to contact me you can reach me at @bugraisguzar.

License

This project uses the following license: MIT.

Metadata

Release files for social-watcher 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for social-watcher 0.1.0
File Size Uploaded Provenance Actions
social-watcher-0.1.0.tar.gz 8.1 kB Without provenance Details for social-watcher-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for social-watcher 0.1.0
File Interpreter ABI Platform Actions
social_watcher-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for social_watcher-0.1.0-py2.py3-none-any.whl

Total release size: 18.7 kB

Release files / social-watcher-0.1.0.tar.gz

Download URL social-watcher-0.1.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
edfb1477c80741a22cc4fa341393278ec333038a16ba91c746af62c94de9889a
BLAKE2b-256 checksum
How to use checksums
a87e793e4e54cb9140f9c4268fa041815e7125549f8abeebc3a2e7b3bc60b434
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / social_watcher-0.1.0-py2.py3-none-any.whl

Download URL social_watcher-0.1.0-py2.py3-none-any.whl
Size 10.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c18583b2afe3d1a2f9540d03d1a0e7c999944587d27dc7fdb61793a893af475f
BLAKE2b-256 checksum
How to use checksums
b823729a1ce3c2665ff332a1adcaf79b05901894d83ff916c9d80e978b1a8cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Security for social-watcher 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page