Module: BrightData::LinkedIn::Endpoint Private
- Included in:
- Companies, Jobs::CollectByUrl, Jobs::DiscoverByKeyword, Jobs::DiscoverByUrl, People::DiscoverNewProfiles, Posts::CollectByUrl, Posts::DiscoverByCompanyUrl, Posts::DiscoverByProfileUrl, Posts::DiscoverByUrl, Profiles
- Defined in:
- lib/brightdata/linkedin/endpoint.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Shared trigger/scrape helpers for LinkedIn endpoint classes.
Including this module gives a class the ClassMethods#endpoint macro, which declares a whole endpoint mode (its ‘#initialize`, `#trigger`, `#scrape`, input validation, and result parsing) from a few keywords.
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- TRIGGER_PATH =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Returns Bright Data trigger path.
"/datasets/v3/trigger"- SCRAPE_PATH =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Returns Bright Data synchronous scrape path.
"/datasets/v3/scrape"
Class Method Summary collapse
- .included(base) ⇒ Object private
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/brightdata/linkedin/endpoint.rb', line 21 def self.included(base) base.extend(ClassMethods) end |