newspaper4k icon indicating copy to clipboard operation
newspaper4k copied to clipboard

[BUG] fail to get images from article

Open thangckt opened this issue 6 months ago • 0 comments

Describe the bug get wrong images from the article

To Reproduce run this code

from newspaper import Article
url = 'https://www.24h.com.vn/thoi-trang-hi-tech/iphone-noi-tieng-mot-thoi-nay-gia-re-co-man-oled-camera-chup-dep-c407a1590584.html'
a = Article(url)
a.download()
a.parse()
a.images

Expected behavior expect images from the content, but can not get any of them.

System information

  • OS: Windows
  • Python version: 3.11
  • Library version: git-master

thangckt avatar Aug 02 '24 19:08 thangckt