-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
37 lines (28 loc) · 804 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- coding: utf-8 -*-
"""
@Author:ForSmile
@Time:2023/2/25 19:43
@Contact:[email protected]
"""
import os
# Replace this url that you want to crawl
Url = 'https://www.researchgate.net/profile/Leitao-Sha'
# Export format. support for xlsx / md / csv / json / bibtex
Format = 'bibtex'
# ROOT PATH
rootPath = os.path.dirname(os.path.realpath(__file__))
# Chrome Option
isAutoChromeDriver = False
# chrome.exe
Chrome_Binary_Location = rootPath + r"\chrome\chrome.exe"
# chromedriver
Chrome_Driver_Path = rootPath + r"\chromedriver\chromedriver.exe"
# export path
ExportPath = rootPath + r"\\DATA\\"
# Data Clean
isDataClean = True
CleanField = {
'publication': ['SSRN Electronic Journal', ''],
# exclude some useless data, such as ["SSRN Electronic Journal", "..."]
'doi': [],
}