Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Prog2
/
stat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d127ae60
authored
Aug 13, 2024
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
28fad0c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
moodle_scraping.py
+2
-2
No files found.
moodle_scraping.py
View file @
d127ae60
...
@@ -67,8 +67,8 @@ def main():
...
@@ -67,8 +67,8 @@ def main():
with
requests
.
Session
()
as
session
:
with
requests
.
Session
()
as
session
:
shibboleth_auth
(
session
,
ILIAS_URL
,
{
shibboleth_auth
(
session
,
ILIAS_URL
,
{
# BME címtár belépési adatok
# BME címtár belépési adatok
'j_username'
:
print
(
os
.
environ
[
'USER'
])
,
'j_username'
:
os
.
environ
[
'M_USER'
]
,
'j_password'
:
print
(
os
.
environ
[
'PASS'
])
,
'j_password'
:
os
.
environ
[
'M_PASS'
]
,
'_shib_idp_revokeConsent'
:
'1'
,
'_shib_idp_revokeConsent'
:
'1'
,
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment