j-andrews7 / kenpompy

A simple yet comprehensive web scraper for kenpom.com.
https://kenpompy.readthedocs.io/en/latest/?badge=latest
GNU General Public License v3.0
70 stars 21 forks source link

Refactor building URLs with urllib.parse.urlencode #72

Closed Wolfmyths closed 9 months ago

Wolfmyths commented 10 months ago

For issue #70

Refactored all lines of code that involves creating URLS by including urllib.parse for cleaner code

Made slight adjustments to the edited code for the sake of consistency (Like removing parenthesis in if statement conditions, and fixing indentation)

esqew commented 10 months ago

Thanks so much for the PR! I've given this a once-over just now and all looks OK. However I'm going to look at it again tomorrow with fresher eyes and outside the diff view before running the unit tests.

esqew commented 10 months ago

Hi again @Wolfmyths - sorry to not have gotten to my review as I had promised (I have my day job to thank for that).

I've recently merged two other branches to master - do you mind taking a minute to resolve the merge conflicts and ping back once you've done so?

Wolfmyths commented 10 months ago

Yup! Updated my fork to the master branch @esqew

j-andrews7 commented 9 months ago

This broke tests. Potentially because I slammed 5 PRs in without checking anything. Regardless, want to get a release out to fix outstanding issues, and since this isn't critical, we'll get it added at a later date.