Skip to content

Instantly share code, notes, and snippets.

View surajnarwade's full-sized avatar

Suraj Narwade surajnarwade

View GitHub Profile
@surajnarwade
surajnarwade / POI.py
Created July 27, 2016 09:50
to download POI season 5
import urllib2
import urllib
import sys
import time
import os
from BeautifulSoup import BeautifulSoup as bs
repo_list=[]
REPO_URL = 'http://dl.tehmovies.com/94/series/person.of.interest/S5/'
REPO_PATH = '/opt/POI'
url = urllib.urlopen(REPO_URL)
@surajnarwade
surajnarwade / retweet_pycon.py
Created June 22, 2016 11:59
As a Social media Volunteer to Pycon India, we have to share every word by @pyconindia on twitter, so I automated this task by writing following script.
#!/bin/python
import tweepy
#following Oauth credentials can be obtained by creating twitter app
cfg = {
"consumer_key" : "<consumer_key>",
"consumer_secret" : "<consumer_secret>",
"access_token" : "<access_token>",
"access_token_secret" : "<access_token_secret>"
}