move all of the url building logic into the convert_url funcion
Closed this issue · 2 comments
double-dose-larry commented
There's no reason for all these url strings to be built all over the place.
The logic is quite simple:
in goes:
- web page url
- name of the div that contains the table you want
- possibly an dictionary that will be translated to a url query
out comes: - a fully quoted embed url.
double-dose-larry commented
fuck it bro. let's just go all out and make this a fully generalized "parse all sports-reference.com sites" library, not just for bref
double-dose-larry commented
done