Open
Conversation
- Updated Visual C++ 2010 link, as the old link led to a site that said "We're sorry, this download is no longer available." The new link leads to the newest version of Visual C++ 2010. - Updated program example, as the old one has been removed and the new example will seemingly stay on NRK TV forever, just like the other two examples. - Clarified FFmpeg's role within yt-dlp - Fixed some typos.
The script first checks if what you have input is a series, and if it is, it proceeds without any complaints. But if what you have input is a program, then you are met with something like this: Invoke-RestMethod: C:\Users\Admin\Downloads\nrk-dl\nrk-dl.ps1:214 Line | 214 | … eries_req = Invoke-RestMethod -Uri "https://psapi.nrk.no/tv/catalog/s … | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | "AAAA00000000 is not an identifier for a series, but an identifier for a program." It will still download, but seeing as this might be confusing to new users, I have added try-catch blocks to handle this silently.
The script will now always pull the newest FFmpeg build from gyan.dev, download and extract the .zip, pull the ffmpeg.bin from the extracted folder and delete the remnants, leaving only ffmpeg.exe. It does not automatically check for new releases, so if you want the newest version from gyan.dev, then you must delete the ffmpeg.bin and run the script again.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Made a new branch, this is just an updated pull request of this with the latest commit added:
#13
Old commits:
Updated Visual C++ 2010 link, as the old link led to a site that said "We're sorry, this download is no longer available." The new link leads to the newest version of Visual C++ 2010.
New commit: