Rewrote web lookup handler + various fixes.

This commit is contained in:
flash 2022-07-16 23:19:25 +00:00
parent 960a791394
commit d90927469f
11 changed files with 1068 additions and 266 deletions
public

View file

@ -13,6 +13,9 @@ if(UIH_DEBUG)
$ctx->registerLookup(new \Uiharu\Lookup\TwitterLookup);
$ctx->registerLookup(new \Uiharu\Lookup\YouTubeLookup);
// this should always come AFTER other lookups involved http(s)
$ctx->registerLookup(new \Uiharu\Lookup\WebLookup);
$ctx->setupHttp();
$ctx->registerApi(new \Uiharu\Apis\v1_0($ctx));