Code Monkey home page Code Monkey logo

jobfinder's Introduction

JobFinder

Parser pour pole-emploi + Envoi de mail

Noter que chaque fichier PDF du dossier sera envoyé en pièce jointe du mail.

usage: JobFinder.py [-h] [-f] [-d [DEPARTEMENTS]] -k [KEYWORDS] [-t [TEST]]
                    [-s [SEND]]

optional arguments:
  -h, --help            show this help message and exit
  -f, --france          Recherche dans toute la France
  -d [DEPARTEMENTS], --departements [DEPARTEMENTS]
                        Recherche par département, eg: --departements
                        71,75,92,95
  -k [KEYWORDS], --keywords [KEYWORDS]
                        Mots clés à rechercher (recherche exclusive), eg:
                        --keywords PHP,python,java
  -t [TEST], --test [TEST]
                        Envoyer quelques mails de test à l'adresse indiquée,
                        eg: --test [email protected]
  -s [SEND], --send [SEND]
                        Envoyer les mails à tous les destinataires de la base
                        d'adresses, eg: --send [email protected]

Exemples :

# cherche les offres en Saône et Loire sur les mots clés PHP et Python, et envoie un mail de test à username
./JobFinder.py -d 71 -k PHP,python --test [email protected] 


# cherche les offres en France sur le mot clé "javascript", et envoie un mail de test à username
./JobFinder.py -f -k javascript --test [email protected]


# cherche les offres en France sur le mot clé "javascript", et envoie les mails à tous les contacts trouvés
./JobFinder.py -f -k javascript --send [email protected]

jobfinder's People

Contributors

lc-thomas avatar

Watchers

 avatar

jobfinder's Issues

windows Issues

Testé sur Windows :
Nécessaire pour fonctionner :

  • Création du fichier : already_sent.csv
Traceback (most recent call last):
  File "D:\Users\xxx\Desktop\JobFinder.py", line 220, in <module>
    jf.send_mails()
  File "D:\Users\xxx\Desktop\JobFinder.py", line 137, in send_mails
    with open('already_sent.csv') as f:
IOError: [Errno 2] No such file or directory: 'already_sent.csv'
  • Modification les lignes :
103 =>                                 f.write(line.encode('utf-8')+"\n")      
131 =>            print('> Votre choix : ', end == "")

resultat limité a 9

Salut,

Meme quand les résultats sont supérieurs à 10 offres d'emploi il n'y a que 9 offres qui s'affichent.

Cordialement.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.