Thanks to a advisable PM, I downloaded Livestreamer and was able to download the first of surya987's code lines worked fine(did the livestreamer "line of code" -p "filename.extension"). The second one kept giving me errors, saying "ad" and "ad.preroll" aren't recognized as an internal or external command, UNTIL I put quotation marks around the code(but after getting another error, put left "best" alone outside of the marks) and it worked.
Thank you, guys! You are all a godsend to this wet-behind-the-ears stream downloading noob!!
Only one question, where did you find the locations of these files? Particularly the second one. I tried the Ctrl+Shift+I thing and scanning through Web Console and couldn't find it anywhere.