youtube-bulk-upload


Nameyoutube-bulk-upload JSON
Version 0.3.6 PyPI version JSON
download
home_pagehttps://github.com/beveradb/youtube-bulk-upload
SummaryUpload all videos in a folder to youtube, e.g. to help re-populate an unfairly terminated channel
upload_time2024-03-25 06:39:43
maintainerNone
docs_urlNone
authorAndrew Beveridge
requires_python<3.13,>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # YouTube Bulk Upload 🎥

![PyPI - Version](https://img.shields.io/pypi/v/youtube-bulk-upload)

**YouTube Bulk Upload** is a tool to facilitate the bulk uploading of video files to YouTube. This can be particularly useful for repopulating a channel after it has been unfairly terminated or when migrating content. The tool offers both a Command Line Interface (CLI) and a Graphical User Interface (GUI) to cater to different user preferences.

<img src="images/logo-nopadding.png" alt="YouTube Bulk Upload Logo" height="100">

## Features
- Bulk upload videos to YouTube from a specified directory.
- Customize video metadata, including titles, descriptions, and keywords.
- Dry run mode to preview actions without making changes.
- Non-interactive mode for automated processes.
- Support for thumbnail customization.

## Installation (GUI)

YouTube Bulk Upload provides a Graphical User Interface (GUI) that can be launched from a stand-alone executable.

The GUI allows you to configure all the options available and use the tool through a (somewhat) user-friendly interface.

Download the executable (`.exe` or `.dmg`) for your operating system from the [Releases page](https://github.com/beveradb/youtube-bulk-upload/releases).

### Mac

Double-click the `.dmg` file to run the installer. Install the application by dragging the icon to your Applications folder:

<img src="images/YouTubeBulkUpload-v0.3.4-Mac-GUI-Installer.png" alt="YouTube Bulk Upload GUI Example" height="300">

Then run the application from your Applications folder as normal, it should look something like this:

![YouTube Bulk Upload GUI Example](images/YouTubeBulkUpload-v0.3.4-Mac-GUI-Example.png)

### Windows

Double-click the `.exe` file to run the application - it doesn't need to be installed first.

Once it loads, it should look something like this:

![YouTube Bulk Upload GUI Example](images/YouTubeBulkUpload-v0.3.4-Windows-GUI-Example.png)

## Usage (GUI))

👀 [Watch this tutorial video](https://youtu.be/9WklrdupZhg) for a better explanation and demonstration of how to use this tool.

YouTube Bulk Upload helps you upload videos to YouTube in bulk from a single folder, with custom metadata derived from the video file names.

To use it, you'll need a YouTube Data API Client Secret (JSON file) - reach out to Andrew if you aren't sure where to get this!

Once you have that, you can point this tool at a directory of video files and it will upload them to YouTube, generating titles based on the filename, setting descriptions based on a template file, and optionally using a dedicated thumbnail image for each video in the same directory.

I highly recommend testing it out with "Dry Run" enabled first, in which mode it will log exactly what it is doing but won't actually upload anything.

Once you have confidence that your settings are correct and you're ready to execute it in bulk on a large number of files, tick the "Non-interactive" checkbox and it will no longer prompt you with popups asking for confirmation.

The find/replace patterns for video titles, thumbnail filenames, and YouTube descriptions all support regular expressions and empty replacement strings, or they can be left blank if you don't need to use them.

Hover over any element in the user interface for a tooltip popup explanation of that functionality.


## Installation (CLI)

To install YouTube Bulk Upload, ensure you have Python 3.9 or newer installed on your system. You can then install the tool using pip:

```bash
pip install youtube-bulk-upload
```

This command installs the latest version of YouTube Bulk Upload along with its dependencies.

## Usage (CLI)
The CLI offers a straightforward way to use YouTube Bulk Upload from your terminal or command prompt.

**Basic Usage**
To start a bulk upload with the default settings, navigate to the directory containing your video files and run:

```bash
youtube-bulk-upload
```

Refer to the CLI help for more options:

```bash
youtube-bulk-upload --help
```

## Integrating as a Package

You can also use YouTube Bulk Upload as a package in your own Python code. Here's a basic example of how to use it:

```bash
from youtube_bulk_upload.bulk_upload import YouTubeBulkUpload

uploader = YouTubeBulkUpload(
    source_directory="/path/to/videos",
    youtube_client_secrets_file="/path/to/client_secret.json",
    dry_run=True  # Set to False to perform actual uploads
)

uploaded_videos = uploader.process()
```

This script initializes the uploader with a source directory and a client secrets file, then starts the upload process in dry run mode.

All of the parameters available in the CLI (`youtube-bulk-upload --help`) are available in the `YouTubeBulkUpload` class.

For details, see the code in `youtube_bulk_upload/bulk_upload.py`.
For an example, see the CLI usage in `youtube_bulk_upload/cli.py`.

## License
YouTube Bulk Upload is released under the MIT License. See the LICENSE file for more details.

## Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues on the GitHub repository.

## Acknowledgments
This project is maintained by Andrew Beveridge. Special thanks to all contributors and users for their support and feedback.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/beveradb/youtube-bulk-upload",
    "name": "youtube-bulk-upload",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.13,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Andrew Beveridge",
    "author_email": "andrew@beveridge.uk",
    "download_url": "https://files.pythonhosted.org/packages/9a/32/725b46be61e58d1583f8a911e4176fb16573babccefb82d8d6d52faca84f/youtube_bulk_upload-0.3.6.tar.gz",
    "platform": null,
    "description": "# YouTube Bulk Upload \ud83c\udfa5\n\n![PyPI - Version](https://img.shields.io/pypi/v/youtube-bulk-upload)\n\n**YouTube Bulk Upload** is a tool to facilitate the bulk uploading of video files to YouTube. This can be particularly useful for repopulating a channel after it has been unfairly terminated or when migrating content. The tool offers both a Command Line Interface (CLI) and a Graphical User Interface (GUI) to cater to different user preferences.\n\n<img src=\"images/logo-nopadding.png\" alt=\"YouTube Bulk Upload Logo\" height=\"100\">\n\n## Features\n- Bulk upload videos to YouTube from a specified directory.\n- Customize video metadata, including titles, descriptions, and keywords.\n- Dry run mode to preview actions without making changes.\n- Non-interactive mode for automated processes.\n- Support for thumbnail customization.\n\n## Installation (GUI)\n\nYouTube Bulk Upload provides a Graphical User Interface (GUI) that can be launched from a stand-alone executable.\n\nThe GUI allows you to configure all the options available and use the tool through a (somewhat) user-friendly interface.\n\nDownload the executable (`.exe` or `.dmg`) for your operating system from the [Releases page](https://github.com/beveradb/youtube-bulk-upload/releases).\n\n### Mac\n\nDouble-click the `.dmg` file to run the installer. Install the application by dragging the icon to your Applications folder:\n\n<img src=\"images/YouTubeBulkUpload-v0.3.4-Mac-GUI-Installer.png\" alt=\"YouTube Bulk Upload GUI Example\" height=\"300\">\n\nThen run the application from your Applications folder as normal, it should look something like this:\n\n![YouTube Bulk Upload GUI Example](images/YouTubeBulkUpload-v0.3.4-Mac-GUI-Example.png)\n\n### Windows\n\nDouble-click the `.exe` file to run the application - it doesn't need to be installed first.\n\nOnce it loads, it should look something like this:\n\n![YouTube Bulk Upload GUI Example](images/YouTubeBulkUpload-v0.3.4-Windows-GUI-Example.png)\n\n## Usage (GUI))\n\n\ud83d\udc40 [Watch this tutorial video](https://youtu.be/9WklrdupZhg) for a better explanation and demonstration of how to use this tool.\n\nYouTube Bulk Upload helps you upload videos to YouTube in bulk from a single folder, with custom metadata derived from the video file names.\n\nTo use it, you'll need a YouTube Data API Client Secret (JSON file) - reach out to Andrew if you aren't sure where to get this!\n\nOnce you have that, you can point this tool at a directory of video files and it will upload them to YouTube, generating titles based on the filename, setting descriptions based on a template file, and optionally using a dedicated thumbnail image for each video in the same directory.\n\nI highly recommend testing it out with \"Dry Run\" enabled first, in which mode it will log exactly what it is doing but won't actually upload anything.\n\nOnce you have confidence that your settings are correct and you're ready to execute it in bulk on a large number of files, tick the \"Non-interactive\" checkbox and it will no longer prompt you with popups asking for confirmation.\n\nThe find/replace patterns for video titles, thumbnail filenames, and YouTube descriptions all support regular expressions and empty replacement strings, or they can be left blank if you don't need to use them.\n\nHover over any element in the user interface for a tooltip popup explanation of that functionality.\n\n\n## Installation (CLI)\n\nTo install YouTube Bulk Upload, ensure you have Python 3.9 or newer installed on your system. You can then install the tool using pip:\n\n```bash\npip install youtube-bulk-upload\n```\n\nThis command installs the latest version of YouTube Bulk Upload along with its dependencies.\n\n## Usage (CLI)\nThe CLI offers a straightforward way to use YouTube Bulk Upload from your terminal or command prompt.\n\n**Basic Usage**\nTo start a bulk upload with the default settings, navigate to the directory containing your video files and run:\n\n```bash\nyoutube-bulk-upload\n```\n\nRefer to the CLI help for more options:\n\n```bash\nyoutube-bulk-upload --help\n```\n\n## Integrating as a Package\n\nYou can also use YouTube Bulk Upload as a package in your own Python code. Here's a basic example of how to use it:\n\n```bash\nfrom youtube_bulk_upload.bulk_upload import YouTubeBulkUpload\n\nuploader = YouTubeBulkUpload(\n    source_directory=\"/path/to/videos\",\n    youtube_client_secrets_file=\"/path/to/client_secret.json\",\n    dry_run=True  # Set to False to perform actual uploads\n)\n\nuploaded_videos = uploader.process()\n```\n\nThis script initializes the uploader with a source directory and a client secrets file, then starts the upload process in dry run mode.\n\nAll of the parameters available in the CLI (`youtube-bulk-upload --help`) are available in the `YouTubeBulkUpload` class.\n\nFor details, see the code in `youtube_bulk_upload/bulk_upload.py`.\nFor an example, see the CLI usage in `youtube_bulk_upload/cli.py`.\n\n## License\nYouTube Bulk Upload is released under the MIT License. See the LICENSE file for more details.\n\n## Contributing\nContributions are welcome! Please feel free to submit pull requests or open issues on the GitHub repository.\n\n## Acknowledgments\nThis project is maintained by Andrew Beveridge. Special thanks to all contributors and users for their support and feedback.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Upload all videos in a folder to youtube, e.g. to help re-populate an unfairly terminated channel",
    "version": "0.3.6",
    "project_urls": {
        "Documentation": "https://github.com/beveradb/youtube-bulk-upload/blob/main/README.md",
        "Homepage": "https://github.com/beveradb/youtube-bulk-upload",
        "Repository": "https://github.com/beveradb/youtube-bulk-upload"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "38fe4479abf6334613b2fa595c1f2d00a50cbcf6da3d22de428a95c908eefce6",
                "md5": "468486431a426821fe068d0cc7902100",
                "sha256": "f2303efb6d5610e7c2908412d40b38fddd47390497bcef0d17b914eedf62b12f"
            },
            "downloads": -1,
            "filename": "youtube_bulk_upload-0.3.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "468486431a426821fe068d0cc7902100",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.9",
            "size": 258004,
            "upload_time": "2024-03-25T06:39:41",
            "upload_time_iso_8601": "2024-03-25T06:39:41.160269Z",
            "url": "https://files.pythonhosted.org/packages/38/fe/4479abf6334613b2fa595c1f2d00a50cbcf6da3d22de428a95c908eefce6/youtube_bulk_upload-0.3.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a32725b46be61e58d1583f8a911e4176fb16573babccefb82d8d6d52faca84f",
                "md5": "8f62fa4d5b6f7aeae5f0d601eaaaf164",
                "sha256": "9e5bbe40d751288fee9fa60d5b2c54b0e37f907af281142ba149ddd89136cf8a"
            },
            "downloads": -1,
            "filename": "youtube_bulk_upload-0.3.6.tar.gz",
            "has_sig": false,
            "md5_digest": "8f62fa4d5b6f7aeae5f0d601eaaaf164",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.13,>=3.9",
            "size": 259338,
            "upload_time": "2024-03-25T06:39:43",
            "upload_time_iso_8601": "2024-03-25T06:39:43.286873Z",
            "url": "https://files.pythonhosted.org/packages/9a/32/725b46be61e58d1583f8a911e4176fb16573babccefb82d8d6d52faca84f/youtube_bulk_upload-0.3.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-25 06:39:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "beveradb",
    "github_project": "youtube-bulk-upload",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "youtube-bulk-upload"
}
        
Elapsed time: 0.19324s