This repository has been archived by the owner. It is now read-only.
A Twitter Bot for CodingDose
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cdtweetbot
tests
.coveragerc
.gitignore
.travis.yml
LICENSE.md
Pipfile
Pipfile.lock
README.md
requirements-dev.txt
requirements.txt

README.md

CDTweetBot

Build StatusCoverage Status

CDTweetBot is a custom made twitter-bot that share new blog posts from CodingDose() to Twitter automatically using the @codingdose account.

Disclaimer: This project is a Work-in-Progress and only works with my Blog, feel free to reuse my code as an example to use it in your projects.

Features and TODO

  • Handle Twitter Authentication System (OAuth)
  • Scrape the blog searching for new blog posts
  • SQLite3 integration to store posts and handles posts duplication
  • Scrape multiple pages, not only index
  • Add CLI arguments
  • If a new blog post is identified, then it will share it through twitter
  • Autoreply Direct Messages

Requirements

  • Tweepy
  • Python-dotenv
  • Requests
  • BeautifulSoup4

Installation with Pipenv (Recommended)

pipenv install

Installation with Pip

pip install -r requirements.txt

Installation for development

If you wan't to run tests, coverage and debugging install the development requirements with pip or pipenv

Pipenv

pipenv install --dev

Pip

pip install -r requirements-dev.txt