1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 02:14:39 -05:00

new download :3

This commit is contained in:
Ashley 2023-02-14 14:30:53 +00:00
parent 80f5cf1d83
commit bbc7297520

View file

@ -22,7 +22,7 @@
<link href=/css/yt-ukraine.svg?v=6 rel=icon>
<meta content=website property=og:type>
<meta content="PokeTube - Video Downloader" property=og:title>
<meta content="You wouldn't download a car... Right? - Download this video by <%=video.Channel.Name%> on PokeTube " property=twitter:description>
<meta content="You wouldn't download a car... Right? welp i would - Download this video by <%=video.Channel.Name%> on PokeTube! for the price of 0$!" property=twitter:description>
<meta content="https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg" property=og:image>
<meta content=summary_large_image name=twitter:card>
<meta content=@PoketaleBot name=twitter:site>
@ -34,15 +34,15 @@
<link href=https://p.poketube.fun/https://site-assets.fontawesome.com/releases/v6.1.1/css/all.css rel=stylesheet>
<style>
a.class:hover {
text-decoration:underline;
font-weight:bold
}
summary{
color:gray;
}
summary:hover{
summary:hove
color:white;
}
</style>
<!-- WIGGLE WIGGLE WIGGLE -->
<style>
@ -122,11 +122,6 @@ summary:hover{
--channel-info-background: #181818;
--channel-contents-background: #0f0f0f;
}
@font-face {
font-family: 'Ginto Nord';
font-weight: 800;
src:url('https://p.poketube.fun/https://cdn.statically.io/gh/brecert/discord-quote-generator/main/Ginto-Nord-800.woff') format("woff");
}
.alert {
@ -158,6 +153,10 @@ summary:hover{
.closebtn:hover {
color: black;
}
.download-format > a:hover{
border:solid;
}
</style>
</head>
@ -165,27 +164,33 @@ summary:hover{
<div class="app">
<nav>
<div class=left><a class="class" href="/143" style=font-family:Inter,sans-serif;color:#fff><img style="width: 8.5em;display: block;margin-left: auto;margin-right: auto;" src="/css/logo.svg?v=5"> <a href="/domains"><i style="display: block;margin-left: auto;margin-right: auto;" class="fas fa-server"></i> </a></div>
<div class=middle>
<form action=/search><input class=search-bar autocomplete="on" id=fname name=query style="color:#fff;font-family:Inter,sans-serif;"> <button class="btn btn-success" type=submit><i class="fas fa-search"></i></button></form>
<div class=left><a class="class" href="/143" style=font-family:Inter,sans-serif;color:#fff><img style="transform: scale(1.3);padding-left:0.9em;width: 8.5em;display: block;margin-left: auto;margin-right: auto;" src="/css/logo.svg?v=5"> </a> </div>
<div class="middle">
<form action="/search"><input class="search-bar" autocomplete="on" id="fname" name="query" style="color:var(--text-color);font-family:poketube flex,sans-serif;border-radius: 2em;font-weight: 850;font-stretch: extra-expanded;" data-ddg-inputtype="identities.firstName">
<button class="btn btn-success" type="submit" style="transform: translate(21em, -1.25em);"><i class="fa-light fa-search"></i></button>
</form>
<img src="https://search-metrics.poketube.fun/t/rep.gif" style="border:0;width: 0;visibility: hidden;">
</div>
<div class=right><a href="/privacy"><i class="fas fa-shield"></i></a><a href="/video/upload?from="><i class="fas fa-video"></i></a> <a href="https://github.com/iamashley0/poketube/"><i class="fab fa-git-alt"></i></a><a href="https://github.com/iamashley0/poketube/issues"><i class="fas fa-bug"></i></a></a></div>
<div class=right><a href="/privacy"><i class="fa-light fa-shield"></i></a><a href="/video/upload?from="><i class="fa-light fa-video"></i></a> <a href="https://github.com/iamashley0/poketube/"><i class="fab fa-git-alt"></i></a><a href="https://github.com/iamashley0/poketube/issues"><i class="fa-light fa-bug"></i></a></a></div>
</nav>
<div class="playlist-page">
<div class="playlist-info" style="border-radius:12px;font-family:'Inter';margin: 8px;padding: 18px;background-color: black;width: fit-content;height: fit-content;">
<div class="thumbnail" style="background-image: url('https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg');border-radius: 5px;">
<a href="/watch?v=<%=video.id%>">Watch The Video</a>
<div class="playlist-info" style="border-radius:12px;font-family:'Inter';margin: 8px;padding: 18px;background: linear-gradient(135deg, #f97794 10%, #623aa2 100%, #8e6f7e 100% );width: fit-content;height: fit-content;">
<div class="thumbnail" style="background-image: url('https://i.ytimg.com/vi/jx4CuNiTMcg/hqdefault.jpg');border-radius: 1em;">
<a style="border-radius: 1em;" href="/watch?v=<%=video.id%>">Watch The Video</a>
</div>
<p class="title"><%=video.Title%></p>
<p class="title" style="margin-top: 10px;margin-bottom: 10px;"><%=video.Title%></p>
<span class="info"><%=engagement.viewCount.toLocaleString()%> Views • Uploaded <%=date%></span>
<div class="channel-info">
<div class="channel-info" style="background: #0009;padding-top: 3px;margin-top: 10px;border-radius: 2em;">
<a href="/channel?id=<%=video.Channel.id%>" class="avatar">
<img src=" <%= k.Video.Channel.Avatar[1].$t %>">
<img src=" <%= k.Video.Channel.Avatar[1].$t %>" style="margin-left: 10px;width: 44px;height: 44px;">
</a>
</a>
<div class="name">
<div class="name" style="margin-left: 3px;">
<a class="name" href="/channel?id=<%=video.Channel.id%>"><%=video.Channel.Name%></a>
</div>
</div>
@ -194,36 +199,36 @@ summary:hover{
<div class="video-list download-list playlist-video-list">
<div>
<h1 style="font-family:'Ginto Nord';font-weight:900;white-space:yes;">DOWNLOAD VIDEO</h1>
<h1 style="font-family:'PokeTube Flex';font-weight:1000;white-space:yes;font-stretch: ultra-expanded;"> DOWNLOAD VIDEO</h1>
<p>Select an pog format qwq</p>
</div>
<div class="format-list">
<h2>Muxed formats</h2>
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"> <div style="font-family:'Ginto Nord'">
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"><div style="font-family:&quot;PokeTube flex&quot;;font-stretch: ultra-expanded;font-weight: 700;">
3GPP
</div>
<a style="color:#fff;font-family:Inter" href="/api/video/download?v=<%=video.id%>&q=17">
<i class="fas fa-download"></i>
<a style="color:#fff;font-family:Ubuntu" href="/api/video/download?v=<%=video.id%>&q=17">
<i class="fa-light fa-download"></i>
Download
</a>
<br>
</div>
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"> <div style="font-family:'Ginto Nord'">
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"><div style="font-family:&quot;PokeTube flex&quot;;font-stretch: ultra-expanded;font-weight: 700;">
MP4 (480p)
</div>
<a style="color:#fff;font-family:Inter" href="/api/video/download?v=<%=video.id%>&q=18">
<i class="fas fa-download"></i>
<a style="color:#fff;font-family:Ubuntu" href="/api/video/download?v=<%=video.id%>&q=18">
<i class="fa-light fa-download"></i>
Download
</a>
<br>
</div>
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"> <div style="font-family:'Ginto Nord'"> MP4 (720p)
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"> <div style="font-family:&quot;PokeTube flex&quot;;font-stretch: ultra-expanded;font-weight: 700;"> MP4 (720p)
</div>
<a style="color:#fff;font-family:Inter" href="/api/video/download?v=<%=video.id%>">
<i class="fas fa-download"></i>
<a style="color:#fff;font-family:Ubuntu" href="/api/video/download?v=<%=video.id%>">
<i class="fa-light fa-download"></i>
Download
</a>
<br>
@ -235,21 +240,21 @@ summary:hover{
<div class="format-list">
<h2>Audio formats</h2>
<h2>Audio-Only formats</h2>
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"> <div style="font-family:'Ginto Nord'"> webm (50k)
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"> <div style="font-family:&quot;PokeTube flex&quot;;font-stretch: ultra-expanded;font-weight: 700;"> webm (50k)
</div>
<a style="color:#fff;font-family:Inter" href="/api/video/download?v=<%=video.id%>&q=249&f=webm">
<i class="fas fa-download"></i>
<a style="color:#fff;font-family:Ubuntu" href="/api/video/download?v=<%=video.id%>&q=249&f=webm">
<i class="fa-light fa-download"></i>
Download
</a>
<br>
</div>
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"> <div style="font-family:'Ginto Nord'"> webm (160k)
<div class="download-format" style="background: black;margin: 6px;border-radius: 14px;/*! text-align: center; */"> <div style="font-family:&quot;PokeTube flex&quot;;font-stretch: ultra-expanded;font-weight: 700;"> webm (160k)
</div>
<a style="color:#fff;font-family:Inter" href="/api/video/download?v=<%=video.id%>&q=251&f=webm">
<i class="fas fa-download"></i>
<a style="color:#fff;font-family:Ubuntu" href="/api/video/download?v=<%=video.id%>&q=251&f=webm">
<i class="fa-light fa-download"></i>
Download
</a>
<br>