So if you're using Proxmox you need to open up ssh and run the following commands:
- Setup a root password
sudo passwd root| let rssText = [...document.querySelectorAll("#main-link.channel-link")].map((e) => { | |
| const [, a, b] = e.href.match("/((?:user)|(?:channel))/(.*)$"); | |
| return "https://www.youtube.com/feeds/videos.xml?" + (a === "user" ? "user=" : "channel_id=") + b; | |
| }).join("\n") | |
| if (rssText) { | |
| navigator.clipboard.writeText(rssText).then( | |
| () => alert("A list of channel RSS feeds has been copied to the clipboard. \nPaste these into rssmix.com to generate a single RSS feed, or opml-gen.ovh to generate an OPML file.") | |
| ).catch( | |
| () => { | |
| console.log(rssText) |
| // @ts-nocheck TODO: remove at some point | |
| import babel from 'rollup-plugin-babel'; | |
| import commonjs from 'rollup-plugin-commonjs'; | |
| import config from 'sapper/config/rollup.js'; | |
| import getPreprocessor from 'svelte-preprocess' | |
| import path from 'path' | |
| import pkg from './package.json'; | |
| import postcss from 'rollup-plugin-postcss' | |
| import replace from 'rollup-plugin-replace'; |
| array:10 [▼ | |
| "_id" => ObjectID {#191} | |
| "title" => "eBay’s Cyber Monday deals include the Apple MacBook Pro and the Google Home" | |
| "__v" => 0 | |
| "source" => "The Verge" | |
| "dateCrawled" => UTCDateTime {#193} | |
| "url" => "https://www.theverge.com/2017/11/26/16699420/ebay-cyber-monday-2017-deals-apple-google-microsoft-samsung" | |
| "image" => "https://cdn.vox-cdn.com/uploads/chorus_image/image/57745081/vrg_1228_google_home_01_2.0.jpg" | |
| "article" => """ | |
| \n |
| /*** begin the session ***/ | |
| session_start(); | |
| // Connection to database | |
| $connection=mysqli_connect("localhost","root","Iamdone2010","vrcrush"); | |
| // Check connection | |
| if (mysqli_connect_errno()) | |
| { | |
| echo 'NOT_OK'; |