I am building a program that I want to extract the meta tags from and entire website, how would I be able to access the source code through programming?
So what is the problem? Do a remote include of a file that you need (fopen(), or whatever), and you'll get HTML source if it's an HTML file. Then you'll only need to parse the <head> section and pull out the metas. If I'm not mistaken there is a built-in function in PHP to get meta-tags (check php.net for this). If course, if your application is on PHP.
Thank you NeoCambell for your link and Garkoni thank you for your insight, I'm going to look into the built-in function.
Not sure what language you are looking for, but I made a video tutorial about extracting source code from websites awhile ago. Here it is: How to extract source code from a website