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.7.5 | |
# -*- Coding: UTF-8 -*- | |
# Read a file with youtube URLs, get info and save into CSV file | |
import requests | |
from bs4 import BeautifulSoup as bs | |
import pandas as pd | |
def get_video_info(url): | |
""" |
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.7.5 | |
# -*- Coding: UTF-8 -*- | |
# Create file with author, title and description | |
import pandas as pd | |
df_all = pd.read_csv('list1.csv') | |
df_desc = pd.read_csv('list2.txt', delimiter='*', header=None) | |
df_desc_ch = pd.read_csv('title_desc.csv') |
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
input = "NAME_DIR"; os.makedirs(input, exist_ok=True) |
OlderNewer