diff --git a/src/renderer/store/modules/utils.js b/src/renderer/store/modules/utils.js index 90b22d4d..9650981e 100644 --- a/src/renderer/store/modules/utils.js +++ b/src/renderer/store/modules/utils.js @@ -308,6 +308,13 @@ const actions = { return paramsObject } }, + // youtube.com/shorts + function() { + if (urlObject.pathname.match(/^\/shorts\/[A-Za-z0-9_-]+$/)) { + extractParams(urlObject.pathname.replace('/shorts/', '')) + return paramsObject + } + }, // cloudtube function() { if (urlObject.host.match(/^cadence\.(gq|moe)$/) && urlObject.pathname.match(/^\/cloudtube\/video\/[A-Za-z0-9_-]+$/)) {