Skip to content

Code outputting empty csv  #7

@JulesMillen

Description

@JulesMillen

Hi there,

I am very new to python, but I want to use this code to get a more current dataset than the one posted in Kaggle.

After the code has finished scraping, it gives this message:

Page: 1
Page: 2
Page: 3
Page: 4
Page: 5
Page: 6
Page: 7
Page: 8
Page: 9
Page: 10
Page: 11
Page: 12
Page: 13
Page: 14
Page: 15
Page: 16
Page: 17
Page: 18
0
Index(['Rank', 'Name', 'Platform', 'Year', 'Genre', 'Critic_Score',
'User_Score', 'Publisher', 'Developer', 'NA_Sales', 'PAL_Sales',
'JP_Sales', 'Other_Sales', 'Global_Sales'],
dtype='object')

Then when I open the csv it has written, all it has is the column headers but no data.

Any help would be much appreciated!!

Jules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions