$ npm install 1cak
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)
- lol
- trend
- recent
- legendary
You can see on Example Folder
Made by AthallahDzaki
Thanks to gilankpam for the 1cak scraper base from golang.