On Fri, Jun 23, 2017 at 4:18 PM, Jerry Hill <malaclyp...@gmail.com> wrote:
> Try this instead: > > result > > = search_criteria + "/" + outputs > resultUrl = > urljoin(baseUrl, result) > > > That should get you what you're looking for. > > Sorry, I should have tested more carefully. That does NOT actually get what you were looking for, since the urljoin strips off the '/query' part of your base url. I think the other advice that you've received, to bypass urljoin entirely, is probably the right way to go. I think using urljoin properly in this case is more complicated than it's worth. -- Jerry _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor