Compare commits

...

3 Commits

Author SHA1 Message Date
Pablo Ferreiro 0224cd25eb Added url_tag 2022-11-27 00:05:11 +01:00
Pablo Ferreiro 215f984fe4 Properly implemented OG 2022-11-26 23:51:45 +01:00
Pablo Ferreiro ee6e8b0593 Revert "Added better og support"
This reverts commit fa3f1e0a7c.
2022-11-26 23:36:20 +01:00
4 changed files with 14 additions and 11 deletions
+3
View File
@@ -76,6 +76,9 @@ class Wrappers {
$latte->addFunction('url_user', function (string $username): string {
return UrlBuilder::user($username);
});
$latte->addFunction('url_tag', function (string $tag): string {
return UrlBuilder::tag($tag);
});
$latte->addFunction('url_video_internal', function (string $username, string $id): string {
return UrlBuilder::video_internal($username, $id);
});
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "pablouser1/proxitok",
"description": "An alternative frontend for TikTok",
"version": "2.4.3.4",
"version": "2.4.3.6",
"license": "AGPL-3.0-or-later",
"type": "project",
"authors": [
Generated
+7 -7
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "5ed78859acc6f451f60b75dca1887104",
"content-hash": "70740f443fa52ad70a8ceb507c30e801",
"packages": [
{
"name": "bramus/router",
@@ -263,16 +263,16 @@
},
{
"name": "pablouser1/tikscraper",
"version": "v2.3.3.0",
"version": "v2.3.3.1",
"source": {
"type": "git",
"url": "https://github.com/pablouser1/TikScraperPHP.git",
"reference": "2da42296d97138acb75df5a3b70e7fd0a24ec270"
"reference": "b62fad1c00a4d62eda3e86811d35f7241cac097e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/2da42296d97138acb75df5a3b70e7fd0a24ec270",
"reference": "2da42296d97138acb75df5a3b70e7fd0a24ec270",
"url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/b62fad1c00a4d62eda3e86811d35f7241cac097e",
"reference": "b62fad1c00a4d62eda3e86811d35f7241cac097e",
"shasum": ""
},
"require": {
@@ -305,9 +305,9 @@
"description": "Get data from TikTok API",
"support": {
"issues": "https://github.com/pablouser1/TikScraperPHP/issues",
"source": "https://github.com/pablouser1/TikScraperPHP/tree/v2.3.3.0"
"source": "https://github.com/pablouser1/TikScraperPHP/tree/v2.3.3.1"
},
"time": "2022-11-26T22:27:16+00:00"
"time": "2022-11-26T22:50:46+00:00"
},
{
"name": "php-webdriver/webdriver",
+3 -3
View File
@@ -1,9 +1,9 @@
{layout '../layouts/default.latte'}
{block header}
<p class="title">{$data->info->detail->title}</p>
<p class="subtitle">{$data->info->detail->desc}</p>
<p>Videos: {number($data->info->stats->videoCount)}</p>
<p class="title">{$info->detail->title}</p>
<p class="subtitle">{$info->detail->desc}</p>
<p>Videos: {number($info->stats->videoCount)}</p>
{/block}
{block content}