Skip to content

Commit

Permalink
Merge pull request #47 from unb-mds/carlos
Browse files Browse the repository at this point in the history
Definindo o diretório de forma automática
  • Loading branch information
DaniloCTM authored Oct 10, 2023
2 parents 1b71df6 + 6c29488 commit 7b236e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
6 changes: 4 additions & 2 deletions Code/Extrator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Em caso de erro é necessário manipular o sleep, pois depende da velocidade da sua internet

import os
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver import ActionChains
Expand All @@ -8,7 +8,9 @@
from selenium.webdriver.common.keys import Keys
from time import sleep

download_dir = "/" #coloque o caminho onde você deseja que o download seja feito
diretorio_atual = os.path.dirname(os.path.abspath(__file__))

download_dir = diretorio_atual + "/pdfs" #coloque o caminho onde você deseja que o download seja feito

options = webdriver.ChromeOptions()

Expand Down
15 changes: 0 additions & 15 deletions package.json

This file was deleted.

0 comments on commit 7b236e7

Please sign in to comment.