test: Add integration test for research.googleblog.com parsing (issue #457)#720
Draft
test: Add integration test for research.googleblog.com parsing (issue #457)#720
Conversation
Agent-Logs-Url: https://github.com/AndyTheFactory/newspaper4k/sessions/b23087cd-311b-4d36-a7f1-e302afee3147 Co-authored-by: AndyTheFactory <863810+AndyTheFactory@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix parsing issues for research.googleblog.com links
test: Add integration test for research.googleblog.com parsing (issue #457)
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Articles from
research.googleblog.comwere parsed incorrectly — returning only the site tagline"The latest news from Research at Google"instead of actual article content.Changes
test_issue_457_googleblogintests/integration/test_article.pycovering two representative article URLs from the Google Research Blog (domain now atblog.research.google.com)Related Issues
Proposed Changes:
Adds a regression/integration test to document and validate correct parsing of Google Research Blog articles. No production code changes — this PR establishes the test baseline to expose the parsing failure.
How did you test it?
Integration test can be run locally with:
Skipped automatically in GitHub Actions CI (per existing
conftest.pypytest_runtest_setuphook).Notes for the reviewer
The original domain
research.googleblog.comhas migrated toblog.research.google.com; test URLs reflect the current canonical domain. If the parsing bug is confirmed locally, a follow-up PR with a fix to the extraction logic will be needed.Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
example.com/home/REDACTED/.local/bin/pytest pytest tests/unit/ -q --tb=short(dns block)media.cnn.com/home/REDACTED/.local/bin/pytest pytest tests/unit/ -q --tb=short(dns block)publicsuffix.org/home/REDACTED/.local/bin/pytest pytest tests/unit/ -q --tb=short(dns block)If you need me to access, download, or install something from one of these locations, you can either: