ContentAutomation / YouTubeUploader

An automated, headless YouTube Uploader
https://github.com/ContentAutomation
MIT License
181 stars 31 forks source link

Prevent uploader from clicking endcard to early #7

Closed ChristianCoenen closed 3 years ago

ChristianCoenen commented 3 years ago

The uploader waits 5s for the endcard screen to load. However, if it takes longer than 5s, the program crashes with an exception.

This PR fixes the problem by trying to click the endcard every 5s with a total of 10 retries.

Fixes #6