You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, that's a bit tough to explain. Essentially, my program is a web scraper. You give it an URL as input, and it scrapes that website. You can use the #fragment to narrow down what you want it to scrape. For example, if the URL is example.com#Hello World it looks for a <h1>Hello World</h1> and only scrapes that section. So I need the text "Hello World", and not "Hello%20World".
To put it more generally: furl is designed to output URLs. You put (unescaped) text in, and you get a valid (escaped) URL as output. But you can't do the opposite, i.e. take an URL as input and parse/destructure it into (unescaped) information.
Activity
gruns commentedon Aug 4, 2022
lets zoom out a bit so i understand the exact problem youre trying to solve! that way we can best solve it with furl :)
to start, what are you using these unescaped strings for?
Aran-Fey commentedon Aug 5, 2022
Hmm, that's a bit tough to explain. Essentially, my program is a web scraper. You give it an URL as input, and it scrapes that website. You can use the #fragment to narrow down what you want it to scrape. For example, if the URL is
example.com#Hello Worldit looks for a<h1>Hello World</h1>and only scrapes that section. So I need the text "Hello World", and not "Hello%20World".To put it more generally: furl is designed to output URLs. You put (unescaped) text in, and you get a valid (escaped) URL as output. But you can't do the opposite, i.e. take an URL as input and parse/destructure it into (unescaped) information.