Skip to content

Releases: hansputera/brainly-scraper-languages

v2.0.12

05 May 13:21
Compare
Choose a tag to compare

Changelogs

  1. Fixed blank results using the Brainly.searchWithMT method (#16 (comment))
  2. 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');
  1. 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

07 Dec 03:37
a195182
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.8...v2.0.9

v2.0.8

05 Dec 09:12
ab06be3
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/hansputera/brainly-scraper-languages/commits/v2.0.8