Discord bot for simple web scrapping. Command prefix is scrapper
.
Click image below to install for your discord server:
NOTE: Unable to bypass captcha and executing javascript.
- BOT_TOKEN
params:
[
{
"name": "url",
"description": "URL that will be fetched.",
"required": true,
"default": 0
},
{
"name": "selector",
"description": "CSS selector to determine the elements that will be taken.",
"required": false,
"default": "body"
},
{
"name": "attributes",
"description": "The attribute of the element from which data will be retrieved.",
"required": false,
"default": "innerHTML"
},
{
"name": "template",
"description": "The input that will be used as the output of the captured data, must be in the form of a code block.",
"required": false,
"default": "```html\n$1\n```"
}
]
````sh
scrapper get https://anixverse.com/battle-through-the-heavens-season-5-episode-128-subtitle-indonesia/ .postbody>article>div.entry-content>div:nth-child(2)>div.mctnx>div>div:nth-child(2)>a "text,href"
```html
Link $1: $2
```
````
NOTE: $1 above is the value of the specified attribute, for example the attribute "text,href" (attributes separated by commas), then $1 is the value of
text
and $2 is the value ofhref
, and so on if you add other attributes.
```txt
Link Mirrored: https://www.mirrored.to/files/8OLWY27C/[Anixverse]_BTTH_S5_-_128_[480p].mkv_links
Link TeraBox: https://terabox.com/s/1x23JDohJ8LaXftPDHUOFwA
```