Skip to content

v1k45/scrapygram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup instructions for using telegram bot along with scrapy

Install dependencies:

pip install -r requirements.txt

Run flask server:

export FLASK_APP=server.py
flask run

Run scrapyd

export TELEGRAM_BOT_TOKEN=abc
cd echoscraper
scrapyd

Deploy scraper to scrapyd

export TELEGRAM_BOT_TOKEN=abc
cd echoscraper
scrapyd-deploy

Run telegram bot

export TELEGRAM_BOT_TOKEN=abc
python bot.py

Send /echo command to telegram bot.

About

Sample project to demostrate scrapy with python-telegram-bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages