Skip to content

Commit

Permalink
minor change to naming
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbraun04 committed Mar 31, 2023
1 parent a7f653d commit 4e20543
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 10 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# API-less YouTube Uploader

This project provides a way to upload videos to YouTube without using the YouTube API. It uses the YouTube web interface to perform the upload, so it can be used in cases where the YouTube API is not available or cannot be used.

## Getting Started

To use the API-less YouTube Uploader, you will need to download and install the following software:

- [Java Development Kit (JDK) version 8 or higher](https://www.oracle.com/ca-en/java/technologies/downloads/)
- [Selenium for Java](https://www.selenium.dev/downloads/)

## Usage

Once you have these dependencies installed, you can build the project using the following command:


```
java Youtu <path-to-video-file> <youtube-username> <youtube-password> <video-title> <video-description>
```
Binary file removed bin/YoutubeDownloader.class
Binary file not shown.
20 changes: 10 additions & 10 deletions src/YoutubeDownloader.java → src/YoutubeUploader.java
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import java.io.File;
import java.io.FileNotFoundException;
import java.time.*;
import java.util.List;
import java.util.Random;
import java.util.Scanner;
import org.openqa.selenium.By;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.ElementNotInteractableException;
import org.openqa.selenium.StaleElementReferenceException;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.util.List;
import java.util.Random;
import java.time.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;

public class YoutubeDownloader {
public class YoutubeUploader {

//create random instance
private static Random rand;
Expand Down

0 comments on commit 4e20543

Please sign in to comment.