A Smart, Automatic, Fast and Lightweight Web Scraper for Python
Python aiartificial-intelligenceautomationcrawlermachine-learningpythonscrapescraperscrapingweb-scrapingwebautomationwebscraping
Added Docstrings to the module
Narasimha199770c84a9b0491
diff --git a/autoscraper/auto_scraper.py b/autoscraper/auto_scraper.pyindex ebe9f22..a42e8e1 100644--- a/autoscraper/auto_scraper.py+++ b/autoscraper/auto_scraper.py@@ -26,9 +26,9 @@ class AutoScraper(object):get_result_exact() - Get exact results based on the previously learnt stack-listget_results() - Get exact and similar results based on the previously learnt stack-list.save() - Serialize the stack-list and url as JSON and save it to disk.- load() - De-serialize the JSON representation of the stack-list and the url load it back+ load() - De-serialize the JSON representation of the stack-list and the url and loads it back.remove_rules() - Remove one or more learnt rule/s from the stack-list.- keep_rules() - Keep only the specified learnt rules from the stack-list except and remove others.+ keep_rules() - Keep only the specified learnt rules from the stack-list and remove others."""request_headers = {@@ -63,7 +63,7 @@ class AutoScraper(object):def load(self, file_path):"""- De-serialize the JSON representation of the stack-list and the url load it back+ De-serialize the JSON representation of the stack-list and the url and loads it back.Parameters----------