Pull out url checking logic
Pull out url checking logic

Also simplifies the thumbnail regexes a bit

tadhg-ohiggins/regulations-parser,cmc333333/regulations-parser,eregs/regulations-parser,cmc333333/regulations-parser,eregs/regulations-parser,tadhg-ohiggins/regulations-parser