diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 7c1e0766..ecd2e708 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -141,7 +141,7 @@ function getJson(str) { } /* support button */ -const PATREON_REGEX = /https:\/\/www.patreon.com\/(?[\w\d_-]+)/; +const PATREON_REGEX = /https:\/\/(?:www\.)?patreon.com\/(?[\w\d_-]+)/; /* connections */ const X_REGEX = /https:\/\/twitter.com\/(?[\w\d_-]+)/;