The sed command can also be used to split string data. The syntax for this command is:
sed 's/delimiter/\n/g'
// Execute this in the console of on your own playlist | |
var videos = document.querySelectorAll('.yt-simple-endpoint.style-scope.ytd-playlist-video-renderer'); | |
var r = []; | |
var json = []; | |
r.forEach.call(videos, function(video) { | |
var url = 'https://www.youtube.com' + video.getAttribute('href'); | |
url = url.split('&list=WL&index='); | |
url = url[0]; |
// Execute this in the console of on your own playlist | |
var videos = document.querySelectorAll('.yt-simple-endpoint.style-scope.ytd-playlist-video-renderer'); | |
var r = []; | |
var json = []; | |
r.forEach.call(videos, function(video) { | |
var url = 'https://www.youtube.com' + video.getAttribute('href'); | |
url = url.split('&list=WL&index='); | |
url = url[0]; |
yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The main focus of this project is adding new features and patches while also keeping up to date with the original project
javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?later=yes&noui=yes&jump=close&tags=TAGS GO HERE&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=100,height=100')); | |
// Copy and paste the above into a new bookmark. Replace "TAGS GO HERE" with your tags. Presto! |
<?php | |
// autoload_namespace.php generated by Composer | |
$vendorDir = dirname(__DIR__); | |
$baseDir = dirname($vendorDir); | |
return array( | |
'Volcanus\\Validation' => $vendorDir . '/volcanus/validation/src/', | |
'Symfony\\Component\\HttpFoundation' => $vendorDir . '/symfony/http-foundation/', |
Updates composer.lock hash without updating any packages
composer update --lock