Rewrote YouTube lookup handling.

This commit is contained in:
flash 2022-07-16 20:45:56 +00:00
parent 4ad19c6363
commit 960a791394
4 changed files with 230 additions and 53 deletions
public

View file

@ -11,6 +11,7 @@ if(UIH_DEBUG)
$ctx->registerLookup(new \Uiharu\Lookup\EEPROMLookup('devrom', 'eeprom.edgii.net', ['i.edgii.net']));
$ctx->registerLookup(new \Uiharu\Lookup\TwitterLookup);
$ctx->registerLookup(new \Uiharu\Lookup\YouTubeLookup);
$ctx->setupHttp();