Skip to content

Instantly share code, notes, and snippets.

Ibraiz ibraizQazi

  • Islamabad
Block or report user

Report or block ibraizQazi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ibraizQazi /
Last active Jan 30, 2018
Extract Dosage table of every medicine on site and save it to a csv file.
import re
import sys
import time
import string
import csv
import urlparse
from bs4 import BeautifulSoup
from selenium import webdriver
from import By
from selenium.webdriver.common.keys import Keys
ibraizQazi / Scraper
Created Jan 25, 2018
Scraper to extract name and dosage from
View Scraper
import sys
from urllib2 import urlopen, URLError
from argparse import ArgumentParser
from bs4 import BeautifulSoup
import csv
def parse_arguments():
""" Process command line arguments """
parser = ArgumentParser(description='Grabs tables from html')
parser.add_argument('-u', '--url', help='url to grab from',
You can’t perform that action at this time.