Skip to content

Conversation

barrust
Copy link
Collaborator

@barrust barrust commented Jan 19, 2024

resolves #194

@barrust barrust linked an issue Jan 19, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e715155) 91.43% compared to head (f5ac7c4) 91.43%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #195   +/-   ##
=======================================
  Coverage   91.43%   91.43%           
=======================================
  Files          30       30           
  Lines        2464     2464           
=======================================
  Hits         2253     2253           
  Misses        211      211           

@barrust
Copy link
Collaborator Author

barrust commented Jan 19, 2024

also addresses #38

from goose3 import Goose

with Goose() as g:
    g.config.use_meta_language = False
    g.config.target_language = "hy"
    art = g.extract(url="http://www.panarmenian.net/arm/news/250976/")
    print(art.cleaned_text)
    print(art.meta_lang)

@barrust barrust merged commit 9379930 into master Jan 19, 2024
@barrust barrust deleted the 194-cant-extract-hindi-news branch January 19, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't extract hindi news
1 participant