A simple rickroll detector
This isn't a python module on pypi as of now so you'll need to download the rickroll_detector.py file and keep it in the same directory as your main file.
You can also git clone https://github.com/CodeWithSwastik/rickroll-detector
from rickroll_detector import find_rickroll
result = find_rickroll("https://youtu.be/oHg5SJYRHA0")
print(result) #returns True
from async_rickroll_detector import RickRollDetector
detector = RickRollDetector()
await detector.find('https://youtu.be/oHg5SJYRHA0')
I also have a bot.py file here which is an example discord bot that will detect rickrolls