Urls seperated from string

Urls are now properly separated from the string and stored in an array
of strings. alter the code to do titles next.