Conversation
create dir not only on Mac + executable + better verbosity
This was referenced May 29, 2019
Closed
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO:
Introduction de deux nouveaux scripts python dans l'espoir de réactiver le JSCrawling.
bin/install_chromium.pyva aller téléchargerchromiumetchromedriver, deux outils nécessaires pour contrôlerchrome headlessviaselenium.Les binaires vont se placer dans un dossier temporaire dont le nom peut être modifier via env vars, et qui par défaut sera
local-chromium. La version de chromium téléchargé peut elle aussi être précisé via env vars.Attention, cette ce numéro de version n'est pas le SEMVER (ex:
73.0.3679.0) mais le numéro de build, ici624487par défaut.La dernière version pour chaque plateforme peut se trouver à l’adresse
https://commondatastorage.googleapis.com/chromium-browser-snapshots/{plateforme}/LAST_CHANGE(ex:https://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/LAST_CHANGE)bin/pop_chrome.pyn'est qu'un exemple d'utilisation de chrome headless avec seleniumCe fichier contient du code dupliqué est n'est qu'une PoC.
scrolldown_and_unfold.jsa été modifier pour ne pas quitter la page tout en gardant les events JS qui afficherais des bouts de pages cachés.