Improved the code using html parsers

added the html parser for parsing tags. can read magnets from any site
now unlike before where the regex used was causing problems