Skip to content

Instantly share code, notes, and snippets.

View geekdinazor's full-sized avatar

Furkan Kalkan geekdinazor

View GitHub Profile
@geekdinazor
geekdinazor / bot.py
Created August 8, 2015 13:36
Basic Twitter Bot. This script read lines from filename.txt and Send tweet to spesific #hashtag using Twython Python library.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from time import sleep
from twython import Twython
CONSUMER_KEY = ''
CONSUMER_SECRET = ''
ACCESS_TOKEN = ''
ACCESS_TOKEN_SECRET = ''
hashtag='#Python'
twitter = Twython(CONSUMER_KEY, CONSUMER_SECRET,ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
#!/usr/bin/env python
"""
instaRaider.py
usage: instaRaider.py [-h] -u USER [-c COUNT]
@amirkurtovic
"""
from bs4 import BeautifulSoup