Skip to content

Extract correct link from Tapatalk #171

@f1vefour

Description

@f1vefour

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions