Releases: hansputera/brainly-scraper-languages
Releases · hansputera/brainly-scraper-languages
v2.0.12
Changelogs
- Fixed blank results using the
Brainly.searchWithMT
method (#16 (comment)) - Change the parameters "Brainly.search", and "Brainly.searchWithMT" to
(question, language, length, options)
Example:
// If you want customize the request options.
brainly.search('Pythagoras', 'id', 10, {
'headers': {
'User-Agent': 'Your User Agent Request'
}
});
// How about if you want use others language?
brainly.search('Pythagoras', 'es');
// Or, (default language: id)
brainly.search('Pythagoras');
- Increased search speed. Because, we store the search results in the cache file. And, if you use the
Brainly.searchWithMT
method, you do not need to enter the country code correctly in the constructor, because this method will make requests to all Brainly sites in the same language.
Links
Full Changelog: https://github.com/hansputera/brainly-scraper-languages/commits/v2.0.12
NPM: https://npmjs.com/package/brainly-scraper-v2
v2.0.9
What's Changed
- chore(docs): update by @hansputera in #13
- feat(lib): add France country, and file caching. by @hansputera in #14
Full Changelog: v2.0.8...v2.0.9
v2.0.8
What's Changed
- Merging develop branch by @hansputera in #6
- New release 2.0.4-1 by @hansputera in #7
- v2.0.6 -> v.20.7 by @hansputera in #10
- feat: add new search method to avoid 403 forbidden exception. by @hansputera in #12
Full Changelog: https://github.com/hansputera/brainly-scraper-languages/commits/v2.0.8