{"id":19538298,"url":"https://github.com/pablouser1/tikscraperphp","last_synced_at":"2025-05-07T16:09:50.166Z","repository":{"id":39637944,"uuid":"458782882","full_name":"pablouser1/TikScraperPHP","owner":"pablouser1","description":"Wrapper for TikTok API","archived":false,"fork":false,"pushed_at":"2024-08-28T12:31:12.000Z","size":387,"stargazers_count":68,"open_issues_count":9,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T16:09:41.973Z","etag":null,"topics":["crawler","php","scraper","scraping","tiktok","tiktok-api","wrapper"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/pablouser1/tikscraper","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pablouser1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-13T10:59:34.000Z","updated_at":"2025-01-30T15:26:32.000Z","dependencies_parsed_at":"2024-06-21T04:11:06.252Z","dependency_job_id":null,"html_url":"https://github.com/pablouser1/TikScraperPHP","commit_stats":{"total_commits":96,"total_committers":4,"mean_commits":24.0,"dds":0.04166666666666663,"last_synced_commit":"23eff4120eecfb01ed27e049dc36ed14a967cef8"},"previous_names":[],"tags_count":88,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablouser1%2FTikScraperPHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablouser1%2FTikScraperPHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablouser1%2FTikScraperPHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablouser1%2FTikScraperPHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablouser1","download_url":"https://codeload.github.com/pablouser1/TikScraperPHP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252912996,"owners_count":21824066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crawler","php","scraper","scraping","tiktok","tiktok-api","wrapper"],"created_at":"2024-11-11T02:33:41.272Z","updated_at":"2025-05-07T16:09:50.128Z","avatar_url":"https://github.com/pablouser1.png","language":"JavaScript","readme":"# TikWrapperPHP\nA Wrapper for the TikTok API made with PHP \u003e= 8.1\n\n## How to Use\n```php\n$api = new \\TikScraper\\Api([\n    'debug' =\u003e false, // Debug mode\n    'browser' =\u003e [\n        'url' =\u003e 'http://localhost:4444', // Url to your chromedriver instance\n        'close_when_done' =\u003e false, // Close chrome instance when request finishes\n    ],\n    'verify_fp' =\u003e 'verify_...', // Cookie used for skipping captcha requests\n    'device_id' =\u003e '596845...' // Custom device id\n    'user_agent' =\u003e 'YOUR_CUSTOM_USER_AGENT_HERE',\n    'proxy' =\u003e 'http://user:password@hostname:port'\n], $cacheEngine);\n\n$tag = $api-\u003ehashtag('funny');\n$tag-\u003efeed();\n\nif ($hastag-\u003eok()) {\n    echo $hashtag-\u003egetFull()-\u003etoJson(true);\n} else {\n    print_r($hashtag-\u003eerror());\n}\n```\n\n## Documentation\nAn initial version of the documentation is available [here](https://pablouser1.github.io/TikScraperPHP/)\n\n## Caching\nTikScrapperPHP supports caching requests, to use it you need to implement [ICache.php](https://github.com/pablouser1/TikScraperPHP/blob/master/src/Interfaces/ICache.php)\n\n## TODO\n* Search\n* Comments\n### Left to implement from legacy\n* For the love of god, actually document everything properly this time\n\n## Credits\n* @Sharqo78: Working TikTok downloader without watermark\n\nHUGE thanks to the following projects, this wouldn't be possible without their help\n\n* [puppeteer-extra-plugin-stealth](https://github.com/berstend/puppeteer-extra/blob/master/packages/puppeteer-extra-plugin-stealth), ported library to PHP\n* [TikTok-API-PHP](https://github.com/ssovit/TikTok-API-PHP)\n* [TikTok-Api](https://github.com/davidteather/TikTok-Api)\n* [tiktok-signature](https://github.com/carcabot/tiktok-signature)\n* [tiktok-scraper](https://github.com/drawrowfly/tiktok-scraper)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablouser1%2Ftikscraperphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablouser1%2Ftikscraperphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablouser1%2Ftikscraperphp/lists"}