Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
crawlersNoticias
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
m3
crawlersNoticias
Commits
4925b84d
Commit
4925b84d
authored
Mar 18, 2025
by
Ulises Morales Ramírez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correcion en diarioAmanecer, corregidos los items
parent
1f690aab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
1 deletion
+43
-1
2017-04-23.json
spiders/daily/diarioAmanecer/2017-04-23.json
+3
-0
2025-03-18.json
spiders/daily/diarioAmanecer/2025-03-18.json
+39
-0
noticias.py
...s/daily/diarioAmanecer/diarioAmanecer/spiders/noticias.py
+1
-1
No files found.
spiders/daily/diarioAmanecer/2017-04-23.json
0 → 100644
View file @
4925b84d
[
]
\ No newline at end of file
spiders/daily/diarioAmanecer/2025-03-18.json
0 → 100644
View file @
4925b84d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
spiders/daily/diarioAmanecer/diarioAmanecer/spiders/noticias.py
View file @
4925b84d
...
@@ -45,7 +45,7 @@ class NoticiasSpider(scrapy.Spider):
...
@@ -45,7 +45,7 @@ class NoticiasSpider(scrapy.Spider):
topic
=
class_list
.
get
(
'7'
,
''
)
.
split
(
"category-"
)[
1
]
if
'7'
in
class_list
else
None
topic
=
class_list
.
get
(
'7'
,
''
)
.
split
(
"category-"
)[
1
]
if
'7'
in
class_list
else
None
# Preparar item
# Preparar item
item
=
Cuestiondepolemica
Item
()
item
=
Diarioamanecer
Item
()
item
[
'date'
]
=
post
.
get
(
'date'
)
item
[
'date'
]
=
post
.
get
(
'date'
)
item
[
'title'
]
=
remove_tags
(
post
.
get
(
'title'
,
{})
.
get
(
'rendered'
,
''
))
item
[
'title'
]
=
remove_tags
(
post
.
get
(
'title'
,
{})
.
get
(
'rendered'
,
''
))
item
[
'text'
]
=
remove_tags
(
content
)
item
[
'text'
]
=
remove_tags
(
content
)
...
...
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