Yamabiko/README.md

51 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2022-03-25 09:27:56 -04:00
# Yamabiko - A yt-dlp comment viewer
2022-03-25 08:45:12 -04:00
2022-05-30 07:17:02 -04:00
## General info
2022-03-25 09:27:56 -04:00
Yamabiko turns the comments from the JSON file, downloaded with yt-dlp into a viewable, human-readable HTML page. The downloaded video file can also be shown on the page.
2022-05-30 07:17:02 -04:00
## Requirements
2022-03-25 09:27:56 -04:00
* [Python 3](https://www.python.org/downloads/)
* [yt-dlp](https://github.com/yt-dlp/yt-dlp)
2022-05-30 07:17:02 -04:00
## How to use
2022-03-25 09:27:56 -04:00
Download the Youtube video with the comments file (JSON)
```
yt-dlp --write-comments https://youtubeVideo.url
```
After that run Yamabiko with Python and declare the JSON file
2022-04-01 13:40:07 -04:00
for ease of use drag and drop the JSON file into the terminal when you have to enter the name (◠‿◠✿)
2022-03-25 09:27:56 -04:00
```
2022-04-01 13:40:07 -04:00
python3 yamabiko.py -i filename.json
2022-03-25 09:27:56 -04:00
```
2022-04-01 13:40:07 -04:00
or if you want to have the video on the page center
2022-03-25 09:27:56 -04:00
```
2022-05-30 07:17:02 -04:00
python3 yamabiko.py -i filename.json -v filename.mp4
2022-03-25 09:27:56 -04:00
```
After you should have a HTML file called **'index.html'**
Open it and HEYYYヽ(oo) it's working (hopefully).
2022-05-30 07:17:02 -04:00
<img src="doc/page.png" style="zoom: 50%;" />
2022-03-25 09:27:56 -04:00
**NOTICE: When drag and dropping the JSON and video file the whole path gets entered, meaning you can move the index.html around.**
2022-05-30 07:17:02 -04:00
## TODO / Fixing
2022-03-25 09:27:56 -04:00
2022-05-30 07:17:02 -04:00
- [ ] Downloading stuff that gets pulled online
- [ ] It's sorted after date posted / Add sorting after likes, etc.
- [ ] Reply of comments are just shown under each other
- [ ] Other stuff which I do not care about ❤(っ^▿^)
2022-03-25 09:27:56 -04:00
2022-05-30 07:17:02 -04:00
## Commits
2022-03-25 09:27:56 -04:00
2022-05-30 07:17:02 -04:00
Help is very much appreciated since I don't really want to work on this too much. Just create an Issue, fork it send a PR and I'll check it or even change everything completely! I don't really care that much ┐(︶▽︶)┌