IF you don’t know or have FFmpeg installed here is the post for you, otherwise follow along to learn how to grab videos from news or sports websites.
I like to use Chrome for this as I find their developer tools easier to handle than firefoxes. Navigate to the website or video page and open up the developer console, either by right clicking and clicking “inspect” or pressing ctrl+shift+i
Now click on the network tab, type in “m3u8” and make sure ‘all’ is selected. Now click play on the video and you should see some URL’s pop up.
9 times out of 10 it will be the first URL and/or the one that has “master” in it, right click this and click copy.
Now open up your FFmpeg batch command and past the link as the input (-i) and since mostly these videos are short you’re going to want lossless quality so a batch command like this is ideal:
ffmpeg -i "https://somem3u8linkfromwebsite.master.m3u8" -c:v libx264 -preset slow -crf 22 "saveas.mp4"
Save it and then double click it to download the video!
NOTE: If nothing comes up when filtering m3u8 in the network tab try “mp4” and sometimes the different URL’s will be for different qualities so pay notice to this.
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Using FTP and PHP to get an array of file details such as size and…
Creating and using Laravel form requests to create cleaner code, separation and reusability for your…
Improving the default Laravel login and register views in such a simple manner but making…
Laravel validation for checking if a field value exists in the database. The validation rule…