title: how can i parsing some string which i want use bs4?
body: <p>this is html architecture</p>
  <pre><code>&lt;a href=&quot;/main/list.nhn?mode=LS2D&amp;amp;mid=shm&amp;amp;sid1=100&amp;amp;sid2=264&quot; class=&quot;snb_s11 nclicks(lmn_pol.mnl,,1)&quot;&gt;BlueHouse &lt;span class=&quot;blind&quot;&gt;selected&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  <p>and then below is my source code to get only Blue House</p>
  <pre class="lang-py prettyprint-override"><code> middle_category = soup.find('a',{'class':'snb_s11 nclicks(lmn_pol.mnl,,1)'})
  </code></pre>
  <p><strong>when i run that code to get only Blue House, it's gave me result with selected.</strong></p>
  <h2>but i wanna only Blue House. so How can i do for it?</h2>
  <p>bellow is my full code</p>
  <pre><code>    def crwaling_data_bluehouse(self):
          # setting web driver to get object
          chrome_driver = webdriver.Chrome('D:/바탕 화면/인턴/python/crawling_software/crwaler/news_crwaling/chromedriver.exe')
          url = 'https://news.naver.com/main/list.nhn?mode=LS2D&amp;mid=shm&amp;sid1=100&amp;sid2=264'
          chrome_driver.get(url)
          html = chrome_driver.page_source
          soup = BeautifulSoup(html, 'html.parser')
          
          #get main category
          main_category = soup.find('a',{'class':'nclicks(LNB.pol)'}).find('span',{'class':'tx'}).get_text()
          self.set_main_category(main_category)
          
          #get middle category
          middle_category = soup.find('a',{'class':'snb_s11 nclicks(lmn_pol.mnl,,1)'}).get_text()
          middle_category = middle_category.find_next(text = True)
          self.set_middle_category(middle_category)
          
          #get title
          title = soup.find('ul',{'class':'type06_headline'}).find('a')['href']
          self.set_title(title)
  </code></pre>