* refactor: improving the getUrlPattern function for future proposals * feat: added more capture groups to the function * fix: fixed the youtube resource validate