[{New}] Scrap Td Hack Bricks 2023 JANUARY Telecharger

Тема в разделе "Курилка", создана пользователем FleurHorne, 22 фев 2023.

  1. TopicStarter Overlay
    FleurHorne

    FleurHorne Младший механик

    Welcome!



    [​IMG]

    [​IMG]


    About the Game:
    I'm trying to write a simple Py web scraping file to extract specific values from a table on web page, but the results aren't coming in the current
    WebScraping - Extracting a value from td class.


    I'm trying to write a simple Py web scraping file to extract specific values from a table on web page, but the results aren't coming in the current formal.


    I guess I'm doing something incorrect with the soup.find command.


    I'm expecting the value of 93,099, but the print provides the result.


    I'm not able to convert the format of results into string either.


    A screenshot in case it helps.


    3 Answers 3.


    Trending sort.


    Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.


    It falls back to sorting by highest score if no posts are trending.


    Switch to Trending sort.


    You can access it using contents property.


    In the future, whenever you do not know the properties of the object returned use __dict__ to decode the object.


    Thanks a ton.


    I used results.string to get it into a cleaner format, and then converting into int() by removing the , first.


    Choose your methods wisely.


    There is another method called results.strings that gives you all strings.


    Read up documentation and check if everytime use of such method makes sense.






    scrap td hack