{
  "id": "44ee5668-ecd5-4366-a6ce-c1c9b8d4e938",
  "snapshot": "chrome",
  "instruction": "I am looking for an website address I accessed a month ago, but Youtube websites which take almost all of my browsing history are interrupting my search. This is too annoying. I want to remove all my Youtube browsing history first to facilitate my search. Could you help me clear browsing history from Youtube?",
  "source": "https://superuser.com/questions/1787991/clear-browsing-history-from-specific-site-on-chrome",
  "config": [
    {
      "type": "update_browse_history",
      "parameters": {
        "history": [
          {
            "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
            "title": "Rick Astley - Never Gonna Give You Up (Official Music Video)",
            "visit_time_from_now_in_seconds": 3600
          },
          {
            "url": "https://www.youtube.com/watch?v=9bZkp7q19f0",
            "title": "PSY - GANGNAM STYLE(강남스타일) M/V",
            "visit_time_from_now_in_seconds": 1631
          },
          {
            "url": "https://www.youtube.com/watch?v=3tmd-ClpJxA",
            "title": "Maroon 5 - Sugar (Official Music Video)",
            "visit_time_from_now_in_seconds": 900
          },
          {
            "url": "https://www.nytimes.com/",
            "title": "The New York Times",
            "visit_time_from_now_in_seconds": 300
          },
          {
            "url": "https://www.youtube.com/watch?v=OPf0YbXqDm0",
            "title": "Ed Sheeran - Shape of You [Official Music Video]",
            "visit_time_from_now_in_seconds": 1200
          },
          {
            "url": "https://www.youtube.com/watch?v=JGwWNGJdvx8",
            "title": "Taylor Swift - Shake It Off",
            "visit_time_from_now_in_seconds": 2400
          },
          {
            "url": "https://www.bbc.co.uk/",
            "title": "BBC",
            "visit_time_from_now_in_seconds": 1500
          },
          {
            "url": "https://www.youtube.com/watch?v=2Vv-BfVoq4g",
            "title": "Adele - Hello",
            "visit_time_from_now_in_seconds": 1800
          },
          {
            "url": "https://www.youtube.com/watch?v=YQHsXMglC9A",
            "title": "Katy Perry - Roar (Official Music Video)",
            "visit_time_from_now_in_seconds": 2100
          },
          {
            "url": "https://www.cnn.com/",
            "title": "CNN",
            "visit_time_from_now_in_seconds": 2700
          },
          {
            "url": "https://www.youtube.com/watch?v=ru0K8uYEZWw",
            "title": "Justin Bieber - Baby ft. Ludacris (Official Music Video)",
            "visit_time_from_now_in_seconds": 3200
          },
          {
            "url": "https://www.youtube.com/watch?v=9bZkp7q19f0",
            "title": "PSY - GANGNAM STYLE(강남스타일) M/V",
            "visit_time_from_now_in_seconds": 3700
          },
          {
            "url": "https://www.nationalgeographic.com/",
            "title": "National Geographic",
            "visit_time_from_now_in_seconds": 4000
          },
          {
            "url": "https://www.youtube.com/watch?v=OPf0YbXqDm0",
            "title": "Ed Sheeran - Shape of You [Official Music Video]",
            "visit_time_from_now_in_seconds": 4300
          },
          {
            "url": "https://www.youtube.com/watch?v=JGwWNGJdvx8",
            "title": "Taylor Swift - Shake It Off",
            "visit_time_from_now_in_seconds": 4700
          },
          {
            "url": "https://www.bbc.co.uk/",
            "title": "BBC",
            "visit_time_from_now_in_seconds": 5000
          },
          {
            "url": "https://www.youtube.com/watch?v=2Vv-BfVoq4g",
            "title": "Adele - Hello",
            "visit_time_from_now_in_seconds": 5300
          },
          {
            "url": "https://www.youtube.com/watch?v=YQHsXMglC9A",
            "title": "Katy Perry - Roar (Official Music Video)",
            "visit_time_from_now_in_seconds": 5600
          },
          {
            "url": "https://www.cnn.com/",
            "title": "CNN",
            "visit_time_from_now_in_seconds": 5900
          },
          {
            "url": "https://www.youtube.com/watch?v=ru0K8uYEZWw",
            "title": "Justin Bieber - Baby ft. Ludacris (Official Music Video)",
            "visit_time_from_now_in_seconds": 6300
          },
          {
            "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
            "title": "Rick Astley - Never Gonna Give You Up (Official Music Video)",
            "visit_time_from_now_in_seconds": 6700
          },
          {
            "url": "https://www.nationalgeographic.com/",
            "title": "National Geographic",
            "visit_time_from_now_in_seconds": 7000
          },
          {
            "url": "https://www.youtube.com/watch?v=OPf0YbXqDm0",
            "title": "Ed Sheeran - Shape of You [Official Music Video]",
            "visit_time_from_now_in_seconds": 7300
          },
          {
            "url": "https://www.youtube.com/watch?v=JGwWNGJdvx8",
            "title": "Taylor Swift - Shake It Off",
            "visit_time_from_now_in_seconds": 7600
          },
          {
            "url": "https://www.bbc.co.uk/",
            "title": "BBC",
            "visit_time_from_now_in_seconds": 7900
          },
          {
            "url": "https://www.youtube.com/watch?v=2Vv-BfVoq4g",
            "title": "Adele - Hello",
            "visit_time_from_now_in_seconds": 8200
          },
          {
            "url": "https://www.youtube.com/watch?v=YQHsXMglC9A",
            "title": "Katy Perry - Roar (Official Music Video)",
            "visit_time_from_now_in_seconds": 8500
          },
          {
            "url": "https://www.cnn.com/",
            "title": "CNN",
            "visit_time_from_now_in_seconds": 8800
          },
          {
            "url": "https://www.youtube.com/watch?v=ru0K8uYEZWw",
            "title": "Justin Bieber - Baby ft. Ludacris (Official Music Video)",
            "visit_time_from_now_in_seconds": 9100
          },
          {
            "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
            "title": "Rick Astley - Never Gonna Give You Up (Official Music Video)",
            "visit_time_from_now_in_seconds": 9400
          },
          {
            "url": "https://www.nationalgeographic.com/",
            "title": "National Geographic",
            "visit_time_from_now_in_seconds": 9700
          },
          {
            "url": "https://www.youtube.com/watch?v=OPf0YbXqDm0",
            "title": "Ed Sheeran - Shape of You [Official Music Video]",
            "visit_time_from_now_in_seconds": 10000
          },
          {
            "url": "https://www.youtube.com/watch?v=JGwWNGJdvx8",
            "title": "Taylor Swift - Shake It Off",
            "visit_time_from_now_in_seconds": 10300
          },
          {
            "url": "https://www.bbc.co.uk/",
            "title": "BBC",
            "visit_time_from_now_in_seconds": 10600
          },
          {
            "url": "https://www.youtube.com/watch?v=2Vv-BfVoq4g",
            "title": "Adele - Hello",
            "visit_time_from_now_in_seconds": 10900
          },
          {
            "url": "https://www.youtube.com/watch?v=YQHsXMglC9A",
            "title": "Katy Perry - Roar (Official Music Video)",
            "visit_time_from_now_in_seconds": 11200
          },
          {
            "url": "https://www.cnn.com/",
            "title": "CNN",
            "visit_time_from_now_in_seconds": 11500
          },
          {
            "url": "https://www.youtube.com/watch?v=ru0K8uYEZWw",
            "title": "Justin Bieber - Baby ft. Ludacris (Official Music Video)",
            "visit_time_from_now_in_seconds": 11800
          },
          {
            "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
            "title": "Rick Astley - Never Gonna Give You Up (Official Music Video)",
            "visit_time_from_now_in_seconds": 12100
          },
          {
            "url": "https://www.nationalgeographic.com/",
            "title": "National Geographic",
            "visit_time_from_now_in_seconds": 12400
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "google-chrome",
          "--remote-debugging-port=1337"
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "socat",
          "tcp-listen:9222,fork",
          "tcp:localhost:1337"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "chrome"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "launch",
        "parameters": {
          "command": [
            "pkill",
            "chrome"
          ]
        }
      },
      {
        "type": "launch",
        "parameters": {
          "command": [
            "google-chrome",
            "--remote-debugging-port=1337"
          ]
        }
      }
    ],
    "func": "check_history_deleted",
    "result": {
      "type": "history",
      "dest": "history.sqlite"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "keywords",
        "keywords": [
          "youtube"
        ]
      }
    }
  }
}
