Skip to content

Commit

Permalink
Merge pull request #23 from TentacleSama4254/patch-2
Browse files Browse the repository at this point in the history
Fix for the tags error
  • Loading branch information
fawazahmed0 committed Jul 12, 2021
2 parents 683f24d + d7e9a4e commit 7e2a56b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ async function uploadVideo (videoJSON) {
}
// Add tags
if (tags) {
await page.focus('[placeholder="Add tag"]')
await page.type('[placeholder="Add tag"]', tags.join(', ').substring(0, 495) + ', ')
await page.focus(`[aria-label="Tags"]`)
await page.type(`[aria-label="Tags"]`, tags.join(', ').substring(0, 495) + ', ')
}

// Selecting video language
Expand Down

0 comments on commit 7e2a56b

Please sign in to comment.