Jump to content

nicolaasjan

Member
  • Posts

    493
  • Joined

  • Last visited

  • Days Won

    2
  • Donations

    0.00 USD 
  • Country

    Netherlands

nicolaasjan last won the day on July 5 2022

nicolaasjan had the most liked content!

6 Followers

About nicolaasjan

Profile Information

  • OS
    XP Pro x86

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

nicolaasjan's Achievements

550

Reputation

  1. Yes, I saw that. However, their new code snippet used in that commit didn't play well with Python 3.4.4... Maybe I can implement it like: def random_user_agent(): _USER_AGENT_TPL = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36' _CHROME_VERSIONS = ( '132.0.0.0', '133.0.0.0', '134.0.0.0', '135.0.0.0', '136.0.0.0', '137.0.0.0', '138.0.0.0', ) return _USER_AGENT_TPL % random.choice(_CHROME_VERSIONS) 🤔
  2. Hmm... I honestly have no idea. The build hashes for `youtube-dl.exe` in my repo can be seen under Assets. However, in the Nightly repo there are separate SHA2-256SUMS files. Maybe the program looks for these? (wild guess) The executables in my repo aren't built by GitHub Actions, but manually uploaded. I think you shouldn't worry about it to much.
  3. I don't know anything about Python either, but I just uploaded the new `update.py` (with only one line changed) into the GitHub web editor and committed.
  4. @VistaLover That's because of line 37 in `./youtube_dl/update.py`. UPDATE_URL = 'https://yt-dl.org/update/' For some reason it redirects to: https://github.com/yt-dlp/yt-dlp/update/ ---> 404. In version 2025.06.26 (and previous versions) I had it set to: UPDATE_URL = 'https://ytdl-org.github.io/youtube-dl/update/' (also 404, by the way) My version is not supposed to be updated with `-U`. Do you perhaps have any idea how to change `update.py` for my fork to actually make it work with `-U`? [Edit] I think I managed to fix it. Took `update.py` from youtube-dl Nightly as an example. youtube-dl -vU [debug] System config: [] [debug] User config: ['--console-title', '--rm-cache-dir', '-i', '-o', '/dev/shm/test-ytd/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4][vcodec^=avc]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--no-mtime', '--embed-thumbnail', '--force-ipv4'] [debug] Custom config: [] [debug] Command-line args: ['-vU'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2025.07.12 [debug] Lazy loading extractors enabled [debug] Single file build [debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-143-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35 [debug] exe versions: ffmpeg N-120171-g05094c1749-20250705, ffprobe N-120171-g05094c1749-20250705, rtmpdump 2.4 [debug] Proxy map: {} Latest version: 2025.07.12, Current version: 2025.07.12 youtube-dl is up to date (2025.07.12) Removing cache dir /home/nico/.cache/youtube-dl .. I also don't understand why @dirkf still hasn't updated the Installation section in the Readme. It's a complete mess. BTW, I've made a significant change to `./youtube_dl/utils.py`, as I suggested here. Youtube-dl actually works now.
  5. See: https://forum.palemoon.org/viewtopic.php?f=17&t=32478#p263454
  6. It's a convoluted mess... See issue #12482. You may need to provide a PO Token. That said, I didn't yet have this warning (I download 1080p avc1/mp4a videos most of the time). Related?
  7. Can you try: --extractor-args youtube:lang=en ? [Edit] Ignore that. That is for the title, not for the audio. Maybe first get the formats using `yt-dlp -F URL`. Then choose for example this to get this mr. Beast video dubbed in Russian: yt-dlp -f 136+140-1 https://www.youtube.com/watch?v=yhB3BgJyGl8 Or: yt-dlp -f "bv*+ba[language=ru]" https://www.youtube.com/watch?v=yhB3BgJyGl8
  8. Is it: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2768 ?
  9. Same in New Moon. I don't even get this error window; browser just closes... [Edit] Browser also instantly crashes when trying to open the uBlock Origin dashboard. Reverted to previous New Moon (2025-06-17) and no issues.
  10. @K4sum1 Could you try again with the new update? An important issue was fixed. I tried in my Windows 7 VM with the following command: yt-dlp --no-config -f "(bestvideo[height<=720]+bestaudio/best[height<=720])[vcodec!*=av01]" -t mkv "https://youtu.be/bCTObNkRGsg" And it gave me an mkv file with opus audio: Algemeen Unique ID : 57964954628617501393979581759164836982 (0x2B9BA4E945544816E3D80FC0D01CEC76) Volledige naam : C:\Users\Nico\I Built a Toilet Paper Slot Machine and It Actually Works! [bCTObNkRGsg].mkv Formaat : Matroska Formaatversie : Version 4 Bestandsgrootte : 5,04 MiB Duur : 2 min 22s Totale bitrate : 297 kb/s Framerate : 30,000 FPS Gebruikt programma : Lavf62.0.102 Gebruikte encoderbibliotheek : Lavf62.0.102 ErrorDetectionType : Per level 1 Video ID : 1 Formaat : VP9 Formaatprofiel : 0 Codec-ID : V_VP9 Duur : 2 min 22s Breedte : 360 pixels Hoogte : 640 pixels Beeldverhouding : 0,562 Frameratemodus : Constant Framerate : 30,000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Taal : Engels Default : Ja Forced : Nee Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Formaat : Opus Codec-ID : A_OPUS Duur : 2 min 22s Kanaal(en) : 2 kanalen Channel layout : L R Samplerate : 48,0 kHz Bit depth : 32 bits Compression mode : Lossy Video vertraging : 7 ms Taal : Engels Default : Ja Forced : Nee
  11. I've always wondered about this as well. In the past I built Pale Moon on Linux a few times on my old Haswell i5 with 16GB Ram and it took about 20 minutes. PS, Supercomputers don't run Windows.
  12. I've confirmed that version 2025.03.28.070132 still gives the right message: Current version: local@2025.03.28 Latest version: stable@2025.03.31 from yt-dlp/yt-dlp ERROR: Do not update the XP build with -U. Instead download from GitHub Releases again when a new version is available. Version 2025.04.01.080324 doesn't give the error message, but instead upgrades to the official x86 build. I must have forgotten to edit `version.py`. UPDATE_HINT = 'Do not update this build with -U. Instead download from my GitHub Releases again when a new version is available.'
  13. What did I change? I can't remember having done anything to the yt-dlp release.
×
×
  • Create New...