Need a java script adjustments - Fetch data from web and write it to google spreadsheet

Job ID: 33130590

Budget: €8 – €30 EUR

I have a google apps script (GAS) which is based on java script. It will be time triggered through google apps to fetch data from webpage and write it to google spreadsheet.

I've already wrote a code which need an adjustment.
My code scrape data from this webpage:
http://sagarin.com/sports/soccer.htm
Which look like this:
https://ibb.co/mJyTxM0

And it should write that in google spreadsheet in this way:
https://ibb.co/SfxTrrt
https://ibb.co/tHrV7gZ

But the problem begins when on webpage in first column shows up signs like "n" or "c" or etc.
Which you could see there
https://ibb.co/DLdkKMf
Then script just stops.

I need a someone who can look at the code and make adjustments to overcome this problem.

There is a link to an editable google spreadsheet which has GAS code inside
https://docs.google.com/spreadsheets/d/1K3JiiCwiZ-E5wziOAExbgaHPokVEHxmanxD3iQ0ttpA/edit?usp=sharing

Thank you for your offers.