Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
沈秋雨
/
import_hk_songs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
22f7456f
...
22f7456fd61ebb6e6c2d05ccde1ec27a0c304772
authored
2026-07-08 15:40:51 +0800
by
沈秋雨
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(etl): 移除无效 psycopg2 依赖,ssl_context 改从环境变量读取
1 parent
d4e1bfc7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
etl_to_crawler/config.py
requirements.txt
etl_to_crawler/config.py
View file @
22f7456
...
...
@@ -27,7 +27,7 @@ CRAWLER_DB = {
'user'
:
os
.
environ
[
'CRAWLER_DB_USER'
],
'password'
:
os
.
environ
[
'CRAWLER_DB_PASSWORD'
],
'database'
:
os
.
environ
[
'CRAWLER_DB_NAME'
],
'ssl_context'
:
None
,
'ssl_context'
:
None
if
os
.
environ
.
get
(
'CRAWLER_DB_SSL'
,
'false'
)
.
lower
()
!=
'true'
else
True
,
}
OSS_CONFIG
=
{
...
...
requirements.txt
View file @
22f7456
...
...
@@ -19,7 +19,6 @@ oss2==2.19.1
packaging==26.2
pg8000==1.31.5
pluggy==1.6.0
psycopg2==2.9.12
pycparser==3.0
pycryptodome==3.23.0
Pygments==2.20.0
...
...
Please
register
or
sign in
to post a comment