Created
July 22, 2015 00:50
-
-
Save ulikoehler/e0954d05ffc4a272ea0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Least common multiple exercise: https://youtube.com//watch?v=znmPfDfsir8 | |
Figuring out angles between transversal and parallel lines | Geometry | Khan Academy: https://youtube.com//watch?v=2WjGD3LZEWo | |
Thinking about whether an expression is positive or negative: https://youtube.com//watch?v=mmWbK2xmJPQ | |
Triangle area proofs | Perimeter, area, and volume | Geometry | Khan Academy: https://youtube.com//watch?v=YOYQys52sPs | |
Solving ratio problems with tables exercise 3: https://youtube.com//watch?v=dmcVzFbXMCU | |
Rotation of polygons example: https://youtube.com//watch?v=Hur3v1hrX3U | |
Adding subtracting mixed numbers 0.5 (ex 1): https://youtube.com//watch?v=EGy1W24EPEI | |
Volume of a sphere | Perimeter, area, and volume | Geometry | Khan Academy: https://youtube.com//watch?v=IelS2vg7JO8 | |
Powers of fractions: https://youtube.com//watch?v=oEgeUk_Ix2c | |
Converting decimals to percents (ex 2): https://youtube.com//watch?v=3_caioiRu5I | |
Understanding Exponents: https://youtube.com//watch?v=mJ1P4A-KA8k | |
Evaluating an expression with and without parentheses: https://youtube.com//watch?v=-rxUip6Ulnw | |
Constructing numerical expressions example: https://youtube.com//watch?v=arY-EUZDNfk | |
Ex 3 Age word problem: https://youtube.com//watch?v=RGbA2IyJILY | |
Converting to slope-intercept form: https://youtube.com//watch?v=V6Xynlqc_tc | |
Postive improper fractions on the number line: https://youtube.com//watch?v=g-SfwjbpA4U | |
Comparing features of functions 1: https://youtube.com//watch?v=fZO-JylMFqY | |
Ex 1 Age word problem: https://youtube.com//watch?v=W-5liMGKgHA | |
Ex 2 Age word problem: https://youtube.com//watch?v=KyHvVJWjW6Y | |
Ex 1 Age word problem: https://youtube.com//watch?v=W-5liMGKgHA | |
Skip counting by 100 example | Addition and subtraction within 100 | Early Math | Khan Academy: https://youtube.com//watch?v=ruAXk6RnkG8 | |
Estimating the line of best fit exercise | Regression | Probability and Statistics | Khan Academy: https://youtube.com//watch?v=ioieTr41L24 | |
Splitting pie with family: https://youtube.com//watch?v=3u9Ux29MSXE | |
Solving for angles: https://youtube.com//watch?v=TOobWKx1xe0 | |
Fitting crates in a boxcar: https://youtube.com//watch?v=AxHAQ5l45FE | |
Values to make absolute value inequality true: https://youtube.com//watch?v=fii9QEVJPas | |
Interpreting absolute value: https://youtube.com//watch?v=faUh3bAxomM | |
Sorting absolute values on number line: https://youtube.com//watch?v=MFoXK57sw9k | |
Interpreting histograms: https://youtube.com//watch?v=c02vjunQsJM | |
Examples of carrying when adding three digit numbers: https://youtube.com//watch?v=9hM32lsQ4aI | |
Opposite of a number: https://youtube.com//watch?v=2Zk6u7Uk5ow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Parses a saved copy of the page https://www.youtube.com/timedtext_cs_panel?tab=1 | |
and extracts a list of contributed videos and links. | |
""" | |
from bs4 import BeautifulSoup | |
if __name__ == "__main__": | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument('infile', type=argparse.FileType('r'), help="The youtube subtitle page dump") | |
args = parser.parse_args() | |
soup = BeautifulSoup(args.infile.read()) | |
for tr in soup.find_all("tr"): | |
contribInfo = tr.find("td", {"class": "contribution-info"}) | |
#Ignore non-contrib-info TRs | |
if contribInfo is None: | |
continue | |
#Extract info | |
title = contribInfo.find("div", {"class": "contribution-title"}).text.strip() | |
link = tr.find("td", {"class": "contribution-thumbnail"}).find("a")["href"] | |
print ("%s: https://youtube.com/%s" % (title, link)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment