Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ba0a1ba100 | |||
| 8c51a286c9 | |||
| 46c27e4875 | |||
| b639918555 | |||
| 5596351f58 | |||
| ad150b6f16 |
@@ -13,3 +13,5 @@ N/A
|
||||
## Any other comments?
|
||||
|
||||
N/A
|
||||
|
||||
- [ ] I am the original author of this code and I am giving it freely to the community and Pinchflat project maintainers
|
||||
|
||||
@@ -23,18 +23,6 @@ alias Pinchflat.Metadata.MetadataFileHelpers
|
||||
alias Pinchflat.SlowIndexing.FileFollowerServer
|
||||
|
||||
defmodule IexHelpers do
|
||||
def playlist_url do
|
||||
"https://www.youtube.com/playlist?list=PLmqC3wPkeL8kSlTCcSMDD63gmSi7evcXS"
|
||||
end
|
||||
|
||||
def channel_url do
|
||||
"https://www.youtube.com/c/TheUselessTrials"
|
||||
end
|
||||
|
||||
def video_url do
|
||||
"https://www.youtube.com/watch?v=bR52O78ZIUw"
|
||||
end
|
||||
|
||||
def last_media_item do
|
||||
Repo.one(from m in MediaItem, limit: 1)
|
||||
end
|
||||
|
||||
@@ -14,46 +14,109 @@
|
||||
|
||||
# Your next YouTube media manager
|
||||
|
||||
## Disclaimer
|
||||
## Table of contents:
|
||||
|
||||
This is alpha software and anything can break at any time. I make not guarantees about the stability of this software, forward-compatibility of updates, or integrity (both related to and independent of Pinchflat). Essentially, use at your own risk and expect there will be rough edges.
|
||||
- [What it does](#what-it-does)
|
||||
- [Features](#features)
|
||||
- [Screenshots](#screenshots)
|
||||
- [Installation](#installation)
|
||||
- [Unraid](#unraid)
|
||||
- [Docker](#docker)
|
||||
- [Authentication](#authentication)
|
||||
- [Frequently asked questions](https://github.com/kieraneglin/pinchflat/wiki/Frequently-Asked-Questions)
|
||||
- [Documentation](https://github.com/kieraneglin/pinchflat/wiki)
|
||||
- [EFF donations](#eff-donations)
|
||||
- [Pre-release disclaimer](#pre-release-disclaimer)
|
||||
- [Development](#development)
|
||||
|
||||
## EFF Donation Receipts
|
||||
## What it does
|
||||
|
||||
A portion of all donations to Pinchflat will be donated to the Electronic Frontier Foundation. [See here](https://github.com/kieraneglin/pinchflat/wiki/EFF-Donation-Receipts) for a list of donation receipts.
|
||||
Pinchflat is a self-hosted app for downloading YouTube content built using [yt-dlp](https://github.com/yt-dlp/yt-dlp). It's designed to be lightweight, self-contained, and easy to use. You set up rules for how to download content from YouTube channels or playlists and it'll do the rest, checking periodically for new content. It's perfect for people who want to download content for use in with a media center app (Plex, Jellyfin, Kodi) or for those who want to archive media!
|
||||
|
||||
## What is Pinchflat?
|
||||
It's _not_ great for downloading one-off videos - it's built to download large amounts of content and keep it up to date. It's also not meant for consuming content in-app - Pinchflat downloads content to disk where you can then watch it with a media center app or VLC.
|
||||
|
||||
TODO: expand on this.
|
||||
If it doesn't work for your use case, please make a feature request! You can also check out these great alternatives: [Tube Archivist](https://github.com/tubearchivist/tubearchivist), [ytdl-sub](https://github.com/jmbannon/ytdl-sub), and [TubeSync](https://github.com/meeb/tubesync)
|
||||
|
||||
Pinchflat is a lightweight self-contained app for downloading YouTube content. For now, it is not intended as a way to consume content, but instead as a way to download content to disk using specified rules and schedules.
|
||||
## Features
|
||||
|
||||
I have plans for more to come, but for now this is the focus. Think of Pinchflat as nothing more than an automated way to get content from YouTube to your disk.
|
||||
- Self-contained - just one Docker container with no external dependencies
|
||||
- Powerful naming system so content is stored where and how you want it
|
||||
- Easy-to-use web interface with presets to get you started right away
|
||||
- First-class support for media center apps like Plex, Jellyfin, and Kodi
|
||||
- Automatically downloads new content from channels and playlists
|
||||
- Uses a novel approach to download new content more quickly than other apps
|
||||
- Supports downloading audio content
|
||||
- Custom rules for handling YouTube Shorts and livestreams
|
||||
- Advanced options like setting cutoff dates and filtering by title
|
||||
- Reliable hands-off operation
|
||||
|
||||
## Screenshots
|
||||
|
||||
<img src="priv/static/images/app-form-screenshot.png" alt="Pinchflat screenshot" width="700" />
|
||||
<img src="priv/static/images/app-screenshot.png" alt="Pinchflat screenshot" width="700" />
|
||||
|
||||
## Installation
|
||||
|
||||
Pinchflat is designed to be self-hosted. I'm building it for my own needs which means it's designed to work well with Unraid, but it should work on any computer/server that can run Docker images.
|
||||
### Unraid
|
||||
|
||||
I'll update with Unraid instructions once I get something in the Community Apps store. Until then, here's how you build it with Docker:
|
||||
Simply search for Pinchflat in the Community Apps store!
|
||||
|
||||
### Docker
|
||||
|
||||
1. Create two directories on your host machine: one for storing config and one for storing downloaded media. Make sure they're both writable by the user running the Docker container.
|
||||
2. Prepare the docker image in one of the two ways below:
|
||||
- **From Docker Hub:** `docker pull keglin/pinchflat:latest`, or;
|
||||
- **Building locally:** `docker build . --file selfhosted.Dockerfile -t keglin/pinchflat:latest`
|
||||
3. Run the container:
|
||||
|
||||
```bash
|
||||
docker build . --file selfhosted.Dockerfile -t pinchflat:dev
|
||||
|
||||
# Be sure to replace /host/path/to/config and /host/path/to/downloads below with
|
||||
# the paths to the directories you created in step 1
|
||||
docker run \
|
||||
-p 8945:8945 \
|
||||
-v /Users/work/Desktop/test_volumes/config:/config \
|
||||
-v /Users/work/Desktop/test_volumes/downloads:/downloads \
|
||||
pinchflat:dev
|
||||
-v /host/path/to/config:/config \
|
||||
-v /host/path/to/downloads:/downloads \
|
||||
keglin/pinchflat:latest
|
||||
```
|
||||
|
||||
NOTE: it's recommended to not run the container as root. Doing so can create permission issues if other apps need to work with the downloaded media. If you need to run any command as root, you can run `su` from the container's shell as there is no password set for the root user.
|
||||
|
||||
## Authentication
|
||||
|
||||
Currently HTTP basic auth is optionally supported. To use it, set the `BASIC_AUTH_USERNAME` and `BASIC_AUTH_PASSWORD` environment variables when starting the container. If you don't set both of these, no authentication will be required.
|
||||
HTTP basic authentication is optionally supported. To use it, set the `BASIC_AUTH_USERNAME` and `BASIC_AUTH_PASSWORD` environment variables when starting the container. No authentication will be required unless you set _both_ of these.
|
||||
|
||||
## EFF donations
|
||||
|
||||
A portion of all donations to Pinchflat will be donated to the [Electronic Frontier Foundation](https://www.eff.org/). The EFF defends your online liberties and [backed](https://github.com/github/dmca/blob/9a85e0f021f7967af80e186b890776a50443f06c/2020/11/2020-11-16-RIAA-reversal-effletter.pdf) `youtube-dl` when Google took them down. [See here](https://github.com/kieraneglin/pinchflat/wiki/EFF-Donation-Receipts) for a list of donation receipts.
|
||||
|
||||
## Pre-release disclaimer
|
||||
|
||||
This is pre-release software and anything can break at any time. I make not guarantees about the stability of this software, forward-compatibility of updates, or integrity (both related to and independent of Pinchflat). Essentially, use at your own risk and expect there will be rough edges for now.
|
||||
|
||||
## Development
|
||||
|
||||
Pinchflat is written in Elixir - a functional programming language that runs on the Erlang VM. It uses the Phoenix web framework and SQLite for the database. The frontend is mostly normal server-rendered HTML with a little Alpine.js as-needed.
|
||||
|
||||
Elixir is a personal favourite of mine and is ideal for building fault-tolerant systems. It's also a joy to work with and has a great community. If you're interested in contributing, I'd be happy to help you get started with Elixir - just open an issue with some questions and we can chat!
|
||||
|
||||
### Local setup
|
||||
|
||||
- `docker compose build --no-cache`
|
||||
- `docker compose up -d && docker attach pinchflat-phx-1`
|
||||
- After a few minutes the app should be accessible at `localhost:4008`
|
||||
- Please let me know if you run into any hiccups here - I haven't had to bootstrap the app from scratch in a long time and I might have forgotten something
|
||||
- Media downloads and config will be stored in the `tmp` directory. Not the OS's `/tmp` directory, but the one in the root of the project
|
||||
|
||||
### Running tests and linting
|
||||
|
||||
- Open a shell with `docker compose exec phx bash`
|
||||
- Run `mix test` to run the tests
|
||||
- Run `mix check` to do a full testing, linting, and static analysis pass
|
||||
|
||||
### Top tips
|
||||
|
||||
- Look for any module that ends in `*_worker.ex` - these are where the interesting stuff happens and you can trace back from there to see how the app works. `lib/pinchflat/slow_indexing/media_collection_indexing_worker.ex` is a good place to start
|
||||
|
||||
## License
|
||||
|
||||
See `LICENSE` file
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
@@ -32,6 +32,12 @@
|
||||
<section>
|
||||
<nav class="px-4 py-4 lg:px-6">
|
||||
<ul class="mb-6 flex flex-col gap-1.5">
|
||||
<.sidebar_item
|
||||
icon="hero-book-open"
|
||||
text="Docs"
|
||||
target="_blank"
|
||||
href="https://github.com/kieraneglin/pinchflat/wiki"
|
||||
/>
|
||||
<.sidebar_item
|
||||
icon="hero-code-bracket"
|
||||
text="Github"
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
field={f[:download_source_images]}
|
||||
type="toggle"
|
||||
label="Download Series Images"
|
||||
help="Downloads poster and banner images for use with Jellyfin, Kodi, etc. Only works for full channels (not playlists)"
|
||||
help="Downloads poster and banner images for use with Plex, Jellyfin, Kodi, etc. Only works for full channels (not playlists)"
|
||||
x-init="$watch('selectedPreset', p => p && (enabled = presets[p]))"
|
||||
/>
|
||||
</section>
|
||||
|
||||
@@ -4,7 +4,7 @@ defmodule Pinchflat.MixProject do
|
||||
def project do
|
||||
[
|
||||
app: :pinchflat,
|
||||
version: "0.1.0-alpha.7",
|
||||
version: "0.1.0",
|
||||
elixir: "~> 1.16",
|
||||
elixirc_paths: elixirc_paths(Mix.env()),
|
||||
start_permanent: Mix.env() == :prod,
|
||||
|
||||
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 72 KiB |
@@ -73,7 +73,7 @@ defmodule Pinchflat.Downloading.MediaDownloaderTest do
|
||||
|
||||
test "it extracts the title", %{media_item: media_item} do
|
||||
assert {:ok, updated_media_item} = MediaDownloader.download_for_media_item(media_item)
|
||||
assert updated_media_item.title == "Trying to Wheelie Without the Rear Brake"
|
||||
assert updated_media_item.title == "Pinchflat Example Video"
|
||||
end
|
||||
|
||||
test "it extracts the description", %{media_item: media_item} do
|
||||
|
||||
@@ -11,7 +11,7 @@ defmodule Pinchflat.Metadata.MetadataParserTest do
|
||||
test "it extracts the media filepath", %{metadata: metadata} do
|
||||
result = Parser.parse_for_media_item(metadata)
|
||||
|
||||
assert String.contains?(result.media_filepath, "bwRHIkYqYJo")
|
||||
assert String.contains?(result.media_filepath, "Pinchflat Example Video-ABC123")
|
||||
assert String.ends_with?(result.media_filepath, ".mkv")
|
||||
end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ defmodule Pinchflat.YtDlp.MediaCollectionTest do
|
||||
alias Pinchflat.YtDlp.Media
|
||||
alias Pinchflat.YtDlp.MediaCollection
|
||||
|
||||
@channel_url "https://www.youtube.com/c/TheUselessTrials"
|
||||
@channel_url "https://www.youtube.com/c/PinchflatTestChannel"
|
||||
|
||||
setup :verify_on_exit!
|
||||
|
||||
@@ -77,10 +77,10 @@ defmodule Pinchflat.YtDlp.MediaCollectionTest do
|
||||
test "it returns a map with data on success" do
|
||||
expect(YtDlpRunnerMock, :run, fn _url, _opts, _ot ->
|
||||
Phoenix.json_library().encode(%{
|
||||
channel: "TheUselessTrials",
|
||||
channel: "PinchflatTestChannel",
|
||||
channel_id: "UCQH2",
|
||||
playlist_id: "PLQH2",
|
||||
playlist_title: "TheUselessTrials - Videos"
|
||||
playlist_title: "PinchflatTestChannel - Videos"
|
||||
})
|
||||
end)
|
||||
|
||||
@@ -88,9 +88,9 @@ defmodule Pinchflat.YtDlp.MediaCollectionTest do
|
||||
|
||||
assert %{
|
||||
channel_id: "UCQH2",
|
||||
channel_name: "TheUselessTrials",
|
||||
channel_name: "PinchflatTestChannel",
|
||||
playlist_id: "PLQH2",
|
||||
playlist_name: "TheUselessTrials - Videos"
|
||||
playlist_name: "PinchflatTestChannel - Videos"
|
||||
} = res
|
||||
end
|
||||
|
||||
@@ -121,12 +121,12 @@ defmodule Pinchflat.YtDlp.MediaCollectionTest do
|
||||
describe "get_source_metadata/1" do
|
||||
test "it returns a map with data on success" do
|
||||
expect(YtDlpRunnerMock, :run, fn _url, _opts, _ot ->
|
||||
Phoenix.json_library().encode(%{channel: "TheUselessTrials"})
|
||||
Phoenix.json_library().encode(%{channel: "PinchflatTestChannel"})
|
||||
end)
|
||||
|
||||
assert {:ok, res} = MediaCollection.get_source_metadata(@channel_url)
|
||||
|
||||
assert %{"channel" => "TheUselessTrials"} = res
|
||||
assert %{"channel" => "PinchflatTestChannel"} = res
|
||||
end
|
||||
|
||||
test "it passes the expected args to the backend runner" do
|
||||
|
||||
@@ -36,7 +36,7 @@ defmodule Pinchflat.YtDlp.MediaTest do
|
||||
{:ok, render_metadata(:media_metadata)}
|
||||
end)
|
||||
|
||||
assert {:ok, %{"title" => "Trying to Wheelie Without the Rear Brake"}} =
|
||||
assert {:ok, %{"title" => "Pinchflat Example Video"}} =
|
||||
Media.download(@media_url)
|
||||
end
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 182 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 824 B |
|
After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 824 B |
@@ -1,49 +1,15 @@
|
||||
{
|
||||
"id": "TheUselessTrials",
|
||||
"channel": "TheUselessTrials",
|
||||
"channel_id": "UCEi9yL4vhQlLafWRsAgAr3w",
|
||||
"title": "TheUselessTrials",
|
||||
"id": "PinchflatTestChannel",
|
||||
"channel": "PinchflatTestChannel",
|
||||
"channel_id": "UCEABC123",
|
||||
"title": "PinchflatTestChannel",
|
||||
"availability": null,
|
||||
"channel_follower_count": 35000,
|
||||
"description": "My name is Max and I'm a Street Trials bike rider with a passion for making videos. My channel features everything from learning and experiments all the way to just plain bike action. The first video series I started is called Quick New Trick and it featured me trying to learn new bike skills as quickly as possible, to show you how you can learn them as well.\n\nHope you enjoy the videos! See you in the comments section.",
|
||||
"tags": [
|
||||
"Useless Trials",
|
||||
"TUT",
|
||||
"UT",
|
||||
"Max Fiergolla",
|
||||
"maxfiergolla",
|
||||
"Street Trial Bikes",
|
||||
"Bike Tricks",
|
||||
"How To",
|
||||
"bike trial",
|
||||
"TRIAL BIKE",
|
||||
"quick new trick",
|
||||
"bike hacks",
|
||||
"trials bike",
|
||||
"bike trials",
|
||||
"TRIALS",
|
||||
"street trial",
|
||||
"trial street",
|
||||
"trials biking",
|
||||
"bike tricks",
|
||||
"bmx tricks",
|
||||
"mtb",
|
||||
"mtb tricks",
|
||||
"danny macaskill",
|
||||
"martyn ashton",
|
||||
"macaskill",
|
||||
"bike stunts",
|
||||
"mountainbike stunts",
|
||||
"mountainbiking",
|
||||
"inspired bicycles",
|
||||
"imaginate",
|
||||
"fahrrad tricks",
|
||||
"fahrradtricks",
|
||||
"fahrrad stunts"
|
||||
],
|
||||
"description": "This is a test file for Pinchflat",
|
||||
"tags": ["test", "development"],
|
||||
"thumbnails": [
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w320-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 88,
|
||||
"width": 320,
|
||||
"preference": -10,
|
||||
@@ -52,7 +18,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.0.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w320-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 180,
|
||||
"width": 320,
|
||||
"preference": -10,
|
||||
@@ -61,7 +27,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.1.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w640-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 175,
|
||||
"width": 640,
|
||||
"preference": -10,
|
||||
@@ -70,7 +36,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.2.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w854-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 480,
|
||||
"width": 854,
|
||||
"preference": -10,
|
||||
@@ -79,7 +45,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.3.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w960-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 263,
|
||||
"width": 960,
|
||||
"preference": -10,
|
||||
@@ -88,7 +54,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.4.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 175,
|
||||
"width": 1060,
|
||||
"preference": -10,
|
||||
@@ -97,7 +63,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.5.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 188,
|
||||
"width": 1138,
|
||||
"preference": -10,
|
||||
@@ -106,7 +72,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.6.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1280-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 351,
|
||||
"width": 1280,
|
||||
"preference": -10,
|
||||
@@ -115,7 +81,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.7.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1280-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 720,
|
||||
"width": 1280,
|
||||
"preference": -10,
|
||||
@@ -124,7 +90,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.8.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1440-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 395,
|
||||
"width": 1440,
|
||||
"preference": -10,
|
||||
@@ -133,7 +99,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.9.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1707-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 283,
|
||||
"width": 1707,
|
||||
"preference": -10,
|
||||
@@ -142,7 +108,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.10.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1920-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 1080,
|
||||
"width": 1920,
|
||||
"preference": -10,
|
||||
@@ -151,7 +117,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.11.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w2120-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 351,
|
||||
"width": 2120,
|
||||
"preference": -10,
|
||||
@@ -160,7 +126,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.12.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w2120-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 1192,
|
||||
"width": 2120,
|
||||
"preference": -10,
|
||||
@@ -169,7 +135,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.13.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w2276-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 377,
|
||||
"width": 2276,
|
||||
"preference": -10,
|
||||
@@ -178,7 +144,7 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.14.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 424,
|
||||
"width": 2560,
|
||||
"preference": -10,
|
||||
@@ -187,13 +153,13 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.15.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=s0",
|
||||
"url": "https://google.ca",
|
||||
"id": "banner_uncropped",
|
||||
"preference": -5,
|
||||
"filepath": "/app/test/support/files/channel_photos/a.banner_uncropped.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/ytc/AIdro_kw1KKWzbFmvq6u8WljTbo6QQ318WoAwnjX3AYrjA=s900-c-k-c0x00ffffff-no-rj",
|
||||
"url": "https://google.ca",
|
||||
"height": 900,
|
||||
"width": 900,
|
||||
"id": "17",
|
||||
@@ -201,24 +167,24 @@
|
||||
"filepath": "/app/test/support/files/channel_photos/a.17.jpg"
|
||||
},
|
||||
{
|
||||
"url": "https://yt3.googleusercontent.com/ytc/AIdro_kw1KKWzbFmvq6u8WljTbo6QQ318WoAwnjX3AYrjA=s0",
|
||||
"url": "https://google.ca",
|
||||
"id": "avatar_uncropped",
|
||||
"preference": 1,
|
||||
"filepath": "/app/test/support/files/channel_photos/a.avatar_uncropped.jpg"
|
||||
}
|
||||
],
|
||||
"uploader_id": "@TheUselessTrials",
|
||||
"uploader_url": "https://www.youtube.com/@TheUselessTrials",
|
||||
"uploader_id": "@PinchflatTestChannel",
|
||||
"uploader_url": "https://www.youtube.com/@PinchflatTestChannel",
|
||||
"modified_date": null,
|
||||
"view_count": null,
|
||||
"playlist_count": 2,
|
||||
"uploader": "TheUselessTrials",
|
||||
"channel_url": "https://www.youtube.com/channel/UCEi9yL4vhQlLafWRsAgAr3w",
|
||||
"uploader": "PinchflatTestChannel",
|
||||
"channel_url": "https://www.youtube.com/channel/UCEABC123",
|
||||
"_type": "playlist",
|
||||
"entries": [],
|
||||
"webpage_url": "https://www.youtube.com/c/TheUselessTrials",
|
||||
"original_url": "https://www.youtube.com/c/TheUselessTrials",
|
||||
"webpage_url_basename": "TheUselessTrials",
|
||||
"webpage_url": "https://www.youtube.com/c/PinchflatTestChannel",
|
||||
"original_url": "https://www.youtube.com/c/PinchflatTestChannel",
|
||||
"webpage_url_basename": "PinchflatTestChannel",
|
||||
"webpage_url_domain": "youtube.com",
|
||||
"extractor": "youtube:tab",
|
||||
"extractor_key": "YoutubeTab",
|
||||
@@ -227,7 +193,6 @@
|
||||
"epoch": 1710800380,
|
||||
"filename": "/app/test/support/files/channel_photos/a.NA",
|
||||
"formats_table": null,
|
||||
"thumbnails_table": "ID Width Height URL\n0 320 88 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w320-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj\n1 320 180 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w320-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj\n2 640 175 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w640-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj\n3 854 480 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w854-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj\n4 960 263 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w960-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj\n5 1060 175 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj\n6 1138 188 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj\n7 1280 351 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1280-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj\n8 1280 720 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1280-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj\n9 1440 395 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1440-fcrop64=1,32b75a57cd48a5a8-k-c0xffffffff-no-nd-rj\n10 1707 283 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1707-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj\n11 1920 1080 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w1920-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj\n12 2120 351 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w2120-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj\n13 2120 1192 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w2120-fcrop64=1,00000000ffffffff-k-c0xffffffff-no-nd-rj\n14 2276 377 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w2276-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj\n15 2560 424 https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj\nbanner_uncropped unknown unknown https://yt3.googleusercontent.com/_yUVmZqHvZZhNOFq2iMUPA82LylawAvYknCrwTE_9_IUQ0htiLPet2FKxE1ArvLAKf0lVsLccQ=s0\n17 900 900 https://yt3.googleusercontent.com/ytc/AIdro_kw1KKWzbFmvq6u8WljTbo6QQ318WoAwnjX3AYrjA=s900-c-k-c0x00ffffff-no-rj\navatar_uncropped unknown unknown https://yt3.googleusercontent.com/ytc/AIdro_kw1KKWzbFmvq6u8WljTbo6QQ318WoAwnjX3AYrjA=s0",
|
||||
"subtitles_table": null,
|
||||
"automatic_captions_table": null,
|
||||
"duration_string": null,
|
||||
|
||||