Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tool_matrixbot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FOSS-AG
tool_matrixbot
Commits
dc9bbebb
Unverified
Commit
dc9bbebb
authored
Feb 20, 2019
by
Alexander Becker
Committed by
GitHub
Feb 20, 2019
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into project_structure
parents
6361cda4
5e1f01dd
No related branches found
No related tags found
1 merge request
!3
Project structure
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Pipfile
+2
-0
2 additions, 0 deletions
Pipfile
Pipfile.lock
+18
-1
18 additions, 1 deletion
Pipfile.lock
klo/klo.py
+15
-0
15 additions, 0 deletions
klo/klo.py
with
35 additions
and
1 deletion
Pipfile
+
2
−
0
View file @
dc9bbebb
...
...
@@ -7,6 +7,8 @@ verify_ssl = true
[packages]
matrix-client
=
"=
=
0.3
.
2
"
beautifulsoup4
=
"*"
requests
=
"*"
[requires]
python_version
=
"3.7"
This diff is collapsed.
Click to expand it.
Pipfile.lock
+
18
−
1
View file @
dc9bbebb
{
"_meta"
:
{
"hash"
:
{
"sha256"
:
"6
4a4b149949eab796895d1a5c3cb713100b5d13be4f4e6171db51ac7d68f3138
"
"sha256"
:
"6
8ff6a56558a01e949cd70a0f010dc4f4d64448df6eaceca52c5b6aa6ed49125
"
},
"pipfile-spec"
:
6
,
"requires"
:
{
...
...
@@ -16,6 +16,15 @@
]
},
"default"
:
{
"beautifulsoup4"
:
{
"hashes"
:
[
"sha256:034740f6cb549b4e932ae1ab975581e6103ac8f942200a0e9759065984391858"
,
"sha256:945065979fb8529dd2f37dbb58f00b661bdbcbebf954f93b32fdf5263ef35348"
,
"sha256:ba6d5c59906a85ac23dadfe5c88deaf3e179ef565f4898671253e50a78680718"
],
"index"
:
"pypi"
,
"version"
:
"==4.7.1"
},
"certifi"
:
{
"hashes"
:
[
"sha256:47f9c83ef4c0c621eaef743f133f09fa8a74a9b75f037e8624f83bd1b6626cb7"
,
...
...
@@ -50,8 +59,16 @@
"sha256:502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e"
,
"sha256:7bf2a778576d825600030a110f3c0e3e8edc51dfaafe1c146e39a2027784957b"
],
"index"
:
"pypi"
,
"version"
:
"==2.21.0"
},
"soupsieve"
:
{
"hashes"
:
[
"sha256:afa56bf14907bb09403e5d15fbed6275caa4174d36b975226e3b67a3bb6e2c4b"
,
"sha256:eaed742b48b1f3e2d45ba6f79401b2ed5dc33b2123dfe216adb90d4bfa0ade26"
],
"version"
:
"==1.8"
},
"urllib3"
:
{
"hashes"
:
[
"sha256:61bf29cada3fc2fbefad4fdf059ea4bd1b4a86d2b6d15e1c7c0b582b9752fe39"
,
...
...
This diff is collapsed.
Click to expand it.
klo/klo.py
+
15
−
0
View file @
dc9bbebb
...
...
@@ -4,7 +4,22 @@ from FeatureExamples import FeatureExamples
from
FeatureHandler
import
FeatureHandler
from
matrix_client.client
import
MatrixClient
import
os
from
bs4
import
BeautifulSoup
import
requests
def
find_room
():
html
=
requests
.
get
(
"
https://foss-ag.de/
"
).
text
soup
=
BeautifulSoup
(
html
,
'
html.parser
'
)
date
=
(
soup
.
find
(
id
=
"
ag-termine
"
)
.
find_next_sibling
(
"
div
"
)
.
find
(
"
ul
"
)
.
find
(
"
li
"
)
.
get_text
()
.
strip
()
)
return
date
def
main
():
# connect to server and join room
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment