parse url using beautiful soup