Time to pirate YT content and upload to usenet to be automatically downloaded using sonarr
Comment on Youtube has fully blocked Invidious
flop_leash_973@lemmy.world 2 months ago
Youtube will not change until people stop using it, And people do not want to put up with the inconvenience of not having a Youtube type service again for the amount of time it would take for Youtube to change or a viable competitor to take their place, it really is that simple.
Is youtube and Google terrible? For sure, but it only got this way because the only backstop to holding them accountable, the consumer, has proven that they will choose putting up with shitty products and services in the name of convenience 9 times out of 10.
Petter1@lemm.ee 1 month ago
Gutless2615@ttrpg.network 1 month ago
Yes but literally throwing together a script to download the days subscription videos to a jellyfin media drive would be stupidly simple.
Petter1@lemm.ee 1 month ago
Sure, but not as convenient 🤷🏻
speeding_slug@feddit.nl 1 month ago
It already exists, even as a Docker. Not as simple as an *arr style interface, but it works great.
(ytdl-sub)[github.com/jmbannon/ytdl-sub]
Gutless2615@ttrpg.network 1 month ago
Well you know what they say “Great minds think quicker than mine and probably have already had that thought.”
irreticent@lemmy.world 1 month ago
“Stupidly simple” might be overselling it when it comes to the masses adopting it. Not everyone is adept at “throwing together a script.”
That being said, I’m all for helping the masses adapt.
Gutless2615@ttrpg.network 1 month ago
“Give me a Python script using yt-dlp that I can run on a cronjob that will download the videos from any of my subscribed channels since the last time the script was run”
You can use the following Python script to download videos from your subscribed channels since the last run. This script uses
yt-dlp
and stores the last download timestamp to track new videos.First, ensure you have
yt-dlp
installed:pip install yt-dlp
Then, create a script called
download_videos.py
:import os import json import subprocess from datetime import datetime # Configuration last_run_file = 'last_run.json' download_directory = 'downloads' # Ensure the download directory exists os.makedirs(download_directory, exist_ok=True) # Load the last run time if os.path.exists(last_run_file): with open(last_run_file, 'r') as f: last_run = json.load(f)['last_run'] else: last_run = datetime.now().isoformat() # Update the last run time to now current_run = datetime.now().isoformat() # Command to get videos from subscribed channels since the last run command = [ 'yt-dlp', '--download-archive', 'archive.txt', '--output', f'{download_directory}/%(title)s.%(ext)s', '--date-after', last_run, '--no-post-overwrites', '--merge-output-format', 'mp4', 'https://www.youtube.com/channel/CHANNEL_ID', # Replace with your channel URL ] # Run the command subprocess.run(command) # Save the current run time with open(last_run_file, 'w') as f: json.dump({'last_run': current_run}, f) print("Download complete. Next run will check for videos since:", current_run)
Setting Up the Cron Job
-
Make the script executable:
chmod +x download_videos.py
-
Open your crontab:
crontab -e
-
Add a line to run the script at your desired interval (e.g., daily at 2 AM):
0 2 * * * /path/to/python /path/to/download_videos.py
Notes
- Replace
CHANNEL_ID
in the script with your actual channel IDs or use a playlist URL if preferred. - The
archive.txt
file keeps track of already downloaded videos to avoid duplicates. - Adjust the paths to Python and your script as needed.
-
PM_Your_Nudes_Please@lemmy.world 1 month ago
Honestly, it would probably be easier to just build a *arr program specifically for downloading YouTube videos directly. Tie it into the rest of the *arr suite, with naming conventions for Plex/Jellyfin.
Petter1@lemm.ee 1 month ago
I would install that, but I fear scraping youtube will be a arms race, soon, similar to other streaming services
ironsoap@lemmy.one 1 month ago
While I agree, I have a hard time seeing how people will stop using it until the field changes. Maybe in 10 years it will the the MySpace of the sitcom era, but right now it’s still growing. That growth is giving it carte blanche to manipulate the users as it sees fit. Regulation might impact it, but it’s still a bit of a Goliath.
- Compared to 2023, YouTube’s user base has grown by 20 million this year, representing a 0.74% increase. From Global media insights
Also the active user base is 2.7 billion people in 2024 from the same source above.
The alternatives are out there, but just not in the same league.
helenslunch@feddit.nl 1 month ago
Regulation might impact it
I’m having a hard time seeing any bill get passed that supports the rights of users to watch videos without the ads that support the creators and the platform that they’re watching.
ironsoap@lemmy.one 1 month ago
I don’t think this requires an act of congress. I think you might see more consumer advocation on the part of FTC (although it doesn’t currently regulate online broadcast), or potentially the CFPB.
Admittedly it’s more likely to see the EU do some regulations, but it all depends on the election.
Petter1@lemm.ee 1 month ago
I think it needs regulation, the whole streaming industry needs to be regulated! It can’t be that the competition is made using exclusive content and you have to live with privacy infringement tech to consume cultural art legally.
In my opinion, in a capitalist system, the market competition should be about delivering the content the best way, not about what content they deliver.
Right now, they can made the delivery as shitty as they want, because what takes them apart from competition is the exclusive content, not the tech.
KillingTimeItself@lemmy.dbzer0.com 1 month ago
regulations for ad quality, and privacy, are almost certainly what they mean by that.
TheEighthDoctor@lemmy.world 1 month ago
I’m having a hard time seeing any bill get passed that supports the rights of users to watch videos without the ads that support the creators and the platform that they’re watching.
We should reach a compromise of having skippable ads in the beginning only, for example. In other pages it could be that ads cannot be bigger than 10% of the content being delivered on the page. It’s not always all or nothing, good regulation listens to both sides and reaches a compromise in the middle, but good regulation is getting harder and harder to come by.
AbsoluteChicagoDog@lemm.ee 1 month ago
I see we’re pretending the government doesn’t have regulatory power today
UniversalMonk@lemmy.world 1 month ago
Yep, I remember when Netlfix first put it out there that they would start with the ads, and everyone on reddit was like, “Canceling my Netflix right now!!”
Netflix is doing just fine without the 5 redditors who actually did cancel it. lmao
A_Random_Idiot@lemmy.world 1 month ago
the problem is so many people are willing to say they’ll take a stand.
but when the time comes, the mindnumbingly overwhelming majority suck it up, because they must have their precious shiny and can not suffer even the mildest of inconvenience.
Its my biggest gripe in gaming, but its a enormous gripe just in general, with everything. because it doesnt matter if you are talking about appliances, creative software, video games, streaming services, stores, etc.
D_Air1@lemmy.ml 1 month ago
To summarize what I was telling another person. The number of people who care are far outnumbered by the number of people who don’t. It doesn’t matter if you or I or all 10,000 (just a random number for the sake of argument) of the people subscribed to a sub like this were to cancel when r/justworks or r/normie (made up subreddits for the sake of argument) has 100,000,000 who don’t give a damn about computers, privacy, or anything else beyond the service working or not.
setsneedtofeed@lemmy.world 1 month ago
I agree. Tech communities have a habit of drastically over estimating how much everyone else cares about the details of tech.
Even something as simple as PC gaming scares off a lot of people because of the perception that you need to be some kind of tech wizard in order to cobble everything together to make a game run. Actual cobbling together of software to pirate (no matter how simple it seems to people in the know) is just a bunch of technobabble.
KillingTimeItself@lemmy.dbzer0.com 1 month ago
this is the primary reason i advocate for more piracy, and even legal protections for piracy, in some capacity.
It’s one of the few spaces i consider to be a “truly free market” when it comes to economics.
A_Random_Idiot@lemmy.world 1 month ago
I’m more and more inclined towards the idea of piracy myself.
I don’t actively do it actively since I dont really know where to begin, and things I have found have been to sketch for me, or requiring memberships or even payments to join.
Petter1@lemm.ee 1 month ago
🏴☠️ 🏴☠️🏴☠️
D_Air1@lemmy.ml 1 month ago
I know you weren’t using the number 5 as a hard example, but a thing that people still don’t seem to realize is that the people in threads like this are the people that actually care. Even if the few thousand redditors who subscribe to a subreddit where they discussed that topic were to all (and I mean 100% of them) cancel there subscriptions. That is still only a drop in the bucket for Netflix. Losing a few thousand subscribers is still nothing if they made more money with the addition of ads.
setsneedtofeed@lemmy.world 1 month ago
It is interesting to me that the chorus always talking about “switching” to piracy after every incident is also intimately familiar with piracy already. Almost as if it’s just people who already pirate talking to each other about how hard they are going to pirate. Meanwhile general audiences don’t care.
KillingTimeItself@lemmy.dbzer0.com 1 month ago
this isn’t quite true, we have seen an uptick in piracy over the last few years from the streaming service hyper diversion thats been happening for some time now.
It’s probably not a lot of people, but it is still happening.
glitchdx@lemmy.world 1 month ago
these are also the people who would pay more for quality service if it was available.
dan@upvote.au 1 month ago
It’s the same with increasing the price of a service. Usually, the extra revenue from the price increase is far greater than the revenue loss from people that unsubscribe.
pooperNickel@lemm.ee 1 month ago
“Socialist Chaos Trow” lol