1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon Skraper 1.2

Scrape websites with Skript!

  1. Nano
    Contributors:
    Blueyescat
    Supported Minecraft Versions:
    • 1.7, 1.8, 1.9, 1.10, 1.11, 1.12
    Skraper
    Web scraping in Skript!

    Source - Documentation - Examples
    Example
    Code (Skript):
    1.  
    2. command skraper:
    3.     trigger:
    4.         set {_url} to "https://www.youtube.com/results?search_query=KAYNAK"
    5.         set {_agent} to "Mozilla/5.0"
    6.         set {_timeout} to 10000
    7.         set {_referer} to "https://www.google.com"
    8.      
    9.         request document from {_url} with user agent {_agent} and timeout {_timeout} and referrer {_referer}
    10.      
    11.         set {_doc} to last received document
    12.      
    13.         set {_first-elm} to first element of elements "a[href]" of document {_doc}
    14.      
    15.         send html text of {_first-elm}
    16.      
    17.         send inner html of element {_first-elm}

    Images

    1. uganda.png
    Blueyescat and Getreidemonster like this.

Recent Updates

  1. Some new stuff!
  2. Useful stuff!
  3. A complete release!

Recent Reviews

  1. M
    Mrtol
    5/5,
    Version: 1.1
    kullanmadım ama sen yaptıysan muhakkak başarılıdır
    1. Nano
      Author's Response
      Yorumun için teşekkürler.
  2. G
    Getreidemonster
    5/5,
    Version: 1.0-BETA
    Loving it that you can get now html tags/or even other html elements via Skript now! :D

    Though, I'm using WebSockets, this addon could be in future having more potential than some other addons... *cough*U...... 3 (IIRC)*cough*
    1. Nano
      Author's Response
      Thank you for your review!