Python Forum
how to convert string soup to raw string ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to convert string soup to raw string ?
#3
Quote:I try to search it with a regx but get an error
This is your first problem here. If you are using BeautifulSoup to parse the site, then you shouldnt need to use regex. Otherwise you dont need BeautifulSoup at all. BeautifulSoup will parse the site to find tags, and in those tags you can get the string content from them. Search BeautifulSoup website for tutorials on how to use BeautifulSoup. We also have some tutorials here too.
Recommended Tutorials:
Reply


Messages In This Thread
RE: how to convert string soup to raw string ? - by metulburr - Aug-16-2017, 12:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Soup('A') new_coder_231013 6 2,830 Aug-12-2023, 10:55 AM
Last Post: Pubfonts
  Scrape for html based on url string and output into csv dana 13 5,699 Jan-13-2021, 03:52 PM
Last Post: snippsat
  How to send unicode string encoded in utf-8 in http request in Python MaverinCode 1 32,789 Nov-08-2020, 06:45 AM
Last Post: JaiM
  string parsing with re.search() delahug 9 3,811 Jun-04-2020, 07:02 PM
Last Post: delahug
  URL String with parameters nikoloz 14 6,221 May-15-2020, 08:20 AM
Last Post: DeaD_EyE
  Pandas tuple list returning html string shansaran 0 1,828 Mar-23-2020, 08:44 PM
Last Post: shansaran
  Cannot get contents from ul.li.span.string LLLLLL 8 4,148 Nov-29-2019, 10:30 AM
Last Post: LLLLLL
  [Learning:bs4, re.search] - RegEx string cutoff jarmerfohn 5 3,796 Nov-23-2019, 09:32 AM
Last Post: buran
  ValueError: could not convert string to float Prince_Bhatia 2 4,200 Jan-26-2019, 02:37 PM
Last Post: perfringo
  TypeError: string indices must be integer vanderdecken 1 4,163 Nov-30-2018, 02:24 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020