csv file link …https://drive.google.com/file/d/15OC-96WR8EhaFcTI_w1Iiq5Ssb77dSWI/view?usp=sharing
Only able to get 52 % accurate answers although all jokes are correct
It seems that your output is not correct. It’s not writing scraped data after ‘,’ occurs in a row.
Example:
If the expected output is this
1,Chuck Norris uses ribbed condoms inside out, so he gets the pleasure.
your code is only writing
1,Chuck Norris uses ribbed condoms inside out
I just made a little change in your code. That results in 100% accuracy.
f.write(’"{}","{}"’.format(id,json_data[‘value’][‘joke’])+"\n")