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
import re | |
from pyyoutube import Api | |
import csv | |
# Google Developer Console, Youtube Data API V3 | |
api = Api(api_key='YOUR_API_KEY') | |
# Your Google Takeout file | |
file = open('my-comments.html', 'r', encoding='utf8') | |
lines = file.readlines() | |
comments = [[], []] |
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
[{"text": "Ambarawa", "slug": "ambarawa"}, {"text": "Ambon", "slug": "ambon"}, {"text": "Amlapura", "slug": "amlapura"}, {"text": "Amuntai", "slug": "amuntai"}, {"text": "Argamakmur", "slug": "argamakmur"}, {"text": "Atambua", "slug": "atambua"}, {"text": "Babo", "slug": "babo"}, {"text": "Bagan Siapiapi", "slug": "bagansiapiapi"}, {"text": "Bahaur, Kalteng", "slug": "bahaurkalteng"}, {"text": "Bajawa", "slug": "bajawa"}, {"text": "Balige", "slug": "balige"}, {"text": "Balikpapan", "slug": "balikpapan"}, {"text": "Banda Aceh", "slug": "bandaaceh"}, {"text": "Bandarlampung", "slug": "bandarlampung"}, {"text": "Bandung", "slug": "bandung"}, {"text": "Bangkalan", "slug": "bangkalan"}, {"text": "Bangkinang", "slug": "bangkinang"}, {"text": "Bangko", "slug": "bangko"}, {"text": "Bangli", "slug": "bangli"}, {"text": "Banjar", "slug": "banjar"}, {"text": "Banjar Baru", "slug": "banjarbaru"}, {"text": "Banjarmasin", "slug": "banjarmasin"}, {"text": "Banjarnegara", "slug": "banjarnegara"}, {"text": "Bantaeng", "slug": |
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
{"data":[{"id":3,"sort":0,"Title":"Instagram","href":"https://instagram.com/freqtion","left":"#FFCC00","right":"#FF35E1","Logo":null,"clicks":7,"subtitle":" mostly active","icon":"tabler:brand-instagram","visible":true,"social":true},{"id":2,"sort":1,"Title":"Spotify","href":"https://open.spotify.com/user/alm4b0oqld8z09rgtgcnzdhng?si=i81PSiFbQkKHbPXTOf7swA","left":"#0FFFE7","right":"#3EFF33","Logo":null,"clicks":20,"subtitle":"🎵🎶","icon":"ph:spotify-logo-bold","visible":true,"social":true},{"id":8,"sort":2,"Title":"Youtube","href":"https://youtube.com/@rasyasejati","left":"#E8315F","right":"#D60000","Logo":null,"clicks":8,"subtitle":"Rasya Sejati ","icon":"ph:youtube-logo","visible":true,"social":true},{"id":12,"sort":3,"Title":"Youtube","href":"https://www.youtube.com/@freqtion","left":"#BA00ED","right":"#F20041","Logo":null,"clicks":3,"subtitle":" Freqtion","icon":"ph:youtube-logo-fill","visible":true,"social":true},{"id":11,"sort":5,"Title":"Confess","href":"https://luasa.vercel.app/","left":"#59CDFF","ri |
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
function docReady(fn) { | |
// see if DOM is already available | |
if (document.readyState === "complete" || document.readyState === "interactive") { | |
// call on next available tick | |
setTimeout(fn, 1); | |
} else { | |
document.addEventListener("DOMContentLoaded", fn); | |
} | |
} | |
docReady(function() { |