Created
September 26, 2020 20:58
-
-
Save SaraM92/e6af417310755b4154269f56bc642d46 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Import autoscraper | |
from autoscraper import AutoScraper | |
#A stackoverflow question we want to find questions related to | |
url = 'https://stackoverflow.com/questions/24512112/how-to-print-struct-variables-in-console' | |
#A list of a related thread to use as a guide to find similar questions | |
wanted_list = ["Assign one struct to another in C"] | |
#Collect similiar threads | |
scraper = AutoScraper() | |
result = scraper.build(url, wanted_list) | |
print(*result, sep="\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment