Skip to content

Python scraper based on AI

removed files and refactoring of actions

VinciGit0087d911b7bbc7
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml
index f675162f..464080ff 100644
--- a/.github/workflows/pylint.yml
+++ b/.github/workflows/pylint.yml
@@ -20,4 +20,4 @@ jobs:
pip install pylint
pip install -r requirements.txt
- name: Analysing the code with pylint
- run: pylint --disable=C0114,C0115,C0116 --exit-zero scrapegraphai/**/*.py scrapegraphai/*.py examples/**/*.py tests/**/*.py
\ No newline at end of file
+ run: pylint --disable=C0114,C0115,C0116 --exit-zero scrapegraphai/**/*.py scrapegraphai/*.py
\ No newline at end of file
diff --git a/examples/gemini/inputs/books.xml b/examples/gemini/inputs/books.xml
deleted file mode 100644
index e3d1fe87..00000000
--- a/examples/gemini/inputs/books.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0"?>
-<catalog>
- <book id="bk101">
- <author>Gambardella, Matthew</author>
- <title>XML Developer's Guide</title>
- <genre>Computer</genre>
- <price>44.95</price>
- <publish_date>2000-10-01</publish_date>
- <description>An in-depth look at creating applications
- with XML.</description>
- </book>
- <book id="bk102">
- <author>Ralls, Kim</author>
- <title>Midnight Rain</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2000-12-16</publish_date>
- <description>A former architect battles corporate zombies,
- an evil sorceress, and her own childhood to become queen
- of the world.</description>
- </book>
- <book id="bk103">
- <author>Corets, Eva</author>
- <title>Maeve Ascendant</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2000-11-17</publish_date>
- <description>After the collapse of a nanotechnology
- society in England, the young survivors lay the
- foundation for a new society.</description>
- </book>
- <book id="bk104">
- <author>Corets, Eva</author>
- <title>Oberon's Legacy</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2001-03-10</publish_date>
- <description>In post-apocalypse England, the mysterious
- agent known only as Oberon helps to create a new life
- for the inhabitants of London. Sequel to Maeve
- Ascendant.</description>
- </book>
- <book id="bk105">
- <author>Corets, Eva</author>
- <title>The Sundered Grail</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2001-09-10</publish_date>
- <description>The two daughters of Maeve, half-sisters,
- battle one another for control of England. Sequel to
- Oberon's Legacy.</description>
- </book>
- <book id="bk106">
- <author>Randall, Cynthia</author>
- <title>Lover Birds</title>
- <genre>Romance</genre>
- <price>4.95</price>
- <publish_date>2000-09-02</publish_date>
- <description>When Carla meets Paul at an ornithology
- conference, tempers fly as feathers get ruffled.</description>
- </book>
- <book id="bk107">
- <author>Thurman, Paula</author>
- <title>Splish Splash</title>
- <genre>Romance</genre>
- <price>4.95</price>
- <publish_date>2000-11-02</publish_date>
- <description>A deep sea diver finds true love twenty
- thousand leagues beneath the sea.</description>
- </book>
- <book id="bk108">
- <author>Knorr, Stefan</author>
- <title>Creepy Crawlies</title>
- <genre>Horror</genre>
- <price>4.95</price>
- <publish_date>2000-12-06</publish_date>
- <description>An anthology of horror stories about roaches,
- centipedes, scorpions and other insects.</description>
- </book>
- <book id="bk109">
- <author>Kress, Peter</author>
- <title>Paradox Lost</title>
- <genre>Science Fiction</genre>
- <price>6.95</price>
- <publish_date>2000-11-02</publish_date>
- <description>After an inadvertant trip through a Heisenberg
- Uncertainty Device, James Salway discovers the problems
- of being quantum.</description>
- </book>
- <book id="bk110">
- <author>O'Brien, Tim</author>
- <title>Microsoft .NET: The Programming Bible</title>
- <genre>Computer</genre>
- <price>36.95</price>
- <publish_date>2000-12-09</publish_date>
- <description>Microsoft's .NET initiative is explored in
- detail in this deep programmer's reference.</description>
- </book>
- <book id="bk111">
- <author>O'Brien, Tim</author>
- <title>MSXML3: A Comprehensive Guide</title>
- <genre>Computer</genre>
- <price>36.95</price>
- <publish_date>2000-12-01</publish_date>
- <description>The Microsoft MSXML3 parser is covered in
- detail, with attention to XML DOM interfaces, XSLT processing,
- SAX and more.</description>
- </book>
- <book id="bk112">
- <author>Galos, Mike</author>
- <title>Visual Studio 7: A Comprehensive Guide</title>
- <genre>Computer</genre>
- <price>49.95</price>
- <publish_date>2001-04-16</publish_date>
- <description>Microsoft Visual Studio 7 is explored in depth,
- looking at how Visual Basic, Visual C++, C#, and ASP+ are
- integrated into a comprehensive development
- environment.</description>
- </book>
-</catalog>
\ No newline at end of file
diff --git a/examples/gemini/inputs/plain_html_example.txt b/examples/gemini/inputs/plain_html_example.txt
deleted file mode 100644
index 78f814ae..00000000
--- a/examples/gemini/inputs/plain_html_example.txt
+++ /dev/null
@@ -1,105 +0,0 @@
-<body class="fixed-top-nav " style="padding-top: 57px;">
- <header>
- <nav id="navbar" class="navbar navbar-light navbar-expand-sm fixed-top">
- <div class="container">
- <a class="navbar-brand title font-weight-lighter" href="/"><span class="font-weight-bold">Marco&nbsp;</span>Perini</a> <button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar top-bar"></span> <span class="icon-bar middle-bar"></span> <span class="icon-bar bottom-bar"></span> </button>
- <div class="collapse navbar-collapse text-right" id="navbarNav">
- <ul class="navbar-nav ml-auto flex-nowrap">
- <li class="nav-item "> <a class="nav-link" href="/">About</a> </li>
- <li class="nav-item dropdown active">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Projects<span class="sr-only">(current)</span></a>
- <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
- <a class="dropdown-item" href="/projects/">Projects</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="/competitions/">Competitions</a>
- </div>
- </li>
- <li class="nav-item "> <a class="nav-link" href="/cv/">CV</a> </li>
- <li class="toggle-container"> <button id="light-toggle" title="Change theme"> <i class="fa-solid fa-moon"></i> <i class="fa-solid fa-sun"></i> </button> </li>
- </ul>
- </div>
- </div>
- </nav>
- <progress id="progress" value="0" max="284" style="top: 57px;">
- <div class="progress-container"> <span class="progress-bar"></span> </div>
- </progress>
- </header>
- <div class="container mt-5">
- <div class="post">
- <header class="post-header">
- <h1 class="post-title">Projects</h1>
- <p class="post-description"></p>
- </header>
- <article>
- <div class="projects">
- <div class="grid" style="position: relative; height: 861.992px;">
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 0px; top: 0px;">
- <a href="/projects/rotary-pendulum-rl/">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/rotary_pybullet.jpg" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Rotary Pendulum RL</h4>
- <p class="card-text">Open Source project aimed at controlling a real life rotary pendulum using RL algorithms</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 260px; top: 0px;">
- <a href="https://github.com/PeriniM/DQN-SwingUp" rel="external nofollow noopener" target="_blank">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/value-policy-heatmaps.jpg" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">DQN Implementation from scratch</h4>
- <p class="card-text">Developed a Deep Q-Network algorithm to train a simple and double pendulum</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 0px; top: 447.414px;">
- <a href="https://github.com/PeriniM/Multi-Agents-HAED" rel="external nofollow noopener" target="_blank">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/multi_agents_haed.gif" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Multi Agents HAED</h4>
- <p class="card-text">University project which focuses on simulating a multi-agent system to perform environment mapping. Agents, equipped with sensors, explore and record their surroundings, considering uncertainties in their readings.</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 260px; top: 370.172px;">
- <a href="/projects/wireless-esc-drone/">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/wireless_esc.gif" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Wireless ESC for Modular Drones</h4>
- <p class="card-text">Modular drone architecture proposal and proof of concept. The project received maximum grade.</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- </div>
- </div>
- </article>
- </div>
- </div>
- <footer class="fixed-bottom">
- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>
- </footer>
- <div class="hiddendiv common"></div>
-</body>
\ No newline at end of file
diff --git a/examples/local_models/Docker/inputs/books.xml b/examples/local_models/Docker/inputs/books.xml
deleted file mode 100644
index e3d1fe87..00000000
--- a/examples/local_models/Docker/inputs/books.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0"?>
-<catalog>
- <book id="bk101">
- <author>Gambardella, Matthew</author>
- <title>XML Developer's Guide</title>
- <genre>Computer</genre>
- <price>44.95</price>
- <publish_date>2000-10-01</publish_date>
- <description>An in-depth look at creating applications
- with XML.</description>
- </book>
- <book id="bk102">
- <author>Ralls, Kim</author>
- <title>Midnight Rain</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2000-12-16</publish_date>
- <description>A former architect battles corporate zombies,
- an evil sorceress, and her own childhood to become queen
- of the world.</description>
- </book>
- <book id="bk103">
- <author>Corets, Eva</author>
- <title>Maeve Ascendant</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2000-11-17</publish_date>
- <description>After the collapse of a nanotechnology
- society in England, the young survivors lay the
- foundation for a new society.</description>
- </book>
- <book id="bk104">
- <author>Corets, Eva</author>
- <title>Oberon's Legacy</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2001-03-10</publish_date>
- <description>In post-apocalypse England, the mysterious
- agent known only as Oberon helps to create a new life
- for the inhabitants of London. Sequel to Maeve
- Ascendant.</description>
- </book>
- <book id="bk105">
- <author>Corets, Eva</author>
- <title>The Sundered Grail</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2001-09-10</publish_date>
- <description>The two daughters of Maeve, half-sisters,
- battle one another for control of England. Sequel to
- Oberon's Legacy.</description>
- </book>
- <book id="bk106">
- <author>Randall, Cynthia</author>
- <title>Lover Birds</title>
- <genre>Romance</genre>
- <price>4.95</price>
- <publish_date>2000-09-02</publish_date>
- <description>When Carla meets Paul at an ornithology
- conference, tempers fly as feathers get ruffled.</description>
- </book>
- <book id="bk107">
- <author>Thurman, Paula</author>
- <title>Splish Splash</title>
- <genre>Romance</genre>
- <price>4.95</price>
- <publish_date>2000-11-02</publish_date>
- <description>A deep sea diver finds true love twenty
- thousand leagues beneath the sea.</description>
- </book>
- <book id="bk108">
- <author>Knorr, Stefan</author>
- <title>Creepy Crawlies</title>
- <genre>Horror</genre>
- <price>4.95</price>
- <publish_date>2000-12-06</publish_date>
- <description>An anthology of horror stories about roaches,
- centipedes, scorpions and other insects.</description>
- </book>
- <book id="bk109">
- <author>Kress, Peter</author>
- <title>Paradox Lost</title>
- <genre>Science Fiction</genre>
- <price>6.95</price>
- <publish_date>2000-11-02</publish_date>
- <description>After an inadvertant trip through a Heisenberg
- Uncertainty Device, James Salway discovers the problems
- of being quantum.</description>
- </book>
- <book id="bk110">
- <author>O'Brien, Tim</author>
- <title>Microsoft .NET: The Programming Bible</title>
- <genre>Computer</genre>
- <price>36.95</price>
- <publish_date>2000-12-09</publish_date>
- <description>Microsoft's .NET initiative is explored in
- detail in this deep programmer's reference.</description>
- </book>
- <book id="bk111">
- <author>O'Brien, Tim</author>
- <title>MSXML3: A Comprehensive Guide</title>
- <genre>Computer</genre>
- <price>36.95</price>
- <publish_date>2000-12-01</publish_date>
- <description>The Microsoft MSXML3 parser is covered in
- detail, with attention to XML DOM interfaces, XSLT processing,
- SAX and more.</description>
- </book>
- <book id="bk112">
- <author>Galos, Mike</author>
- <title>Visual Studio 7: A Comprehensive Guide</title>
- <genre>Computer</genre>
- <price>49.95</price>
- <publish_date>2001-04-16</publish_date>
- <description>Microsoft Visual Studio 7 is explored in depth,
- looking at how Visual Basic, Visual C++, C#, and ASP+ are
- integrated into a comprehensive development
- environment.</description>
- </book>
-</catalog>
\ No newline at end of file
diff --git a/examples/local_models/Docker/inputs/plain_html_example.txt b/examples/local_models/Docker/inputs/plain_html_example.txt
deleted file mode 100644
index 78f814ae..00000000
--- a/examples/local_models/Docker/inputs/plain_html_example.txt
+++ /dev/null
@@ -1,105 +0,0 @@
-<body class="fixed-top-nav " style="padding-top: 57px;">
- <header>
- <nav id="navbar" class="navbar navbar-light navbar-expand-sm fixed-top">
- <div class="container">
- <a class="navbar-brand title font-weight-lighter" href="/"><span class="font-weight-bold">Marco&nbsp;</span>Perini</a> <button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar top-bar"></span> <span class="icon-bar middle-bar"></span> <span class="icon-bar bottom-bar"></span> </button>
- <div class="collapse navbar-collapse text-right" id="navbarNav">
- <ul class="navbar-nav ml-auto flex-nowrap">
- <li class="nav-item "> <a class="nav-link" href="/">About</a> </li>
- <li class="nav-item dropdown active">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Projects<span class="sr-only">(current)</span></a>
- <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
- <a class="dropdown-item" href="/projects/">Projects</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="/competitions/">Competitions</a>
- </div>
- </li>
- <li class="nav-item "> <a class="nav-link" href="/cv/">CV</a> </li>
- <li class="toggle-container"> <button id="light-toggle" title="Change theme"> <i class="fa-solid fa-moon"></i> <i class="fa-solid fa-sun"></i> </button> </li>
- </ul>
- </div>
- </div>
- </nav>
- <progress id="progress" value="0" max="284" style="top: 57px;">
- <div class="progress-container"> <span class="progress-bar"></span> </div>
- </progress>
- </header>
- <div class="container mt-5">
- <div class="post">
- <header class="post-header">
- <h1 class="post-title">Projects</h1>
- <p class="post-description"></p>
- </header>
- <article>
- <div class="projects">
- <div class="grid" style="position: relative; height: 861.992px;">
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 0px; top: 0px;">
- <a href="/projects/rotary-pendulum-rl/">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/rotary_pybullet.jpg" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Rotary Pendulum RL</h4>
- <p class="card-text">Open Source project aimed at controlling a real life rotary pendulum using RL algorithms</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 260px; top: 0px;">
- <a href="https://github.com/PeriniM/DQN-SwingUp" rel="external nofollow noopener" target="_blank">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/value-policy-heatmaps.jpg" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">DQN Implementation from scratch</h4>
- <p class="card-text">Developed a Deep Q-Network algorithm to train a simple and double pendulum</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 0px; top: 447.414px;">
- <a href="https://github.com/PeriniM/Multi-Agents-HAED" rel="external nofollow noopener" target="_blank">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/multi_agents_haed.gif" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Multi Agents HAED</h4>
- <p class="card-text">University project which focuses on simulating a multi-agent system to perform environment mapping. Agents, equipped with sensors, explore and record their surroundings, considering uncertainties in their readings.</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 260px; top: 370.172px;">
- <a href="/projects/wireless-esc-drone/">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/wireless_esc.gif" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Wireless ESC for Modular Drones</h4>
- <p class="card-text">Modular drone architecture proposal and proof of concept. The project received maximum grade.</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- </div>
- </div>
- </article>
- </div>
- </div>
- <footer class="fixed-bottom">
- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>
- </footer>
- <div class="hiddendiv common"></div>
-</body>
\ No newline at end of file
diff --git a/examples/local_models/Ollama/inputs/books.xml b/examples/local_models/Ollama/inputs/books.xml
deleted file mode 100644
index e3d1fe87..00000000
--- a/examples/local_models/Ollama/inputs/books.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0"?>
-<catalog>
- <book id="bk101">
- <author>Gambardella, Matthew</author>
- <title>XML Developer's Guide</title>
- <genre>Computer</genre>
- <price>44.95</price>
- <publish_date>2000-10-01</publish_date>
- <description>An in-depth look at creating applications
- with XML.</description>
- </book>
- <book id="bk102">
- <author>Ralls, Kim</author>
- <title>Midnight Rain</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2000-12-16</publish_date>
- <description>A former architect battles corporate zombies,
- an evil sorceress, and her own childhood to become queen
- of the world.</description>
- </book>
- <book id="bk103">
- <author>Corets, Eva</author>
- <title>Maeve Ascendant</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2000-11-17</publish_date>
- <description>After the collapse of a nanotechnology
- society in England, the young survivors lay the
- foundation for a new society.</description>
- </book>
- <book id="bk104">
- <author>Corets, Eva</author>
- <title>Oberon's Legacy</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2001-03-10</publish_date>
- <description>In post-apocalypse England, the mysterious
- agent known only as Oberon helps to create a new life
- for the inhabitants of London. Sequel to Maeve
- Ascendant.</description>
- </book>
- <book id="bk105">
- <author>Corets, Eva</author>
- <title>The Sundered Grail</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2001-09-10</publish_date>
- <description>The two daughters of Maeve, half-sisters,
- battle one another for control of England. Sequel to
- Oberon's Legacy.</description>
- </book>
- <book id="bk106">
- <author>Randall, Cynthia</author>
- <title>Lover Birds</title>
- <genre>Romance</genre>
- <price>4.95</price>
- <publish_date>2000-09-02</publish_date>
- <description>When Carla meets Paul at an ornithology
- conference, tempers fly as feathers get ruffled.</description>
- </book>
- <book id="bk107">
- <author>Thurman, Paula</author>
- <title>Splish Splash</title>
- <genre>Romance</genre>
- <price>4.95</price>
- <publish_date>2000-11-02</publish_date>
- <description>A deep sea diver finds true love twenty
- thousand leagues beneath the sea.</description>
- </book>
- <book id="bk108">
- <author>Knorr, Stefan</author>
- <title>Creepy Crawlies</title>
- <genre>Horror</genre>
- <price>4.95</price>
- <publish_date>2000-12-06</publish_date>
- <description>An anthology of horror stories about roaches,
- centipedes, scorpions and other insects.</description>
- </book>
- <book id="bk109">
- <author>Kress, Peter</author>
- <title>Paradox Lost</title>
- <genre>Science Fiction</genre>
- <price>6.95</price>
- <publish_date>2000-11-02</publish_date>
- <description>After an inadvertant trip through a Heisenberg
- Uncertainty Device, James Salway discovers the problems
- of being quantum.</description>
- </book>
- <book id="bk110">
- <author>O'Brien, Tim</author>
- <title>Microsoft .NET: The Programming Bible</title>
- <genre>Computer</genre>
- <price>36.95</price>
- <publish_date>2000-12-09</publish_date>
- <description>Microsoft's .NET initiative is explored in
- detail in this deep programmer's reference.</description>
- </book>
- <book id="bk111">
- <author>O'Brien, Tim</author>
- <title>MSXML3: A Comprehensive Guide</title>
- <genre>Computer</genre>
- <price>36.95</price>
- <publish_date>2000-12-01</publish_date>
- <description>The Microsoft MSXML3 parser is covered in
- detail, with attention to XML DOM interfaces, XSLT processing,
- SAX and more.</description>
- </book>
- <book id="bk112">
- <author>Galos, Mike</author>
- <title>Visual Studio 7: A Comprehensive Guide</title>
- <genre>Computer</genre>
- <price>49.95</price>
- <publish_date>2001-04-16</publish_date>
- <description>Microsoft Visual Studio 7 is explored in depth,
- looking at how Visual Basic, Visual C++, C#, and ASP+ are
- integrated into a comprehensive development
- environment.</description>
- </book>
-</catalog>
\ No newline at end of file
diff --git a/examples/local_models/Ollama/inputs/plain_html_example.txt b/examples/local_models/Ollama/inputs/plain_html_example.txt
deleted file mode 100644
index 78f814ae..00000000
--- a/examples/local_models/Ollama/inputs/plain_html_example.txt
+++ /dev/null
@@ -1,105 +0,0 @@
-<body class="fixed-top-nav " style="padding-top: 57px;">
- <header>
- <nav id="navbar" class="navbar navbar-light navbar-expand-sm fixed-top">
- <div class="container">
- <a class="navbar-brand title font-weight-lighter" href="/"><span class="font-weight-bold">Marco&nbsp;</span>Perini</a> <button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar top-bar"></span> <span class="icon-bar middle-bar"></span> <span class="icon-bar bottom-bar"></span> </button>
- <div class="collapse navbar-collapse text-right" id="navbarNav">
- <ul class="navbar-nav ml-auto flex-nowrap">
- <li class="nav-item "> <a class="nav-link" href="/">About</a> </li>
- <li class="nav-item dropdown active">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Projects<span class="sr-only">(current)</span></a>
- <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
- <a class="dropdown-item" href="/projects/">Projects</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="/competitions/">Competitions</a>
- </div>
- </li>
- <li class="nav-item "> <a class="nav-link" href="/cv/">CV</a> </li>
- <li class="toggle-container"> <button id="light-toggle" title="Change theme"> <i class="fa-solid fa-moon"></i> <i class="fa-solid fa-sun"></i> </button> </li>
- </ul>
- </div>
- </div>
- </nav>
- <progress id="progress" value="0" max="284" style="top: 57px;">
- <div class="progress-container"> <span class="progress-bar"></span> </div>
- </progress>
- </header>
- <div class="container mt-5">
- <div class="post">
- <header class="post-header">
- <h1 class="post-title">Projects</h1>
- <p class="post-description"></p>
- </header>
- <article>
- <div class="projects">
- <div class="grid" style="position: relative; height: 861.992px;">
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 0px; top: 0px;">
- <a href="/projects/rotary-pendulum-rl/">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/rotary_pybullet.jpg" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Rotary Pendulum RL</h4>
- <p class="card-text">Open Source project aimed at controlling a real life rotary pendulum using RL algorithms</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 260px; top: 0px;">
- <a href="https://github.com/PeriniM/DQN-SwingUp" rel="external nofollow noopener" target="_blank">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/value-policy-heatmaps.jpg" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">DQN Implementation from scratch</h4>
- <p class="card-text">Developed a Deep Q-Network algorithm to train a simple and double pendulum</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 0px; top: 447.414px;">
- <a href="https://github.com/PeriniM/Multi-Agents-HAED" rel="external nofollow noopener" target="_blank">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/multi_agents_haed.gif" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Multi Agents HAED</h4>
- <p class="card-text">University project which focuses on simulating a multi-agent system to perform environment mapping. Agents, equipped with sensors, explore and record their surroundings, considering uncertainties in their readings.</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 260px; top: 370.172px;">
- <a href="/projects/wireless-esc-drone/">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/wireless_esc.gif" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Wireless ESC for Modular Drones</h4>
- <p class="card-text">Modular drone architecture proposal and proof of concept. The project received maximum grade.</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- </div>
- </div>
- </article>
- </div>
- </div>
- <footer class="fixed-bottom">
- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>
- </footer>
- <div class="hiddendiv common"></div>
-</body>
\ No newline at end of file
diff --git a/examples/openai/inputs/books.xml b/examples/openai/inputs/books.xml
deleted file mode 100644
index e3d1fe87..00000000
--- a/examples/openai/inputs/books.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0"?>
-<catalog>
- <book id="bk101">
- <author>Gambardella, Matthew</author>
- <title>XML Developer's Guide</title>
- <genre>Computer</genre>
- <price>44.95</price>
- <publish_date>2000-10-01</publish_date>
- <description>An in-depth look at creating applications
- with XML.</description>
- </book>
- <book id="bk102">
- <author>Ralls, Kim</author>
- <title>Midnight Rain</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2000-12-16</publish_date>
- <description>A former architect battles corporate zombies,
- an evil sorceress, and her own childhood to become queen
- of the world.</description>
- </book>
- <book id="bk103">
- <author>Corets, Eva</author>
- <title>Maeve Ascendant</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2000-11-17</publish_date>
- <description>After the collapse of a nanotechnology
- society in England, the young survivors lay the
- foundation for a new society.</description>
- </book>
- <book id="bk104">
- <author>Corets, Eva</author>
- <title>Oberon's Legacy</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2001-03-10</publish_date>
- <description>In post-apocalypse England, the mysterious
- agent known only as Oberon helps to create a new life
- for the inhabitants of London. Sequel to Maeve
- Ascendant.</description>
- </book>
- <book id="bk105">
- <author>Corets, Eva</author>
- <title>The Sundered Grail</title>
- <genre>Fantasy</genre>
- <price>5.95</price>
- <publish_date>2001-09-10</publish_date>
- <description>The two daughters of Maeve, half-sisters,
- battle one another for control of England. Sequel to
- Oberon's Legacy.</description>
- </book>
- <book id="bk106">
- <author>Randall, Cynthia</author>
- <title>Lover Birds</title>
- <genre>Romance</genre>
- <price>4.95</price>
- <publish_date>2000-09-02</publish_date>
- <description>When Carla meets Paul at an ornithology
- conference, tempers fly as feathers get ruffled.</description>
- </book>
- <book id="bk107">
- <author>Thurman, Paula</author>
- <title>Splish Splash</title>
- <genre>Romance</genre>
- <price>4.95</price>
- <publish_date>2000-11-02</publish_date>
- <description>A deep sea diver finds true love twenty
- thousand leagues beneath the sea.</description>
- </book>
- <book id="bk108">
- <author>Knorr, Stefan</author>
- <title>Creepy Crawlies</title>
- <genre>Horror</genre>
- <price>4.95</price>
- <publish_date>2000-12-06</publish_date>
- <description>An anthology of horror stories about roaches,
- centipedes, scorpions and other insects.</description>
- </book>
- <book id="bk109">
- <author>Kress, Peter</author>
- <title>Paradox Lost</title>
- <genre>Science Fiction</genre>
- <price>6.95</price>
- <publish_date>2000-11-02</publish_date>
- <description>After an inadvertant trip through a Heisenberg
- Uncertainty Device, James Salway discovers the problems
- of being quantum.</description>
- </book>
- <book id="bk110">
- <author>O'Brien, Tim</author>
- <title>Microsoft .NET: The Programming Bible</title>
- <genre>Computer</genre>
- <price>36.95</price>
- <publish_date>2000-12-09</publish_date>
- <description>Microsoft's .NET initiative is explored in
- detail in this deep programmer's reference.</description>
- </book>
- <book id="bk111">
- <author>O'Brien, Tim</author>
- <title>MSXML3: A Comprehensive Guide</title>
- <genre>Computer</genre>
- <price>36.95</price>
- <publish_date>2000-12-01</publish_date>
- <description>The Microsoft MSXML3 parser is covered in
- detail, with attention to XML DOM interfaces, XSLT processing,
- SAX and more.</description>
- </book>
- <book id="bk112">
- <author>Galos, Mike</author>
- <title>Visual Studio 7: A Comprehensive Guide</title>
- <genre>Computer</genre>
- <price>49.95</price>
- <publish_date>2001-04-16</publish_date>
- <description>Microsoft Visual Studio 7 is explored in depth,
- looking at how Visual Basic, Visual C++, C#, and ASP+ are
- integrated into a comprehensive development
- environment.</description>
- </book>
-</catalog>
\ No newline at end of file
diff --git a/examples/openai/inputs/plain_html_example.txt b/examples/openai/inputs/plain_html_example.txt
deleted file mode 100644
index 78f814ae..00000000
--- a/examples/openai/inputs/plain_html_example.txt
+++ /dev/null
@@ -1,105 +0,0 @@
-<body class="fixed-top-nav " style="padding-top: 57px;">
- <header>
- <nav id="navbar" class="navbar navbar-light navbar-expand-sm fixed-top">
- <div class="container">
- <a class="navbar-brand title font-weight-lighter" href="/"><span class="font-weight-bold">Marco&nbsp;</span>Perini</a> <button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar top-bar"></span> <span class="icon-bar middle-bar"></span> <span class="icon-bar bottom-bar"></span> </button>
- <div class="collapse navbar-collapse text-right" id="navbarNav">
- <ul class="navbar-nav ml-auto flex-nowrap">
- <li class="nav-item "> <a class="nav-link" href="/">About</a> </li>
- <li class="nav-item dropdown active">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Projects<span class="sr-only">(current)</span></a>
- <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
- <a class="dropdown-item" href="/projects/">Projects</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="/competitions/">Competitions</a>
- </div>
- </li>
- <li class="nav-item "> <a class="nav-link" href="/cv/">CV</a> </li>
- <li class="toggle-container"> <button id="light-toggle" title="Change theme"> <i class="fa-solid fa-moon"></i> <i class="fa-solid fa-sun"></i> </button> </li>
- </ul>
- </div>
- </div>
- </nav>
- <progress id="progress" value="0" max="284" style="top: 57px;">
- <div class="progress-container"> <span class="progress-bar"></span> </div>
- </progress>
- </header>
- <div class="container mt-5">
- <div class="post">
- <header class="post-header">
- <h1 class="post-title">Projects</h1>
- <p class="post-description"></p>
- </header>
- <article>
- <div class="projects">
- <div class="grid" style="position: relative; height: 861.992px;">
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 0px; top: 0px;">
- <a href="/projects/rotary-pendulum-rl/">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/rotary_pybullet.jpg" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Rotary Pendulum RL</h4>
- <p class="card-text">Open Source project aimed at controlling a real life rotary pendulum using RL algorithms</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 260px; top: 0px;">
- <a href="https://github.com/PeriniM/DQN-SwingUp" rel="external nofollow noopener" target="_blank">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/value-policy-heatmaps.jpg" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">DQN Implementation from scratch</h4>
- <p class="card-text">Developed a Deep Q-Network algorithm to train a simple and double pendulum</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 0px; top: 447.414px;">
- <a href="https://github.com/PeriniM/Multi-Agents-HAED" rel="external nofollow noopener" target="_blank">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/multi_agents_haed.gif" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Multi Agents HAED</h4>
- <p class="card-text">University project which focuses on simulating a multi-agent system to perform environment mapping. Agents, equipped with sensors, explore and record their surroundings, considering uncertainties in their readings.</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- <div class="grid-sizer"></div>
- <div class="grid-item" style="position: absolute; left: 260px; top: 370.172px;">
- <a href="/projects/wireless-esc-drone/">
- <div class="card hoverable">
- <figure>
- <picture> <img src="/assets/img/wireless_esc.gif" width="auto" height="auto" alt="project thumbnail" onerror="this.onerror=null; $('.responsive-img-srcset').remove();"> </picture>
- </figure>
- <div class="card-body">
- <h4 class="card-title">Wireless ESC for Modular Drones</h4>
- <p class="card-text">Modular drone architecture proposal and proof of concept. The project received maximum grade.</p>
- <div class="row ml-1 mr-1 p-0"> </div>
- </div>
- </div>
- </a>
- </div>
- </div>
- </div>
- </article>
- </div>
- </div>
- <footer class="fixed-bottom">
- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>
- </footer>
- <div class="hiddendiv common"></div>
-</body>
\ No newline at end of file
diff --git a/manual deployement/commit_and_push.sh b/manual deployement/commit_and_push.sh
index 4a0afbee..cb51c968 100755
--- a/manual deployement/commit_and_push.sh
+++ b/manual deployement/commit_and_push.sh
@@ -21,7 +21,7 @@ cd ..
commit_message="$1"
# Run Pylint on the specified Python files
-pylint scrapegraphai/**/*.py scrapegraphai/*.py examples/**/*.py tests/**/*.py
+pylint pylint scrapegraphai/**/*.py scrapegraphai/*.py
#Make the pull
git pull