Skip to content

Commit

Permalink
Fixed dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Knucklessg1 committed Oct 29, 2023
1 parent 3904366 commit 4c3cff1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,31 @@ This repository is actively maintained - Contributions are welcome!
<details>
<summary><b>Example:</b></summary>

Run through CLI
```bash
media-downloader --file "C:\Users\videos.txt" --directory "C:\Users\Downloads" --channel "WhiteHouse" --links "URL1,URL2,URL3"
```

Use directly in Python
```python
from media_downloader import MediaDownloader

url = "https://YootToob.com/video"

video_downloader_instance = MediaDownloader()

video_downloader_instance.set_audio(audio=False)

video_downloader_instance.set_save_path("PATH")

video_downloader_instance.open_file("FILE")

video_downloader_instance.get_channel_videos("YT-Channel Name")

video_downloader_instance.append_link(url)

video_downloader_instance.download_all()
```
</details>

<details>
Expand Down

0 comments on commit 4c3cff1

Please sign in to comment.