Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
eossr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
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
ESCAPE2020
WP3
eossr
Commits
242a8638
Commit
242a8638
authored
3 years ago
by
Vuillaume
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_bs4' into 'master'
remove warning from BeautifulSoup See merge request
!62
parents
7e25e8d9
930dc1a4
No related branches found
No related tags found
1 merge request
!62
remove warning from BeautifulSoup
Pipeline
#139512
passed
3 years ago
Stage: install
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eossr/api/zenodo/__init__.py
+1
-1
1 addition, 1 deletion
eossr/api/zenodo/__init__.py
with
1 addition
and
1 deletion
eossr/api/zenodo/__init__.py
+
1
−
1
View file @
242a8638
...
...
@@ -538,7 +538,7 @@ class Record:
def
print_info
(
self
):
metadata
=
self
.
data
[
'
metadata
'
]
descrp
=
BeautifulSoup
(
metadata
[
'
description
'
]
).
text
descrp
=
BeautifulSoup
(
metadata
[
'
description
'
]
,
features
=
'
html.parser
'
).
get_
text
()
print
(
f
"
=== Record #
{
self
.
id
}
===
"
)
print
(
f
"
Title:
{
self
.
title
}
===
"
)
print
(
f
"
DOI:
{
self
.
data
[
'
doi
'
]
}
"
)
...
...
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