Skip to content

Commit 814dba9

Browse files
authored
Merge pull request #29 from jasonleonhard/patch-2
Update README.md
2 parents d80df3e + 5f1e6ad commit 814dba9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,13 @@ scraper.get_result_exact('https://finance.yahoo.com/quote/MSFT/')
103103
**Another example:** Say we want to scrape the about text, number of stars and the link to pull requests of Github repo pages:
104104

105105
```python
106+
from autoscraper import AutoScraper
107+
106108
url = 'https://github.com/alirezamika/autoscraper'
107109

108-
wanted_list = ['A Smart, Automatic, Fast and Lightweight Web Scraper for Python', '662', 'https://github.com/alirezamika/autoscraper/issues']
110+
wanted_list = ['A Smart, Automatic, Fast and Lightweight Web Scraper for Python', '2.2k', 'https://github.com/alirezamika/autoscraper/issues']
109111

112+
scraper = AutoScraper()
110113
scraper.build(url, wanted_list)
111114
```
112115

0 commit comments

Comments
 (0)