Datasets:
README.md
CHANGED
|
@@ -31,4 +31,69 @@ license: mit
|
|
| 31 |
language:
|
| 32 |
- tr
|
| 33 |
pretty_name: ' '
|
| 34 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
language:
|
| 32 |
- tr
|
| 33 |
pretty_name: ' '
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
# Sayha
|
| 42 |
+
|
| 43 |
+
## YouTube Video Audio and Subtitles Extraction
|
| 44 |
+
|
| 45 |
+
Sayha is a tool designed to download YouTube videos and extract their audio and subtitle data. This can be particularly useful for creating datasets for machine learning projects, transcription services, or language studies.
|
| 46 |
+
|
| 47 |
+
## Features
|
| 48 |
+
|
| 49 |
+
- Download YouTube videos.
|
| 50 |
+
- Extract audio tracks from videos.
|
| 51 |
+
- Retrieve and process subtitle files.
|
| 52 |
+
- Prepare datasets for various applications.
|
| 53 |
+
|
| 54 |
+
## Installation
|
| 55 |
+
|
| 56 |
+
### Clone the Repository:
|
| 57 |
+
|
| 58 |
+
```sh
|
| 59 |
+
git clone https://github.com/zinderud/Sayha.git
|
| 60 |
+
cd Sayha
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
```
|
| 64 |
+
pip install -r requirements.txt
|
| 65 |
+
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
Usage
|
| 69 |
+
|
| 70 |
+
```
|
| 71 |
+
Download Videos:
|
| 72 |
+
|
| 73 |
+
Use the provided scripts to download YouTube videos. For example:
|
| 74 |
+
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
python [script.py](http://script.py/)
|
| 78 |
+
|
| 79 |
+
Extract Audio and Subtitles:
|
| 80 |
+
|
| 81 |
+
After downloading, run the processing scripts to extract audio and subtitles:
|
| 82 |
+
|
| 83 |
+
python colab_processor.py
|
| 84 |
+
|
| 85 |
+
Upload to Hugging Face:
|
| 86 |
+
|
| 87 |
+
If you wish to share your dataset, you can upload it to Hugging Face:
|
| 88 |
+
|
| 89 |
+
```
|
| 90 |
+
python upload_to_huggingface.py
|
| 91 |
+
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
Contributing
|
| 95 |
+
|
| 96 |
+
Contributions are welcome! Feel free to open issues or submit pull requests.
|
| 97 |
+
License
|
| 98 |
+
|
| 99 |
+
This project is licensed under the MIT License.
|