Download Webpage Schema

Call & Example Call

affx.dl("schema", domain="", path="", dir="") affx.dl("schema", domain="affx.ai", path="/us", dir="F:/Desktop")

Parameter Description

domain: Website domain, such as example.com. MUST be a website that has already been generated.

path: Specify the URL of the web page whose schema source code you want to download. It can start with / or without /, supporting second-level URLs, such as blog/us or /blog/us. MUST be a web page that has already been generated and has its schema already generated.

dir: Optional; default = current folder. Define the save path for the downloaded file.

Core Function

Download the source code of the schema structured data for a specified generated web page.

Features

Output a .txt file named url_schema.

Example Output

Output
Downloaded successfully: F:\Desktop\us_schema.txt