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
By default the library will not make any HTTP request if the url provided does not match any of the modules url patterns. To override this you may pass force=True to the unshorten method.
fake-name
changed the title
Documentation is wrong.
Behaviour of UnshortenIt() object and the unshorten() call in the documentation is wrong
May 11, 2018
The documentation currently states:
However, looking at https://github.com/jkehler/unshortenit/blob/master/unshortenit/unshortenit.py#L70, it appears every URI passed to the library will results in a HTTP request, presumably to resolve 30x redirects.
Additionally, the
force
argument seems to be ignored.I assume this was for the ability to make 30x resolution optional (which I PR-ed a while ago)?
The text was updated successfully, but these errors were encountered: