Jump to content
Phishing Emails & YouTube Messages - Fake Giveaway Read more... ×
Search In
  • More options...
Find results that contain...
Find results in...

-Veteran007-

Member
  • Content Count

    64
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About -Veteran007-

  • Title
    Member

Profile Information

  • Gender
    Male
  • Location
    Estonia

System

  • CPU
    Intel Core i5 6500 @3,2GHz
  • Motherboard
    Asus B150M Pro Gaming
  • RAM
    Crucial Ballistix Sport 16GB Single Channel 2400MHz DDR4
  • GPU
    Sapphire Radeon Nitro+ RX 480 8GB
  • Case
    NZXT S340
  • Storage
    Crucial MX300 524GB SSD
  • PSU
    EVGA BQ650W
  • Display(s)
    LG 25UM58-P
  • Keyboard
    Trust GXT 280
  • Mouse
    Razer Deathadder 2013
  • Sound
    AKG K77
  • Operating System
    Windows 10 Home Premium SP1 64-bit
  1. -Veteran007-

    Parse HTML table with Python

    I haven't found time to work on my script for some time now. But now I have and figured I'd update. pandas.read_html really did work!! Don't know, how I missed that function. pd.read_html(link, header=0, index_col=0, attrs={'class': 'ss-data'}) That one line did it. Gets all the player names, frames and the results. Script is almost done, working now on pretty printing it to excel or csv. So I could make some statistics and stuff.
  2. -Veteran007-

    Parse HTML table with Python

    I am trying with BeautifulSoup, but I am so overwhelmed, I don't know what kind of functions should I use, to get the best result out of this table. I have tried this: records = [] for tr in table_soup.findAll("tr"): trs = tr.findAll("td") records.append(trs[0].text.replace('\n', ' ')) df = pd.DataFrame(data=records) And the result is: Players 1 2 3 4 5 6 7 8 9 10 Total Anonymous1 5 / 18 8 1 27 5 - 32 4 / 49 7 1 57 9 / 73 6 / 90 7 / 110 X 130 7 / 7 147 147 Anonymous2 7 2 9 6 3 18 - 2 20 - - 20 1 2 23 9 / 33 - 9 42 4 3 49 5 / 69 X - 1 80 80 Anonymous3 7 2 9 - 4 13 7 - 20 9 - 29 3 - 32 4 - 36 6 / 55 9 - 64 9 - 73 - / 1 84 84 Anonymous4 - 9 9 3 - 12 - 8 20 4 5 29 8 - 37 9 / 57 X 76 9 - 85 9 / 105 X 6 - 121 121 Game 1 So I can kinda get the result, but it also somewhy prints this same line all out on different rows before it gets to the second game results, that are in one row. Also I am so lost as to what to do next, I can get the frame numbers and total as column headers, but parsing results and totals as different variables/strings seems way too hard.
  3. -Veteran007-

    Parse HTML table with Python

    Hey! I get bowling results on my email. I have used Gmail API to get access to my email, find the emails and get to the result link. Now I am trying to parse the HTML table that is on the link, into a readable/logical table. I don't even know if I should use Pandas or just write to CSV file. I am using BeautifulSoup to parse through the HTML, but the table structure is so messy, I can't wrap my head around it. Here is a short example of the table code. Usually there are multiple tables on the page, tables sometimes with multiple player results, so it all makes that much harder. <table class="scoresheet tenpin TenPin"> <tr> <td> <table class="ss-data"> <tr class="cls_frameheader"> <td class="ss-name"> <t> Players </t> </td> <td> 1 </td> <td> 2 </td> <td> 3 </td> <td> 4 </td> <td> 5 </td> <td> 6 </td> <td> 7 </td> <td> 8 </td> <td> 9 </td> <td class="cls_framehdr10"> 10 </td> <td class="cls_frametotal"> <t> Total </t> </td> </tr> <td class="cls_player"> <tr class="notranslate"> Anonymous </td> <td class="cls_frame"> <table> <tr> <td> <table class="cls_tbl_balls"> <tr class="cls_ball_row"> <td class="cls_ball1"> 5 </td> <td class="cls_ball2"> / </td> </tr> </table> </td> </tr> <tr> <td class="cls_framescore"> 18 </td> </tr> </table> </td> <td class="cls_frame"> <table> <tr> <td> <table class="cls_tbl_balls"> <tr class="cls_ball_row"> <td class="cls_ball1"> 8 </td> <td class="cls_ball2"> 1 </td> </tr> </table> </td> </tr> <tr> <td class="cls_framescore"> 27 </td> </tr> </table> </td> <td class="cls_frame"> <table> <tr> <td> <table class="cls_tbl_balls"> <tr class="cls_ball_row"> <td class="cls_ball1"> 5 </td> <td class="cls_ball2"> - </td> </tr> </table> </td> </tr> <tr> <td class="cls_framescore"> 32 </td> </tr> </table> </td> <td class="cls_frame"> <table> <tr> <td> <table class="cls_tbl_balls"> <tr class="cls_ball_row"> <td class="cls_ball1"> 4 </td> <td class="cls_ball2"> / </td> </tr> </table> </td> </tr> <tr> <td class="cls_framescore"> 49 </td> </tr> </table> </td> <td class="cls_frame"> <table> <tr> <td> <table class="cls_tbl_balls"> <tr class="cls_ball_row"> <td class="cls_ball1"> 7 </td> <td class="cls_ball2"> 1 </td> </tr> </table> </td> </tr> <tr> <td class="cls_framescore"> 57 </td> </tr> </table> </td> That is the gist of the table. One full table is in the uploaded files. Could you guys give pointers on what to do, ideas on what other modules to use? test1.html
  4. -Veteran007-

    PSVR Review

    Thanks for the reply. Now I started to think, were there more games you tested, because I recall Luke mentioning only the Batman VR. Is the game selection so small? Maybe the PSVR might come out okay, if only it had as much good games as Vive and Rift have.
  5. -Veteran007-

    PSVR Review

    What interests me, is when Colton and Nick had motion sickness, was it in a bright room or in a dark room? If in bright room, did dimming the lights help with the tracking issues, jitter and did they still get motion sick or not?
  6. -Veteran007-

    Feenix Gaming Bundle Giveaway

    Rocking Razer Deathadder, I think the 2014 edition, the one before they decided that glossy sides isn't right and put rubber grips on, wish they had done it sooner. That is moving around on the Steelseries XXL mousepad, I like to whip my mouse around a lot. Keyboard is in the laptop, Doing a PC build before the going back to school. And listening to your awesome videos on AKG K77 headphones.
  7. -Veteran007-

    AMD Polaris Giveaway

    Well, currently I have a laptop, using the almighty GT 320M. But I swear, I was planning an upgrade this summer to desktop. Have planned i5-6400, 480GB SSD, 8/16GB RAM (TBD), S340 case with black and red, yes I am doing a black and red build. But I don't have any GPU reserved yet, because of all the new lineups, RX 480 was one of the ones I was considering. Clad to see AMD coming back and strong with their lineup, go AMD
  8. -Veteran007-

    LG PF1000U Ultra Short Throw Projector Giveaway

    Not only I would use it to play games with, I would watch movies with that, like being in the cinema, wow, LG is cool.
  9. -Veteran007-

    FinalMouse Giveaway

    Not to say bad things about my mouse I have right now, but it's sensor seems a bit touchy and when not moving it, the cursor still moves on the screen. So I would really like a something like this, which must be good, when esporters are using it
  10. -Veteran007-

    Platform Launch and MASSIVE GIVEAWAY

    Username: -Veteran007- Videos I liked: https://www.vessel.com/videos/LCoY5zfFfdamn, that is cool, let's just wait for the 150TB one!! woohoo! https://www.vessel.com/videos/JYZEYDYx0Always like the build logs, yet again, good work
  11. -Veteran007-

    Scrapyard Wars Episode 1c

    You should next time make another episode on reselling them, to see who gets the most profit out of the system and the next series would be with the money you got from the sell. And make way more of these.
  12. -Veteran007-

    Intel NUC Giveaway

    Nice, would love to get one! Thank you!
  13. -Veteran007-

    Intel Core i7 5820K Giveaway

    It would really give me an excuse to build a better PC, I have been dying to have a better PC. It would be my first PC build, but the more awesome it would be with 5820K, thank you!!!
  14. -Veteran007-

    ~100% memory usage at start up

    Well, again sorry for taking so long to answer, but the problem hasn't been constant these last few days. I have tried what you suggested, but still. I further looked at the svchost.exe with Resource monitor and there I could see, what it runs on RAM, CPU and HDD, and the problems is from HDD. When the svchost.exe was using about 1,1GB of RAM(!WOW!), the disk was very active, the one thing that stood out a lot, with its high reading, was something called datastore.edb, it used about 2,3 million bytes per second, which is 2,3MB and now I have kept an eye on it, and it really is there, every time the system starts to lag and has memory leak. The file path is C://Windows/SoftwareDistribution/DataStore/Datastore.edb
  15. -Veteran007-

    ~100% memory usage at start up

    Sorry for taking long time to answer, but I did try to cancel most of them, but avastUI thing said that I don't have permission to disable that, I didn't find how to disable it in the avast program itself. Now, I didn't disable all of the startups, but I did 2 restarts for the laptop. First one was with most of the startups disabled and also, taking advice from @Mojo-Jojo I didn't exactly uninstall it, but I did disable 2 things, that it does at startup, the first restart was a success, it didn't have any memory leak at all. The 2 things were the check of rootkits at startup and allowing full access to the harddrive on startup. The second time I turned the 2 options back on in the avast, other startups stayed the same. This time the memory leak was there. I also used this time Resource Monitor it showed that svchost.exe was using a lot of hard drive when the memory leak occurred. Is it really connected with Avast, what should I do? Start using another antivirus?
×