yanndebray / programming-GPTs

Book in writing ... 🦜
https://yanndebray.github.io/programming-GPTs/
MIT License
3 stars 0 forks source link

Fix Daily Tech Podcast #3

Closed yanndebray closed 1 month ago

yanndebray commented 1 month ago
Traceback (most recent call last):
  File "/home/runner/work/programming-GPTs/programming-GPTs/chap6/6_3_daily_tech_podcast.py", line 1[13](https://github.com/yanndebray/programming-GPTs/actions/runs/9010117278/job/24755589032#step:6:14), in <module>
Channel Title: TechCrunch
Channel Description: Startup and Technology News
Channel Link: https://techcrunch.com/
Last Build Date: Thu, 09 May 2024 00:01:49 +0000
    (title,link,text) = scrape_article(item,episode)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/programming-GPTs/programming-GPTs/chap6/6_3_daily_tech_podcast.py", line 34, in scrape_article
    text = soup.find(class_="article-content").get_text()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_text'

image

yanndebray commented 1 month ago

class changed to entry-content