Skip to content

Instantly share code, notes, and snippets.

View manojjha's full-sized avatar
🎯
Focusing

manoj jha manojjha

🎯
Focusing
View GitHub Profile
@dimitryzub
dimitryzub / scrape_google_finance_ticker_python.py
Last active October 24, 2023 15:14
A script that scrapes Google Finance Ticker in Python - google.com/finance/quote/
import nasdaqdatalink
import requests, json, re
from parsel import Selector
from itertools import zip_longest
def scrape_google_finance(ticker: str):
params = {
"hl": "en" # language
}
"""
1. Setup a Twitter Developer account and create new App, get its consumer key and consumer secret and replace them below
2. Replace TWEETS_DB, QUERY, and LANGUAGE values
3. Install required packages: `pip install tweepy schedule`
4. Run process using `python tweets_to_db.py`
"""
import tweepy
import sqlite3
import datetime
@manojjha
manojjha / PY0101EN-2-1-Tuples.ipynb
Created August 26, 2019 07:17
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@manojjha
manojjha / PY0101EN-1-1-Types.ipynb
Created August 26, 2019 06:37
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.