subugoe / hoad

Deprecated: Please check https://github.com/subugoe/hoaddash
https://github.com/subugoe/hoaddash
GNU Affero General Public License v3.0
15 stars 4 forks source link

store license pattern urls as proper URL objects #217

Open maxheld83 opened 4 years ago

maxheld83 commented 4 years ago

currently, license_patterns are just plain character strings.

For testing (as in #215), but also for checking existing URLs, it might be better to parse and store these as "proper" URLs objects, probably using the parser in httr.

For example, we currently sometimes store the protocol as https and sometimes as http, though this doesn't actually store any useful information.