Rafostar / gtuber

C library to fetch media info from websites
https://rafostar.github.io/gtuber/
GNU Lesser General Public License v2.1
9 stars 3 forks source link

Add website "reconfigure" flow #40

Closed Rafostar closed 1 year ago

Rafostar commented 1 year ago

Sometimes we scrape a site and it turns out video is embedded from a different website, thus different plugin might be able to handle it already. We should have a flow return status that indicates that. Expected behavior would be:

  1. plugin replaces website URI
  2. we get "reconfigure" flow status
  3. we try finding plugin again for the new URI

An example of plugin that could benefit from this is reddit. Sometimes youtube videos are posted there, in which case we currently give up, but once URI is extracted, we could handle them with youtube plugin instead.