You're viewing a comment by rahul kumar and its responses.
You're viewing a comment by rahul kumar and its responses.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
I am being sponsored by A-Writer! If you ever need help with essay writing, look no further than A-Writer! They will help you with your writing in as quickly as 3 hours!
I love to read science books. They make my day and I get ideas for awesome blog posts, such as Busy Beaver, On Functors, Recursive Regular Expressions and many others.
Take a look at my
Amazon wish list, if you're curious about what I have planned reading next, and want to surprise me. :)
If you are interested in advertising on catonmat.net, contact me.
Free tools for coding on Vietstarsoft.com.
Programming homework help.


Dear Peter,
I've been using this a lot but it has not been able to get the title since the source now has a newline after < title >.
I've made a small change to my file to get it to work with title.
else if (match($0, /VIDEO_TITLE': '([^']+)'/, matches)) { ## lets try to get the title of the video from html tag which is ## less likely a subject to future html design changes INFO["title"] = matches[1] printf " ----> GOT title: %s\n\n", INFO["title"] }Before this i tried catching the text between the h1 tags but it seems it never gets those lines.
Now its working fine. Perhaps, you could look into this and make a fresh version.
Thanks a lot. rahul.
Reply To This Comment