Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
software-project-WS25
Reddit Team
Commits
f4060e0c
Commit
f4060e0c
authored
Dec 15, 2025
by
Benavides Ontiveros
Browse files
modify title field for metadata
parent
b1bdf098
Pipeline
#12296
canceled with stages
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app.py
View file @
f4060e0c
...
...
@@ -159,7 +159,7 @@ for subreddit_name in subreddit_list:
# Output metadata file in .meta folder
metadata_filename
=
os
.
path
.
join
(
META_DIR
,
f
"reddit_
{
subreddit_name
}
_
{
timestamp_ms
}
.txt.json"
)
metadata
=
{
"title"
:
f
"Reddit
{
subreddit_name
}
"
,
"title"
:
f
"Reddit
{
subreddit_name
}
{
timestamp_ms
}
"
,
"backlink"
:
data_filename
,
"language"
:
"en"
,
"classifications"
:
[
subreddit_name
],
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment