Skip to content

Instantly share code, notes, and snippets.

@jayrambhia
jayrambhia / IMDB.py
Last active April 15, 2023 07:57
Fetch movie information from IMDB using Python!
'''
Author : Jay Rambhia
Git : https://github.com/jayrambhia
gist : https://gist.github.com/jayrambhia
'''
import urllib2
from BeautifulSoup import BeautifulSoup
from mechanize import Browser
import re
@jayrambhia
jayrambhia / download-monitor
Created January 14, 2012 14:08
Monitor your downloading data
import pcap, dpkt, socket
import os
import time
pc = pcap.pcap('eth0')
ports = (80, 8080, 443, 888)
def process():
t = time.time()
i = 0