This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Get statistics for YouTube playlists. | |
* | |
* Navigate to YouTube playlist before executing. | |
* For example: | |
* https://www.youtube.com/playlist?list=PL3NaIVgSlAVLHty1-NuvPa9V0b0UwbzBd | |
*/ | |
function getYouTubePlaylistStats() { | |
const timeElementsSelector = 'ytd-playlist-video-list-renderer ytd-thumbnail-overlay-time-status-renderer #text'; | |
const timeElements = Array.from(document.querySelectorAll(timeElementsSelector)); |
Pull down changes and checkout
git fetch
git br -r # list remote branches
git co -t release/2.0.0 # checkout remote branch locally
Source: https://www.git-tower.com/learn/git/faq/checkout-remote-branch