How can I produce a text file list of all members in Launchpad team?
For example, this page only shows the list of users in batches of 75: http://launchpad.net/~launchpad-beta-testers/+members
I would like to get the whole list in one text dump.
|
How can I produce a text file list of all members in Launchpad team? For example, this page only shows the list of users in batches of 75: http://launchpad.net/~launchpad-beta-testers/+members I would like to get the whole list in one text dump. |
||||
|
|
|
As explained by @Rinzwind, you'll need to make multiple queries to take into account the pagination or use python and launchpadlib to handle the pagination for you:
|
|||
|
|
Besides mailing someone to get a list of members I doubt it will be possible to get this list in 1 go. The URL has a parameter in it to expand the amount of names but the maximum amount of members you can get on 1 page is https://launchpad.net/~launchpad-beta-testers/+members?active_batch=300 That would make it 8 pages you need to copy/paste. This would be the quickest 1 time usable solution.
If you can code you could make a script for this. Maybe someone can expand on this:
With a combination of I download these 3 to 3 text files and the command...
gets me all the lines that have a name in it (with a bit of overhead) for this file. You can use https://help.launchpad.net/API/launchpadlib for this if you want to code a program for it. |
||||
|
|