Replies: 3 comments 6 replies
-
Short answer, those shortened URLs can't be unshorten by Pattern Checker, and the Unshorten module, which is responsible of unshorting those URLs is not working at this moment. Long answer:
Currently this module doesn't make any connection to the internet, as such is impossible for the module to get the destination URL of the first type of shortened URLs. I think the problem here comes from a misunderstanding of the fields in the Pattern Checker module. Those are explained in the advanced editor of the module, but what Let me know if you need more help. |
Beta Was this translation helpful? Give feedback.
-
Is that really the case now? If I manually tap the "Unshort" button, it seems to properly unshorten that URL. Is it not actually using the unshorten.me anonymity service and just using something like a WebView to do the redirect from my device? |
Beta Was this translation helpful? Give feedback.
-
Great answer Pablo! Two important distinctions though: Both the Url cleaner module and the Pattern checker module works offline. As explained the url is already there, but encoded, so both modules will extract and decode it. If the url only contains an identifier, you need to ask the server for the final url. You have two alternatives here: The status code module will perform an http GET petition through the network, and will extract any redirection found on the headers. This is similar as using a hidden webview, but there is no webview involved. The page itself is requested, but isn't even read (which means that redirections based on JavaScript won't work). The other alternative is the Unshortener module, which as Pablo explained does a similar thing but using an external service. The module send a petition to the unshorten.me api to "unshort" the url, and expects a response. The unshorter.me servers will fetch the page, so this is both more secure (your device will not contact the url directly) and less secure (you depend and must trust the third party api). And yes, this module was broken a few months ago because the free api was shut down. |
Beta Was this translation helpful? Give feedback.
-
I want to always unshorten certain shortened URLs. Am I doing this correctly? It doesn't seem to do it for me in the Pattern Checker, although I do see that it apparently parsed the regex correctly. For example:
URL: https://flip.it/LsPW_X
Beta Was this translation helpful? Give feedback.
All reactions