Rules icon indicating copy to clipboard operation
Rules copied to clipboard

Extract correct link from Tapatalk

Open f1vefour opened this issue 11 months ago • 0 comments

When you share a link though Tapatalk it provides a long URL which redirects to a webpage which says open in Tapatalk or download it which is nonsense.

Here is the JSON to add to the URL Cleaner module.

    "Tapatalk": {
      "urlPattern": "^https?://r\\.tapatalk\\.com/shareLink/topic",
      "completeProvider": false,
      "redirections": [
        "^https?://r\\.tapatalk\\.com/shareLink/topic\\?url=([^&]+)"
      ],
      "forceRedirection": true
    }
  }
}

Examples:

https://r.tapatalk.com/shareLink/topic?url=https://forum.armbian.com/topic/52132-error-when-setting-root-password/&share_tid=52132&share_fid=1017055&share_type=t&link_source=app

Or even worse:

https://r.tapatalk.com/shareLink/topic?url=https%3A%2F%2Fforum%2Eodroid%2Ecom%2Fviewtopic%2Ephp%3Ft%3D49521&share_tid=49521&share_fid=63351&share_type=t&link_source=app

Becomes:

https://forum.armbian.com/topic/52132-error-when-setting-root-password/

And:

https://forum.odroid.com/viewtopic.php?t=49521

f1vefour avatar May 27 '25 12:05 f1vefour