1.0.4 • Published 2 years ago
1cak v1.0.4
Installation
$ npm install 1cak
Function List
NUMBER | FUNCTION | Parameter | ASYNC | PUBLIC | COMMENT |
---|---|---|---|---|---|
1. | GetPostID | PostID (Optional) | True | True | If PostID not defined it will give random meme |
2. | Search | Query (Required) PageID (Optional) | True | True | If PageID defined, it will find only on pageid parameter |
3. | GetSectionPosts | Section (Required) PageID (Optional) | True | True | If PageID defined, it will find only on pageid parameter |
4. | GetPosts | URL (Required) | False | False | - |
5. | IsNotFound | HTML (Required) | False | False | - |
6. | IsValidSection | Section (Required) | False | False | - |
Section available (must be lowercase) 1. lol 2. trend 3. recent 4. legendary
Simple Usage
You can see on Example Folder
Credits
Made by AthallahDzaki
Thanks to gilankpam for the 1cak scraper base from golang.