Skip to content

Commit

Permalink
video_time regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube authored Jun 18, 2024
1 parent 13178a9 commit fb15248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js&css/web-accessible/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var ImprovedTube = {
channel_home_page_postfix: /\/(featured)?\/?$/,
thumbnail_quality: /(default\.jpg|mqdefault\.jpg|hqdefault\.jpg|hq720\.jpg|sddefault\.jpg|maxresdefault\.jpg)+/,
video_id: /(?:[?&]v=|embed\/|shorts\/)([^&?]{11})/,
video_time: /[?&](?:t|start)=([^&]+)/,
video_time: /[?&](?:t|start)=([^&]+)|#t=(\w+)/,
playlist_id: /[?&]list=([^&]+)/,
channel_link: /https:\/\/www.youtube.com\/@|((channel|user|c)\/)/
},
Expand Down

0 comments on commit fb15248

Please sign in to comment.