Hey guys, first post
I've been taking online courses online for security+ and some other subjects, it's pretty much just video tutorials, I looked at the source code and the links to the videos aren't hidden so I can pull them down and save them, but there's loads of videos. I'm trying to run grep to pull the links from the source code but not having much luck.
cat source.php | grep *.mp4 > links.txt
Thats the command I tried but no luck, not sure if the command is wrong or if it's because the links aren't on their own line. Any help would be much appreciated :)
I've been taking online courses online for security+ and some other subjects, it's pretty much just video tutorials, I looked at the source code and the links to the videos aren't hidden so I can pull them down and save them, but there's loads of videos. I'm trying to run grep to pull the links from the source code but not having much luck.
cat source.php | grep *.mp4 > links.txt
Thats the command I tried but no luck, not sure if the command is wrong or if it's because the links aren't on their own line. Any help would be much appreciated :)



