- Contributors
- Blueyescat
- Supported Minecraft Versions
- 1.7
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
Example
code_language.skript:
command skraper:
trigger:
set {_url} to "https://www.youtube.com/results?search_query=KAYNAK"
set {_agent} to "Mozilla/5.0"
set {_timeout} to 10000
set {_referer} to "https://www.google.com"
request document from {_url} with user agent {_agent} and timeout {_timeout} and referrer {_referer}
set {_doc} to last received document
set {_first-elm} to first element of elements "a[href]" of document {_doc}
send html text of {_first-elm}
send inner html of element {_first-elm}