This file contains hidden or 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
# PydanticAI Agent with MCP | |
from pydantic_ai import Agent, RunContext | |
from pydantic_ai.mcp import MCPServerStdio | |
from pydantic_ai.models.openai import OpenAIModel | |
from pydantic_ai.providers.openai import OpenAIProvider | |
from dotenv import load_dotenv | |
import os |
This file contains hidden or 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 get_that_ass(elem){ | |
console.log("Removed: " + elem.innerText); | |
elem.parentNode.parentNode.parentNode.parentNode.parentNode.remove(); | |
} | |
function fuck_spam_up(bad_words){ | |
var elem = document.querySelectorAll('ytd-comment-thread-renderer.style-scope > ytd-comment-view-model:nth-child(2) > div:nth-child(3) > div:nth-child(2) > ytd-expander:nth-child(2) > div:nth-child(1) > yt-attributed-string:nth-child(2) > span:nth-child(1)'); | |
var spams = 0; | |
for (var i = 0; i < elem.length; i++){ | |
var e = elem[i]; |