Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clickElement(-1, "input[value='Upload video']");
- loadedLoop.exec();
- update_progress(60);
- // Check For Format Errors Start
- wait_loop(2000);
- if (contains(-1, "", "Please enter video title"))
- {
- #if defined(QT_DEBUG)
- qDebug() << "Please provide a title for your submission. Exiting...";
- #endif
- update_status("DONE", "FAILED (Please provide a title for your submission)");
- save_page();
- /*close();*/exit(0);
- }
- if (contains(-1, "", "Please enter tags"))
- {
- #if defined(QT_DEBUG)
- qDebug() << "Please provide tags for your submission. Exiting...";
- #endif
- update_status("DONE", "FAILED (Please provide tags for your submission)");
- save_page();
- /*close();*/exit(0);
- }
- // Check For Format Errors Ends
- //loadedLoop.exec();
- setAttributeJS(-1, "input[name='file']", "value", video_180);
- clickElement(-1, "input[value='Upload']");
- loadedLoop.exec();
- update_progress(80);
- // Check For Upload Errors Start
Add Comment
Please, Sign In to add comment