Default Fields in Scraping Agent

Agenty CSS Selector and REGEX extractor engine can be used to extract anything from the website content, but sometime you might want few fields to be included in your output result which is not the part of website source content.

For example you are scraping stock information of 100 companies from a stock website but also want a DateTime field should also be in your output result to see when a particular page was fetched and information was extracted.

So Agenty offers the built-in default fields to add in your agent for all those cases when needed :

How to add a DEFAULT Field

  1. Click on the Edit tab to edit your agent in agent editor (Create one using Chrome extension if you don’t have any agent, the DEFAULT fields can be added after the agent is created)
  2. Then go to Field and Collections section and click on Add field button to add a field
  3. Change the Type as DEFAULT
  4. Select the default field you want to add in From drop-down box as in screenshot below:

  1. Finally, Save the scraping agent configuration.

These steps will change the scraping agent configuration only and you’d need to re-run your agent to extract the default field value when the field is added or updated.


DateType: string

URL of web page, same as in provided in input


DateType: string

URL of web page returned by web server even after redirects.
(E.g. If your inputs have old URL but web server returns a 301 redirect and serves the new URL The RESPONSE_URL field will have the new URL populated)


DateType: int

HTTP Code of successful web request (E.g. 200, 301)


DateType: string

HTTP Status of successful web request (E.g. Ok, Moved Permanently)


DateType: int

HTTP Error code of error-ed web request(E.g. 404, 408, 503 etc.)


DateType: string

HTTP Error message of error-ed web request. E.g.

  • Not Found
  • Request Time Out
  • Website under maintenance etc.

See more about HTTP status codes on W3 website


DateType: string

Collection of web response Header. E.g.

Content-Type:text/html; charset=utf-8
Date:Thu, 10 Dec 2015 11:44:36 GMT


DateType: string

Complete source code of requested web page

<!DOCTYPE html>
<title>Sample page</title>
<h1>Page Heading</h1>
<h2>This is an example page</h2>


DateType: DateTime

The date time when a particular request was fetched (Format : MM/dd/yyyy hh:mm:ss) in GMT (UTC +0) with no offset from Coordinated Universal Time (UTC)


DateType: Date

The date when a particular request was fetched (Format : MM/dd/yyyy) in GMT (UTC +0) with no offset from Coordinated Universal Time (UTC)


DataType: Time

The time when a particular request was fetched (Format : hh:mm:ss) in GMT (UTC +0) with no offset from Coordinated Universal Time (UTC)