@florian I don't think there's any need to care about where a work is encoded. You do need a list of all authors though.
I think there's some flexibility in that you might not need to literally list every individual, though IANAL. For example, if you train on Wikipedia (only), you could plausibly get away with specifying the exact database dump you used (where the edit history data is available) without having to extract and collate the author list yourself. But if you're scraping something like GitHub that does not make explicit dumps available, yeah, you'd better at *least* list every project and commit ID you scraped (and even that might not be enough).