This commit is contained in:
Boof 2023-06-09 10:27:08 +02:00 committed by GitHub
parent a249059b99
commit 49d1a59820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,11 @@ var sources = [
'mp4': 'https://archive.org/download/karius-og-baktus/Karius%20og%20Baktus.mp4',
'webm':'https://archive.org/download/karius-og-baktus/Karius%20og%20Baktus.webm',
'ogg':'https://archive.org/download/karius-og-baktus/Karius%20og%20Baktus.ogv'
},
{
'mp4': 'https://files.catbox.moe/124r0x.mp4',
'webm': 'https://files.catbox.moe/faa3uk.webm',
'ogg': 'https://files.catbox.moe/vwgn0o.ogv'
}
];

View File

@ -1,9 +1,9 @@
const client = new WebTorrent()
const magnetUri = 'magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel.torrent'
const magnetUri = 'magnet:?xt=urn:btih:0df01f9d83b9c8cb1b7ee9b6ec726167b85cd143&dn=Karius+og+Baktus.webm&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337'
function mp4Vid() {
client.add(magnetUri, (torrent) => {
client.add(magnetUri, {urlList: 'data.boof.eu.org, https://data.boof.eu.org'}, (torrent) => {
// Find the video file in the torrent's files
const videoFile = torrent.files.find((file) => file.name.endsWith('.mp4'));