sachin-philip / beautifier

Simple library to cleanup and prettify url patterns and emails

Home Page:http://sachin-philip.github.io/beautifier/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I think url cleaning should be update

urwithajit9 opened this issue · comments

I was trying to clean a url , I tried doing below:

from beautifier import Url
url = Url('q=?http://www.gogogle.com/help/')
url.cleanup
'q=?http://www.gogogle.com/help/'
url.domain
'q=?gogogle.com'

What i was expecting is either url starts with http/https/www but not q=?

@urwithajit9 Thanks a lot for the feedback. Currently, this is not available and I have added this as an enhancement, will make it available in as early as possible.