
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
동일하게 한것같은데 제목 옆의 링크를 못가져옵니다.

작성한 코드 및 에러 메세지
## 여러개의 뉴스를 반복문으로 하나씩 가져오기
for li in lis:
a = li.select_one('a.news_tit')
print(a.text.a['href'])
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-16-2a70037f5df0> in <module>
3 for li in lis:
4 a = li.select_one('a.news_tit')
----> 5 print(a.text.a['href'])
AttributeError: 'str' object has no attribute 'a'
