https://github.com/codewithswastik/rickroll-detector
A simple rickroll detector
https://github.com/codewithswastik/rickroll-detector
Last synced: 11 months ago
JSON representation
A simple rickroll detector
- Host: GitHub
- URL: https://github.com/codewithswastik/rickroll-detector
- Owner: CodeWithSwastik
- Created: 2021-02-26T14:52:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-27T04:51:24.000Z (about 5 years ago)
- Last Synced: 2023-03-04T05:23:16.372Z (about 3 years ago)
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

A simple rickroll detector
# Installation
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`
# Usage
```python
from rickroll_detector import find_rickroll
result = find_rickroll("https://youtu.be/oHg5SJYRHA0")
print(result) #returns True
```
# Async Usage
```python
from async_rickroll_detector import RickRollDetector
detector = RickRollDetector()
await detector.find('https://youtu.be/oHg5SJYRHA0')
```
# Example bot
I also have a bot.py file here which is an example discord bot that will detect rickrolls