Skip to content

Error decoding https://en.wiktionary.org/w/api... #2

@pyccp

Description

@pyccp

Hello Dima,

I keep getting a reiterating error when I run this code:

go run kindlewick.go -freqlist fi.txt

The error is:

2022/06/01 13:10:19 Getting https://en.wiktionary.org/w/api.php?action=query&cmlimit=500&format=json&list=categorymembers&formatversion=2&cmtitle=Category:Finnish_lemmas&cmprop=title&cmcontinue=
2022/06/01 13:10:19 Error decoding https://en.wiktionary.org/w/api.php?action=query&cmlimit=500&format=json&list=categorymembers&formatversion=2&cmtitle=Category:Finnish_lemmas&cmprop=title&cmcontinue=
2022/06/01 13:10:19 invalid character '<' looking for beginning of value
2022/06/01 13:10:19 invalid character '<' looking for beginning of value
1 Getting https://en.wiktionary.org/w/api.php?action=parse&formatversion=2&format=json&page=mutta&prop=text
2 Getting https://en.wiktionary.org/w/api.php?action=parse&formatversion=2&format=json&page=olla&prop=text
2022/06/01 13:10:21 Trying again.
...

What do you think the problem might be ?

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