Skip to content

Conversation

kakserpom
Copy link

No description provided.

@kakserpom kakserpom requested a review from adamdecaf as a code owner February 15, 2025 13:54
// ---------- Constants and Helper Functions ----------

const (
urlToDownload = "https://ru.ruwiki.ru/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%B8%D0%BD%D0%BE%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%BD%D1%8B%D1%85_%D0%B0%D0%B3%D0%B5%D0%BD%D1%82%D0%BE%D0%B2_(%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the simplest URL we can use for this page? That doesn't look like a stable URL.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is. It's just the page name in urlencoded unicode.

}

// Iterate over every table.
doc.Find("table").Each(func(i int, tableSel *goquery.Selection) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a CSV, XML, etc format that would be more stable over time and easier to parse?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried pretty hard to find CSV/XML, but I couldn't find it for some reason.

@adamdecaf
Copy link
Member

This list looks to be Russian individuals / businesses that are working outside of Russia. Is this list available anywhere else, perhaps OpenSanctions?

@kakserpom
Copy link
Author

The official Russian governmental resource is only accessible from Russian networks and it isn't always online. I've tried to find any other reliable source and that wikipage is the best I managed to find.

@adamdecaf adamdecaf added the new list request Requests to add/support new lists label May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new list request Requests to add/support new lists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants