Open JNRowe opened 10 years ago
Should be handled by parsing the link headers, and following the data they provide.
Seem to be able to get reasonably robust first-effort results from:
r, c = req_get(page) m = re.findall('<(?P<url>.*?)>; rel="(?P<rel>.*?)"', r['Link'])
Clearly, a proper solution should be saner than that. If/when hubugs comes off the back burner...
hubugs
See 0a983aad2e20ca4effec744b46fb80734686ee0c. Thanks Matt, but even your commit message admits it needs to be better.
Should be handled by parsing the link headers, and following the data they provide.
Seem to be able to get reasonably robust first-effort results from:
Clearly, a proper solution should be saner than that. If/when
hubugs
comes off the back burner...