Skip to content
Projects

About

LargitData Course Material

Learning & Education

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

繁體中文 | English

LargitData Academy: Free Python Web Scraping, AI, and ChatGPT Tutorials with Code

LargitData Academy (大數學堂) is a free online course platform run by LargitData. Each lesson is a short video paired with a runnable code example, teaching you how to use Python for web scraping, data analysis, deep learning, and generative AI. This repository contains the example code (Jupyter notebooks) for every lesson on the LargitData Academy course site. Every notebook matches a free lesson, and you can download it or open it in Google Colab.

How to use the examples

  1. Find a topic on the course site and watch the video.

  2. Open the notebook for lesson number N at code/Course_N.ipynb, or click the Colab link in the tables below to run it in your browser.

  3. To run the notebooks locally:

    git clone https://github.com/ywchiu/largitdata.git
    cd largitdata
    pip install jupyter
    jupyter notebook code/
    

    Install the packages each notebook imports at the top (for example requests, beautifulsoup4, pandas, selenium, or openai). For lessons that need an API key, use your own key and keep it out of version control.

Lesson index

Lessons are grouped by the categories on the LargitData Academy site, newest first within each category. Lesson titles are English translations; the videos and course pages are in Traditional Chinese. Click a lesson title to watch the video, or a notebook to read the code.

Vibe Coding

Building software with AI coding assistants such as Claude Code and Codex. (Category page)

# Lesson Notebook Tools
259 Getting the Most out of Fable 5 by Mixing Models Course_259.md Claude, Fable5, DeepSeek, OpenRouter

Artificial Intelligence

Hands-on generative AI: Gemini, DeepSeek, Ollama, Whisper, AI agents, and Computer Use. (Category page)

# Lesson Notebook Tools
254 Beating reCAPTCHA with AI Course_254.ipynb · Colab ReCAPTCHA, Gemini, Selenium
251 Deploying DeepSeek: From the 1.5B Distilled Model to the Full 671B Model Course_251.ipynb · Colab LLM, Ollama, DeepSeek, vLLM
250 AI Agent Tutorial: Building a Stock Analyst AI for Beginners Course_250.ipynb · Colab AIAgent, OpenAI
249 Real-Time Translation in About 100 Lines of Code with Gemini 2 Flash Course_249.py Gemini2Flash
247 Letting AI Control My Computer: Testing Claude's Computer Use Course_247.ipynb · Colab Anthropic, ComputerUse, AIAssistant
246 Building a NotebookLM-Style Podcast Generator with the OpenAI API Course_246.ipynb · Colab ChatGPT, GPT4o-mini, NotebookLM, OpenAI
243 Multimodal AI in Practice: Real-Time Speech Translation and Synthesis with Gemini and ElevenLabs Course_243.ipynb · Colab Gemini, ElevenLabs
241 Building a Real-Time Subtitle Transcriber with Whisper Course_241.ipynb · Colab whisper
240 Generating Articles and Describing Images with Local LLMs in Ollama Course_240.ipynb · Colab Ollama, llm, breeze7b, llava
238 The Tech Behind the Hong Kong Deepfake Scam: Making Deepfake Videos with Free Colab and Basic Python Course_238.ipynb · Colab DeepFake, Roop
233 EasyOCR vs. PaddleOCR: Which Is the Best Image-to-Text Tool? Course_233.ipynb · Colab OCR, EasyOCR, PaddleOCR, AIMochi
230 Creating Music from Text with AudioCraft Course_230.ipynb · Colab meta, audiocraft, musicgen, audiogen

ChatGPT

ChatGPT and the OpenAI API, Llama 2 fine-tuning, RAG, PDF translation, and voice chat. (Category page)

# Lesson Notebook Tools
242 Translating PDFs on Google Drive with LlamaParse and ChatGPT Course_242.ipynb · Colab ChatGPT, LlamaParse, LlamaIndex, RAG
237 Building a Financial News Aggregator with Python Web Scraping and GPTs Course_237.ipynb · Colab moneydj, proxy, brightdata, BrightDataProxy
231 Fine-Tuning ChatGPT into a Customer Service Assistant Course_231.ipynb · Colab chatgpt, finetuning
229 Fine-Tuning Llama 2 on Your Own Dataset in Colab Course_229.ipynb · Colab Llama2, LLaMAEfficientTuning, FineTune, ChatGPT
228 Building Your Own ChatGPT with Meta's Open-Source Llama 2 Course_228.ipynb · Colab chatgpt, llama2, huggingface, transformers
226 Building a General-Purpose Scraper with ChatGPT to Track Airfares Course_226.ipynb · Colab chatgpt, langchain, selenium
225 Web Scraping x Midjourney x ChatGPT: Generating Eye-Catching News Covers Automatically (2/2) Course_225.ipynb · Colab chatgpt, discord, midjourney
224 Web Scraping x Midjourney x ChatGPT: Generating Eye-Catching News Covers Automatically (1/2) Course_224.ipynb · Colab MidJourney, ChatGPT, AIPRM, OpenAIAPI
223 Understanding Foreign Analysts' Views on TSMC Earnings Calls with ChatGPT Course_223.ipynb · Colab chatgpt, llama_index, langchain, ChatPDF
222 Translating PDF Documents Quickly with ChatGPT Course_222.ipynb · Colab chatgpt
221 Whisper or CapCut? Choosing the Best Subtitle Tool for Your Videos Course_221.ipynb · Colab chatgpt, whisper, pydub, ytdlp
220 Summarizing YouTube Videos with the Whisper and ChatGPT APIs Course_220.ipynb · Colab chatgpt, whisper, pydub, yt-dlp
219 Become a Faceless YouTuber with AI Course_219.ipynb · Colab ChatGPT, Midjourney
218 Improving ChatGPT's Answers with a Python Web Scraper Course_218.ipynb · Colab chatgpt, revChatGPT, selenium
217 Talking to ChatGPT with Your Voice Course_217.ipynb · Colab chatgpt, revChatGPT

Financial Data Scraping

Scraping TWSE, TPEx, Goodinfo, Yahoo Finance, TDCC, and other financial data with Python. (Category page)

# Lesson Notebook Tools
253 Using AI to Solve CAPTCHAs and Scrape TWSE Daily Trading Reports Course_253.ipynb · Colab OpenAI
248 Scraping TDCC Shareholding Distribution Tables with Python Course_248.ipynb · Colab Requests, BeautifulSoup, Pandas
244 Scraping Goodinfo with Python and Spotting Promising Stocks with GPT-4o Course_244.ipynb · Colab GoodInfo, GPT-4o, ChatGPT
213 Scraping Real-Time Taiwan Index Futures Quotes from Yahoo with Python Course_213.ipynb · Colab Requests, Pandas
146 Getting Past reCAPTCHA with 2Captcha to Scrape TPEx Broker Branch Trading Data Course_146.ipynb · Colab 2Captcha, reCAPTCHA, Requests
145 Scraping the Latest Hong Kong Stock Exchange Trading Data with Python Course_145.ipynb · Colab Requests, Pandas
143 Scraping Real-Time Quotes from the New Yahoo Stock Site with Python Course_143.ipynb · Colab Requests, Pandas
134 Scraping All Listed Company Stock Codes with Regular Expressions Course_134.ipynb · Colab TEJ
132 Scraping Goodinfo Taiwan Stock Data with Python Course_132.ipynb · Colab Goodinfo
129 Scraping and Analyzing Gold Prices with Pandas Course_129.ipynb · Colab PythonCrawler, Pandas

Web Scraping in Practice

E-commerce price tracking, shopping festival deals, and getting past anti-bot measures (Cloudflare, CAPTCHAs, encrypted APIs). (Category page)

# Lesson Notebook Tools
245 Getting Past Cloudflare's Anti-Bot Protection Course_245.ipynb · Colab Puppeteer, pyppeteer, pyppeteerstealth, Cloudflare
236 Grabbing Double 11 Red Envelopes with PyAutoGUI Course_236.ipynb · Colab AndroidStudio, PyAutoGUI
216 Scraping World Cup Betting Odds from Taiwan Sports Lottery with Python Course_216.ipynb · Colab Requests, Pandas
215 Skipping Double 11 Shopping? Auto Check-In for Shopee Coins with a Python Scraper Course_215.ipynb · Colab Selenium
214 The Pound Plunges! Comparing Global Prices to Find Bargains with a Python Scraper Course_214.ipynb · Colab Requests, BeautifulSoup, Pandas
212 Building an Automatic Translation System by Scraping Youdao Translate with Python Course_212.ipynb · Colab Playwright, RPA
151 Scraping momo Shop Double 11 Deals with Playwright Course_151.ipynb · Colab nocode, lowcode, Playwright, RPA
150 Writing Browser Automation without Code Using Playwright (Low-Code / No-Code) Course_150.ipynb · Colab nocode, lowcode, Playwright, RPA
148 Scraping PChome Product Prices with Pyppeteer Course_148.ipynb · Colab Pyppeteer, Puppeteer
144 Analyzing NetEase Cloud Music's Personality Color Quiz with Python Course_144.ipynb · Colab Pandas
142 Decoding Taiwan Real Estate Price Data Automatically with Python Flask Course_142.ipynb · Colab Flask
141 Cracking the Encrypted Strings in Taiwan's Real Estate Price API with Chrome DevTools Course_141.ipynb · Colab Chrome DevTools, Requests
136 Scraping Shopee Flash Sale Discounts for the Double 11 Shopping Festival Course_136.ipynb · Colab Selenium
135 Scraping and Comparing iPhone 12 Carrier Plans with Pandas Course_135.ipynb · Colab iPhone12
133 Collecting Free Proxy IPs for Python Web Scraping Course_133.ipynb · Colab Proxy, ipify
131 Analyzing Employee Salaries at Taiwan Listed Companies with Pandas Course_131.ipynb · Colab Requests, Pandas
122 Scraping Weibo Public Opinion on COVID-19 Course_122.ipynb · Colab 2019-nCoV, weibo
121 Scraping momo Shop Listings for the Double 12 Shopping Festival Course_121.ipynb · Colab momo
120 Scraping Taobao Product Listings for the Double 11 Shopping Festival Course_120.ipynb · Colab Requests, Pandas
109 Scraping and Organizing Taiwan's 2018 Referendum Results with Python Course_109.ipynb · Colab Requests, Selenium, Pandas
108 Finding the Biggest Double 11 Discounts with a Python Scraper (2018 Edition) Course_108.ipynb · Colab Requests, BeautifulSoup, Pandas
100 Getting Past TWSE Rate Limits to Scrape the Latest Trading Data Course_100.ipynb · Colab Crawler, rate, limiting
98 Scraping Tmall Double 11 Deals Fast Course_98.ipynb · Colab Requests, BeautifulSoup4, Pandas
97 Cracking the Taiwan High Speed Rail CAPTCHA (2): Removing Curves with Regression Course_97.ipynb · Colab sklearn, linear, model
96 Cracking the Taiwan High Speed Rail CAPTCHA (1): Removing Image Noise Course_96.ipynb · Colab fastNlMeansDenoisingColored
95 Capturing CAPTCHA Images with Selenium Course_95.ipynb · Colab Requests, selenium
94 Cracking CAPTCHAs with Machine Learning (4): Saving and Loading the Trained Model Course_94.ipynb · Colab pickle
93 Cracking CAPTCHAs with Machine Learning (3): Recognizing Digits with a Neural Network Course_93.ipynb · Colab scikit-learn, MLPClassfier
92 Cracking CAPTCHAs with Machine Learning (2): Segmenting Each Digit Course_92.ipynb · Colab OpenCV3, findContours
90 Finding the Best Time to Buy Bitcoin with Python Pandas Course_90.ipynb · Colab Pandas
89 Getting Past Shopee's Restrictions to Scrape Product Listings Course_89.ipynb · Colab XHR, POST
86 Exporting slides.com Web Slides to Images with Selenium Course_86.ipynb · Colab Selenium, slides.com, HTML, pdf
85 Plotting Recent Japanese Yen Exchange Rate Trends with Pandas Course_85.ipynb · Colab Pandas, read_csv, csv
84 Getting the Latest Exchange Rates by Email in Real Time Course_84.ipynb · Colab smtplib, GMAIL
83 Scheduling a Job to Store Exchange Rates in a Database Automatically Course_83.ipynb · Colab SQLite, Pandas
82 Saving Bank of Taiwan Exchange Rates to a Database with Pandas Course_82.ipynb · Colab Excel, Pandas
81 Writing a Python Scraper for Bank of Taiwan Exchange Rates Course_81.ipynb · Colab Pandas
80 Scraping Double 11 (1111) Shopping Festival Deals at Top Speed Course_80.ipynb · Colab Pyhton

Selenium Tutorials

Selenium from opening a browser and locating elements to automatic login. (Category page)

# Lesson Notebook Tools
147 Logging In to momo Shop Automatically with Cookies in Selenium Course_147.ipynb · Colab PS5, Cookie, Selenium
137 Pre-Ordering a PS5 Automatically with Selenium Course_137.ipynb · Colab PS5, Selenium
107 Setting an Implicit Wait in Selenium Course_107.ipynb · Colab Selenium, NoSuchElementException, implicit_wait
106 Writing a Web Scraper with Selenium Course_106.ipynb · Colab Selenium, page_source, BeautifulSoup
105 Interacting with Web Page Elements in Selenium Course_105.ipynb · Colab Selenium, send_keys
104 Locating Elements with Selenium Course_104.ipynb · Colab Selenium, find_element_by_id, find_element_by_class_name, find_element_by_name
103 Opening Chrome with Selenium Course_103.ipynb · Colab Selenium

RPA (Robotic Process Automation)

Automating workflows with PyAutoGUI, Selenium, and LINE Notify. (Category page)

# Lesson Notebook Tools
119 Sending the Latest Comic Chapter through LINE Course_119.ipynb · Colab SQLite, LineNotify, Selenium, RPA
118 Getting Instant Notifications with LINE Notify Course_118.ipynb · Colab LineNotify, RPA
117 Merging Images into a PDF with img2pdf Course_117.ipynb · Colab img2pdf, RPA
116 Downloading Comics Automatically with Selenium (1) Course_116.ipynb · Colab Selenium
115 Getting Past reCAPTCHA with PyAutoGUI to Download TPEx Broker Trading Reports Course_115.ipynb · Colab PyAutoGUI, reCAPTCHA
114 Building a Python Keyboard and Mouse Macro Tool with PyAutoGUI Course_114.ipynb · Colab RPA, PyAutoGUI

Deep Learning

Computer vision projects: CNN face recognition, YOLO mask detection, and DeepFakes. (Category page)

# Lesson Notebook Tools
130 Installing and Using YOLOv4 on Google Colab Course_130.ipynb · Colab DeepLearning, GoogleColab, YOLOv4
128 Building a Real-Time Face Mask Detector with YOLO (3): Real-Time Detection Course_128.ipynb · Colab DeepLearning, YOLO, COVID19
127 Building a Real-Time Face Mask Detector with YOLO (2): Training the Mask Detection Model Course_127.ipynb · Colab DeepLearning, YOLO, COVID19
126 Building a Real-Time Face Mask Detector with YOLO (1): Introduction to YOLO Course_126.ipynb · Colab DeepLearning, YOLO, COVID19
125 Swapping Faces in Videos with DeepFakes (3) Course_125.ipynb · Colab DeepFakes, DeepFaceLab, DeepLearning
112 Building a Deep Learning Model to Tell Three Taiwanese Actors Apart (3) Course_112.ipynb · Colab OpenCV
111 Building a Deep Learning Model to Tell Three Taiwanese Actors Apart (2) Course_111.ipynb · Colab OpenCV, PIL
110 Building a Deep Learning Model to Tell Three Taiwanese Actors Apart (1) Course_110.ipynb · Colab Requests, BeautifulSoup, PIL

Algorithmic Trading

Historical Bitcoin prices, TA-Lib indicators, and strategy backtesting with Backtesting.py. (Category page)

# Lesson Notebook Tools
140 Backtesting Trading Strategies with Backtesting.py Course_140.ipynb · Colab BTC, Backtesting
139 Building Bitcoin Technical Indicators with TA-Lib Course_139.ipynb · Colab BTC, TALib
138 Getting Historical Bitcoin Prices through an API Course_138.ipynb · Colab BTC

Open Jarvis

Speech recognition, speech synthesis, and chatbots. (Category page)

# Lesson Notebook Tools
102 Building a Real-Time Translator in Python Course_102.ipynb · Colab py-googletrans, Google
101 Letting a Chatbot Answer Expert Questions with Wikipedia Course_101.ipynb · Colab Wikipedia
99 Building a Real Voice Chatbot in Under 30 Lines of Python Course_99.ipynb · Colab SpeechRecognition, gTTS
88 Making Your Computer Talk with Python Course_88.ipynb · Colab gTTS, pygame
87 Transcribing Speech to Text Automatically with Python Course_87.ipynb · Colab SpeechRecognition

Other Topics

Small data science projects: Wordle, machine learning in Excel, and box office analysis. (Category page)

# Lesson Notebook Tools
235 Making Your Own Memes with ROOP Face Swap Course_235.ipynb · Colab meme, roop
234 Machine Learning in Excel with Python Course_234.ipynb · Colab Excel
152 Using Data Science to Find the Best First Word in Wordle Course_152.ipynb · Colab wordle, nltk, pandas
113 Scraping Box Office Data for Avengers: Endgame Course_113.ipynb · Colab Requests, Pandas

Other examples

Notebook Description
Course_232.ipynb Scraping chart data from MacroMicro
20230311_Whisper_and_ChatGPT.ipynb Speech-to-text with Whisper and summarization with ChatGPT

FAQ

Are the LargitData Academy lessons free? Yes. Every video is free to watch on the LargitData Academy site and the YouTube channel, and all example code is public in this repository.

How do I find the code for a lesson? By lesson number: the code for https://www.largitdata.com/course/N/ is code/Course_N.ipynb.

What background do I need? Basic Python syntax is enough. Start with Selenium Tutorials or Web Scraping in Practice, then move on to financial data scraping, deep learning, and AI.

What if an older example no longer works? Website redesigns and package updates often break older scrapers. Look for a newer lesson on the same topic (financial scraping and CAPTCHA solving each have several versions), or adjust the CSS selectors and package versions based on the error message.

Repository layout

code/      Lesson code (Course_N.ipynb matches https://www.largitdata.com/course/N/)
data/      Sample data used in lessons
config/    YOLO face mask detection config
archive/   Code from past talks and workshops (archive/speeches/)

Talks and workshops

Date Topic Code
2017-04-06 Data science in Python: Google Trends and stock prices 20170406Speech
2017-07-21 Scraping 591 rental listings and visualizing with Tableau 20170721Speech
2017-07-27 Rental listing data analysis 20170727Speech
2017-08-10 Text mining news articles 20170810Speech
2017-08-22 Housing price scraping and credit risk machine learning 20170822Speech
2018-03-12 Big data in finance: practice and applications (slides) 20180312Speech
2018-09-22 Data cleaning with Pandas 104class
2019-03-26 Facebook scraping 20190326
2019-09-17 WeChat official account scraping 20190917Speech
2020-03-04 Deep Learning 101 and DeepFaceLab 20200304Speech

LargitData products

Explore related projects

Loading…