Web Scraping Script Generation via User Action Capture

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Creating and maintaining scraping scripts for aggregating financial information from multiple online accounts is time-consuming and expensive, as they require manual analysis of web page details and frequent updates due to changes in website structures and user account configurations.

Innovation Solution

A computer system that captures user-action information during web page navigation, translating it into executable operations to generate or update scraping scripts, reducing the need for manual intervention and enabling automatic adaptation to changes in web page structures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual analysis of web page details is used to create scraping scripts, then the scripts can be customized for specific websites, but the process becomes time-consuming and expensive

Engineering Contradiction:
Improvescript accuracyVSAvoidscript creation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system enables self-service script generation by automatically analyzing web page structures and user interactions to generate scraping scripts without manual programming. The system observes user navigation patterns and page element interactions, then autonomously creates the necessary scraping commands and selectors.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system creates reusable script templates by copying and adapting patterns from successfully analyzed web page interactions. Once a script is generated for one website structure, similar patterns can be replicated across websites with comparable structures, reducing overall creation time.

Inventive Principle:
Principle #26Copying

2Reliability

If manual updates are performed when websites change, then script functionality can be maintained, but the process remains expensive and time-consuming

Engineering Contradiction:
Improvescript functionalityVSAvoidmaintenance efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system implements continuous feedback loops where scraping script execution results are monitored and analyzed. When failures or anomalies are detected, the system automatically re-analyzes the target web page structure and updates the script accordingly, creating a self-correcting maintenance mechanism.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The scraping scripts are designed to be dynamic and adaptive, automatically adjusting to web page structure changes by re-analyzing page elements and updating selectors. This transforms static scripts into dynamic systems that can adapt to website modifications without manual intervention.

Inventive Principle:
Principle #15Dynamics

3Measurement precision

If scraping scripts are customized for each specific website structure, then data collection accuracy improves, but the complexity of managing multiple scripts increases

Engineering Contradiction:
Improvedata collection accuracyVSAvoidscript management complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system creates universal script templates that can adapt to multiple website structures through parameter configuration rather than complete customization. A single template framework handles various data types and website layouts by dynamically adjusting selectors and parsing logic based on the target website's characteristics.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The scraping script management is segmented into modular components: navigation logic, data extraction modules, and parsing templates. Each component can be independently configured and reused across different websites, reducing overall management complexity while maintaining customization capability.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10108432B1Generating a script based on user actions
Publication Date: 2018.10.23 INTUIT INC
  • US10108432B1 patent drawing
  • US10108432B1 patent drawing
  • US10108432B1 patent drawing

AI summary

Embodiments of a computer system, a method and a computer-program product (e.g., software) for use with the computer system are described. These embodiments may allow users to create or maintain (including repair and validation), which collect user information from a web page. In particular, using a web browser extension, one or more users' actions while navigating or interacting with the web page are captured. This captured user-action information may specify the layout of the web page, including data locations and/or types of data. Then, using the captured user-action information, a new scraping script can be generated or, based at least in part on determined changes to the web page, an existing scraping script can be maintained.