<<

NAME

gen_users_emails_list.pl - lists Open Food Facts users

SYNOPSIS

./gen_users_emails_list.pl [--all] [--since=YYYY-MM-DD] Options: --all allows to export all the users --since only export users registered since this date (ISO 8601 format)

OPTIONS

--all

Export all the users, not just the ones registered to Open Food Facts newsletter.

--since=YYYY-MM-DD

Only export users who registered on or after the specified date (ISO 8601 format, e.g., 2024-01-15).

DESCRIPTION

This script creates a list of Open Food Facts users.

It contains: * the user's email * the user's locale (eg. "en", "fr", "de", etc.) * the country website where the user has registered (eg. "world", "fr", "at", "us", "uk", etc.) * the timestamp of the user's account creation, Unix style (eg. "1449487961") * the country, computed based on IP geolocation * the user id * the newsletter field: tells if the user has registered to the Open Food Facts newsletter * the moderator field: tells if the user is moderator

Each field is separated by a tab (TSV).

By default, the list is restricted to users registered to Open Food Facts newsletter.

<<