woob.capabilities.job

class BaseJobAdvert(id='', url=NotLoaded, backend=None)[source]

Bases: BaseObject

Represents a job announce.

Variables:
  • url – (str) url

  • publication_date – (date, datetime) Date when the announce has been published

  • society_name – (str) Name of the society taht published the announce

  • place – (str) Place where the job take place

  • job_name – (str) Name of the job

  • title – (str) Title of the announce

  • contract_type – (str) Type of the contrat : CDI, CDD

  • pay – (str) Amount of the salary

  • description – (str) Description of the job

  • formation – (str) Required formation

  • experience – (str) Required experience

classmethod id2url(_id)[source]

Overloaded in child classes provided by backends.

property page_url

Get page URL of the announce.

class CapJob[source]

Bases: Capability

Capability of job annouce websites.

search_job(pattern=None)[source]

Iter results of a search on a pattern.

Parameters:

pattern (str) – pattern to search on (default: None)

Return type:

iter[BaseJobAdvert]

advanced_search_job()[source]

Iter results of an advanced search

Return type:

iter[BaseJobAdvert]

get_job_advert(_id, advert=None)[source]

Get an announce from an ID.

Parameters:
  • _id (str) – id of the advert

  • advert (BaseJobAdvert) – the advert (default: None)

Return type:

BaseJobAdvert or None if not found.