Skip to content

Godslovet/YouTube-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

YouTube Downloader Script

This project contains a script to download YouTube videos using Termux. It includes the following files:

  • download.php: Core script for downloading YouTube videos.
  • index.php: Interface for executing the download process.
<h2><strong>Features</strong></h2>
<ul>
    <li><strong>Download YouTube videos</strong> directly through Termux.</li>
    <li><strong>Command-line friendly</strong> for seamless interaction.</li>
    <li><strong>Lightweight</strong> with minimal dependencies.</li>
</ul>

<h2>Setup Instructions</h2>
<ol>
    <li>Install PHP in Termux:
        <pre>pkg update && pkg upgrade

pkg install php

  • Install yt-dlp or youtube-dl:
    pkg install python
    pip install yt-dlp
  • Clone the repository:
    git clone /~https://github.com/Godslovet/YouTube-downloader.git
    cd YouTube-downloader
  • Start a local PHP server:
    php -S localhost:8000
  • Access the script in your browser at:
    http://localhost:8000
  • Enter the YouTube video URL and click "Download."
  • <h2><strong>Prerequisites</strong></h2>
    <ul>
        <li>Install Termux from <a href="https://f-droid.org/" target="_blank">F-Droid</a>.</li>
        <li>Install PHP and yt-dlp (or youtube-dl).</li>
        <li>Ensure you have an active internet connection.</li>
    </ul>
    
    <h2><strong>Troubleshooting</strong></h2>
    <ul>
        <li><strong>Script not working:</strong> Ensure all dependencies are correctly installed.</li>
        <li><strong>Permission denied:</strong> Run:
            <pre>termux-setup-storage</pre>
        </li>
    </ul>
    
    <h2><strong>Contributing</strong></h2>
    <p>Contributions are welcome! Feel free to fork the repository and submit pull requests.</p>
    
    <h2><strong>License</strong></h2>
    <p>This project is licensed under the MIT License.</p>
    
    <h2><strong>Author</strong></h2>
    <p><strong>Godslovet Johnson</strong></p>
    <p>GitHub: <a href="/~https://github.com/Godslovet" target="_blank">Godslovet</a></p>
    

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published