corbindavenport / link-cleaner

Progressive Web App for removing tracking code and other variables from web links
https://linkcleaner.app
GNU General Public License v3.0
128 stars 13 forks source link

Fix shares from Android that include "Page Title" before URL #8

Closed jdries3 closed 2 years ago

jdries3 commented 2 years ago

Some shared Links from Android come with a quoted target URL title like "Page Title" URL. URL() will fail to recognize this and raise a TypeError. If TypeError is raised, try to strip quoted text and try again to get a valid URL.

corbindavenport commented 2 years ago

Thanks!