提交任务

请求URL

POST https://scrapeapi.pangolinfo.com/api/v1/scrape

请求头

参数名参数值类型说明
Content-Typeapplication/jsonstring数据格式
AuthorizationBearer xxxstring认证凭证

请求参数

参数必填类型说明
urlYesstring目标网页URL
parserNameYesstring解析器名称
formatYesstring数据返回格式
scrapeContextYesObject爬取上下文

scrapeContext爬取上下文参数说明

参数类型备注
aiOverviewboolean设定为AI Mode
regionstring爬取地区

响应值

返回值类型说明
codeint状态码
messagestring信息
dataobject返回数据

返回参数 data 说明

返回值类型说明
jsonstring[]返回json数据
urlstring任务URL
taskIdstring任务ID

请求示例

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://www.google.com/search?q=how+java+work",
  "format": "json",
  "parserName": "googleAiSearch",
  "scrapeContext": {
    "aiOverview": true,
    "region": "us"
  }
}'

返回示例

{
    "code": 0,
    "message": "ok",
    "data": {
        "json": [{"code":0,"data":{"type":"organic","items":[{"references":[],"type":"ai_overview","items":[{"type":"ai_overview_elem","content":["Java's functionality revolves around the principle of \\"write once, run anywhere\\" (WORA), achieved through a multi-step process involving the Java Development Kit (JDK), Java Virtual Machine (JVM), and Java Runtime Environment (JRE)."]},{"type":"ai_overview_elem","content":["Writing Source Code:","Compilation:","Writing Source Code: Developers write Java programs using the Java programming language, creating .java source files.","Compilation: The Java Compiler, part of the JDK, translates the .java source files into bytecode, which are machine-independent instructions. This bytecode is stored in .class files."]},{"type":"ai_overview_elem"}]},{"type":"organic","items":[{"text":"Medium · Fasrin AleemMedium · Fasrin AleemJava works in the same way, . The Java Virtual Machine can then compile the bytecode into machine code (JVM).","type":"organic","title":"Let's Understand Java. How Java Works? | by Fasrin Aleem","url":"https://medium.com/nerd-for-tech/lets-understand-java-261b2e6bcf2e"},{"text":"People also askIs Java closer to C or C++?What are the 4 rules of Java?How to print 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 in Java?Is Java just like Python?Feedback","type":"organic","title":""},{"text":"Microsoft Azure › cloud-computing-dictionaryMicrosoft Azure › cloud-computing-dictionaryHow does Java work? ... As explained earlier, . This means that it can be written for one OS and run on another.","type":"organic","title":"What is Java?—Beginner's Guide to Java","url":"https://azure.microsoft.com/en-us/resources/cloud-computing-dictionary/what-is-java-programming-language"},{"text":"Amazon Web Services › ... › Developer ToolsAmazon Web Services › ... › Developer ToolsAny Java file is first compiled into bytecode. . The JVM then interprets the bytecode to run it on the underlying hardware ...What is Java programming...Why is Java such a popular...How does Java work?","type":"organic","title":"What is Java? - Java Programming Language Explained","url":"https://aws.amazon.com/what-is/java/"},{"text":"GeeksforGeeks › java › introduction-to-...GeeksforGeeks › java › introduction-to-... is a high-level, object-oriented programming language developed by Sun Microsystems in 1995. It is mostly used for building desktop applications, ...Java Programming BasicsLearn JavaJava, and C++Java Comments","type":"organic","title":"Introduction to Java","url":"https://www.geeksforgeeks.org/java/introduction-to-java/"},{"text":"Java › download › help › whatis_javaJava › download › help › whatis_javaWhat is Java technology and why do I need it?  first released by Sun Microsystems in 1995.","type":"organic","title":"What is Java technology and why do I need it?","url":"https://www.java.com/en/download/help/whatis_java.html"},{"text":"Videos8:50YouTube Soham Kamani ·How does Java Actually Work? (JVM, JDK, and JRE explained)YouTube Soham Kamani ·Nov 3, 2024JVM interprets bytecode, JRE provides libraries and garbage collector, JDK includes tools for development.12:03YouTube Telusko ·#4 How Java WorksYouTube Telusko ·Jan 16, 2023 by converting your code into bytecode, which is then executed by the JVM.10:59YouTube Bro Code ·Start coding with JAVA in 10 minutes!YouTube Bro Code ·Dec 30, 2024In this video I'm going to teach you everything you need to know to start coding with .FeedbackView all","type":"organic","title":"","url":"https://www.youtube.com/watch?v=ylaEICFC4pc"},{"text":"Scaler › topics › how-java-program-wo...Scaler › topics › how-java-program-wo.... · During programming, there are 5 steps that we undergo to execute our programs which are. Creation of a Java ...","type":"organic","title":"How Java Program Works?","url":"https://www.scaler.com/topics/java/how-java-program-works/"},{"text":"Wikipedia › wiki › Java_(programming_l...Wikipedia › wiki › Java_(programming_l... is a high-level, general-purpose, memory-safe, object-oriented programming language. It is intended to let programmers write once, run anywhere (WORA).Java bytecodeJava (disambiguation)Criticism of JavaJava (software platform)","type":"organic","title":"Java (programming language)","url":"https://en.wikipedia.org/wiki/Java_(programming_language)"},{"text":" · r/learnprogramming · 4 comments · 2 years agoReddit · r/learnprogramming · 4 comments · 2 years agoThe discussion is about a Java developer's desire to dive deeper into the internal workings of Java concepts like static and polymorphism.\\n\\nMost commenters suggest Oracle certificatio...More · r/java · 30+ comments · 1 year agoReddit · r/java · 30+ comments · 1 year ago · 1 answer · 1 year agoQuora · 1 answer · 1 year agoSee more","type":"organic","title":"","url":"https://www.reddit.com/r/learnprogramming/comments/11n9rw5/how_to_learn_internal_working_of_java/"},{"text":"freeCodeCamp › news › understanding-...freeCodeCamp › news › understanding-... — Sep 24, 2023 that is platform-independent and adopts the Object Oriented Programming structure to build software.What Is The Java Programming...Interpreted Vs Compiled...How Does Java Work?","type":"organic","title":"Understanding Java Internals: Speed and Performance","url":"https://www.freecodecamp.org/news/understanding-java-internals-speed-and-performance/"}]},{"type":"related_searches","items":["How does java work step by step","How does java work for beginners","What is Java programming used for","Features of Java","Java compiler","Java full form","History of Java","Why Java is platform independent"]}]},"message":"ok"}],
        "url": "https://www.google.com/search?q=how+does+java+work&gl=us&lr=lang_en",
        "taskId": "a8393aa101154c559a75ab998fb52714"
    }
}

积点消耗说明

消耗积点数
获取完整的AI Overview信息2个/次