Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the table is upside down
#1
Hi,

I'm coming back because I can't scrape the table

the table is upside down

Help: how can I do it?
Yoriz write Aug-23-2021, 02:11 PM:
Please don't attach code files
Please post all code, output and errors (in their entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.

Attached Files

.py   main.py (Size: 437 bytes / Downloads: 247)
Reply
#2
(Aug-23-2021, 01:56 PM)phochka Wrote: I'm coming back because I can't scrape the table

the table is upside down

Help: how can I do it?
It's not upside down,it's CSS on the web-site that make it look the way it look on site.
You get the source code without CSS,then it will look quite different.
Have to parse out data in way that make sense,like using a data structure list,dict...ect

Pandas can read table on web-site an keep the look similar.
It's very power to if need to something with data like team has most goal,Plot...ect...
Here a Notebook see tables look quite similar as on web-site.

You most start to use code tag,do not attach code as a file.
Reply


Forum Jump:

User Panel Messages

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