Open sapkra opened 3 years ago
It would be great if the plugin could accept more sources. The best solution would be to have a UI or place in the strapi project to configure new parsers.
https://api.datawrapper.de/v3/oembed?format=json&url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FWpAbK%2F2%2F
Base URL Input: https://api.datawrapper.de/v3/oembed?format=json&url= Matching Domains: datawrapper.dwcdn.net
https://api.datawrapper.de/v3/oembed?format=json&url=
datawrapper.dwcdn.net
You could match them by
new URL('https://datawrapper.dwcdn.net/WpAbK/2/').hostname
maybe with the help of this package? https://github.com/extractus/oembed-extractor
It would be great if the plugin could accept more sources. The best solution would be to have a UI or place in the strapi project to configure new parsers.
Example
Base URL Input:
https://api.datawrapper.de/v3/oembed?format=json&url=
Matching Domains:datawrapper.dwcdn.net
You could match them by