Showing posts with label piracy. Show all posts
Showing posts with label piracy. Show all posts

Saturday, June 22, 2024

How You Can Watch YouTube Videos without Ads


Never watch an annoying ad again!

You get your results, now hover on the link to one of the videos you're thinking of watching, and copy  the link. Paste that :

https://www.youtube.com/watch?v=9h3lByx59ns

Now, hack that to be 

https://www.youtube.com/embed/9h3lByx59ns

That's it! "watch?v=" becomes "/"

No more torture! Wait! When I try this, I see "Error 153". Aha - good old ad network got you :) Easy - just open up a new window using CTRL-SHIFT-N - for incognito and try the paste again (yes, you should have a shortcut that takes xyz/watch to xyz/embed :) and... See? :)

How about this for a cool one - did you want to listen to a YouTube video and not have to waste power on the screen? Now you can :

You go to Safari and put in youtube.com. Good. Now, the site comes up and, you then tap on the AA on the left of the address bar. That brings up a menu on which you can select "Request Desktop Website". That's it! You're now in business. Yes, it's harder to read stuff because it's your tiny screen and you've "asked for it," but, now, once you start playing the video and it pauses after you lock the screen. You just swipe and tap play to get it rolling again! Nice?

Help, I just want to download the audio for a YouTube video. No problem, mate, this script got your back:


#!/usr/bin/env python3
"""
Download the audio track of a YouTube video.

Usage:
    python3 script.py  

The  may include (or omit) an extension.
If no extension is given, “.mp3” is added automatically.
Example:
    python3 script.py https://youtu.be/dQw4w9WgXcQ rickroll
    → creates rickroll.mp3
"""

import sys
from pathlib import Path
from yt_dlp import YoutubeDL


def main() -> None:
    if len(sys.argv) != 3:
        sys.exit("Usage: python3 script.py  ")

    url = sys.argv[1]
    target = Path(sys.argv[2])

    # Ensure filename has an extension
    if target.suffix == "":
        target = target.with_suffix(".mp3")   # default extension

    # yt-dlp options: best audio, save exactly to the requested path,
    # and convert/encode to MP3 (needs FFmpeg in PATH)
    ydl_opts = {
        "format": "bestaudio/best",
        "outtmpl": str(target),          # absolute path allowed too
        "postprocessors": [
            {
                "key": "FFmpegExtractAudio",
                "preferredcodec": target.suffix.lstrip("."),
                "preferredquality": "192",
            }
        ],
        # supress noisy progress printing if you like:
        # "quiet": True,
        # "no_warnings": True,
    }

    with YoutubeDL(ydl_opts) as ydl:
        ydl.download([url])

    print(f"✅ Saved as {target}")


if __name__ == "__main__":
    main()

Saturday, August 12, 2023

One Way You Can Build Up a YouTube Following - Pirating Copyrighted Content

https://www.youtube.com/watch?v=ACh9BkIs5Nk&list=PLez3PPtnpncSZlFWQje0LDyY1LiJMrqmJ

Keep it up Jody Bain 😊 Me encanta.



Here's another treasure trove :)


Eric F Data Analytics - Business Intelligence Cincinnati, OH 45243 - exxx@gmail.com - 513-

Experienced Architect and Full Stack BI Professional with background in delivering complete enterprise reporting and data analytics solutions. Direct hands-on design, architecture, and application development experience. 

How does he do it? By feeding a trove of pirated books into a Andrew Ng's LLM of course. Just kidding chums. But, thanks.. Saved me some time :)



Friday, April 07, 2017

Gems from Ashlee Vance

Musk has taken industries like aerospace and automotive that America seemed to have given up on and recast them as something new and fantastic. At the heart of this transformation are Musk's skills as a software maker and his ability to apply them to machines. He's merged atoms and bits in ways that few people thought possible, and the results have been spectacular.

Okay, I thought that was good, until I read :

(oh, thanks to Omkar Pawaskar, you can read for free without Vance getting richer :) :

While Musk had exceled as a self-taught coder, his skills weren’tnearly as polished as those of the new hires. They took one look atZip2’s code and began rewriting the vast majority of the software.Musk bristled at some of their changes, but the computer scientistsneeded just a fraction of the lines of code that Musk used to get their jobs done. They had a knack for dividing software projects intochunks that could be altered and refined whereas Musk fell into theclassic self-taught coder trap of writing what developers callhairballs—big, monolithic hunks of code that could go berserk formysterious reasons.