Trending fix
This commit is contained in:
parent
d9165d693f
commit
c04122d11f
|
@ -11,8 +11,8 @@ class TrendingController {
|
||||||
static public function get() {
|
static public function get() {
|
||||||
$api = Wrappers::api();
|
$api = Wrappers::api();
|
||||||
|
|
||||||
// Ttwid if normal, cursor if legacy
|
// Ttwid if standard, cursor if legacy
|
||||||
if ($api::class === 'TikScraper\Api') {
|
if ($api::MODE === 'STANDARD') {
|
||||||
$cursor = Misc::getTtwid();
|
$cursor = Misc::getTtwid();
|
||||||
} else {
|
} else {
|
||||||
$cursor = Misc::getCursor();
|
$cursor = Misc::getCursor();
|
||||||
|
|
12
composer.lock
generated
12
composer.lock
generated
|
@ -205,16 +205,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pablouser1/tikscraper",
|
"name": "pablouser1/tikscraper",
|
||||||
"version": "v1.3.3.4",
|
"version": "v1.3.4.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/pablouser1/TikScraperPHP.git",
|
"url": "https://github.com/pablouser1/TikScraperPHP.git",
|
||||||
"reference": "4a02057c7222fadf6cf80616b0f81736871265cd"
|
"reference": "566e76c1aabf2225a15e5fc0f50f7af0674309fe"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/4a02057c7222fadf6cf80616b0f81736871265cd",
|
"url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/566e76c1aabf2225a15e5fc0f50f7af0674309fe",
|
||||||
"reference": "4a02057c7222fadf6cf80616b0f81736871265cd",
|
"reference": "566e76c1aabf2225a15e5fc0f50f7af0674309fe",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -240,9 +240,9 @@
|
||||||
"description": "Get data from TikTok API",
|
"description": "Get data from TikTok API",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/pablouser1/TikScraperPHP/issues",
|
"issues": "https://github.com/pablouser1/TikScraperPHP/issues",
|
||||||
"source": "https://github.com/pablouser1/TikScraperPHP/tree/v1.3.3.4"
|
"source": "https://github.com/pablouser1/TikScraperPHP/tree/v1.3.4.0"
|
||||||
},
|
},
|
||||||
"time": "2022-04-17T20:47:10+00:00"
|
"time": "2022-04-17T21:14:31+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "php-webdriver/webdriver",
|
"name": "php-webdriver/webdriver",
|
||||||
|
|
Loading…
Reference in a new issue