To handle -> https://training.gov.au/Search/SearchOrganisation?Name=&IncludeUnregisteredRtos=false&IncludeNotRtos=false&orgSearchByNameSubmit=Search&AdvancedSearch=&JavaScriptEnabled=true
It's ajax link -> https://training.gov.au/Search/AjaxGetOrganisations?implicitNrtScope=True&includeUnregisteredRtosForScopeSearch=True&includeUnregisteredRtos=False&includeNotRtos=False&orgSearchByNameSubmit=Search&JavaScriptEnabled=true
Use ajax link and post method to get the json data.
change 'size': '200' to modify the response output rows.
url = f'https://training.gov.au/Search/AjaxGetOrganisations?implicitNrtScope=True&includeUnregisteredRtosForScopeSearch=True&includeUnregisteredRtos=False&includeNotRtos=False&orgSearchByNameSubmit=Search&JavaScriptEnabled=true' headers = { 'origin': 'https://training.gov.au', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36', 'x-requested-with': 'XMLHttpRequest' } data = {'page': '1', 'size': '200', 'orderBy': 'LegalPersonName-asc', 'groupBy': '', 'filter': ''} r = requests.post(url, json=data, headers=headers) response = r.json()
result
from the Search result, you can get ea38f597-077e-4c57-b7b6-7ca7dde88399 as the OrganisationId, not need to use 'Codes': '6639' to parse https://training.gov.au/Organisation/Details/6639 to get OrganisationId.
'Codes': '6639', https://training.gov.au/Organisation/Details/6639 https://training.gov.au/Organisation/AjaxScopeSkillSet/ea38f597-077e-4c57-b7b6-7ca7dde88399?includeImplicit=True&tabIndex=4&_=1610518795452
response['data'][0] {'OrganisationId': 'ea38f597-077e-4c57-b7b6-7ca7dde88399', 'IsRto': True, 'IsTpd': False, 'Codes': '6639', 'LegalPersonName': '1 EDUCATION PTY LTD', 'LegalPersonNameNonCurrent': 'Brad Fenby and Associates Pty Ltd, Franklyn Scholar (Victoria) Pty Ltd', 'TradingNames': [], 'WebAddresses': ['http://www.1education.com.au'], 'GeneralEnquiriesPhone': '0478752453', 'RegistrationStatus': None, 'ValidationType': 0, 'RtoStatus': 0, 'StatusString': 'Current', 'RegistrationManagerId': '12', 'RegistrationStartDate': '/Date(1554037200000+1100)/', 'RegistrationEndDate': '/Date(1774789200000+1100)/', 'CreatedDate': '/Date(1307654398430+1000)/', 'ExternalLinks': {'ExternalLinkType': 2, 'Description': 'MySkillsRto', 'Url': 'http://www.myskills.gov.au/RegisteredTrainers/Details?rtocode={0}'}, 'RtoType': '91', 'ActiveScopeAct': True, 'ActiveScopeNsw': True, 'ActiveScopeVic': True, 'ActiveScopeQld': True, 'ActiveScopeSA': True, 'ActiveScopeNT': True, 'ActiveScopeWA': True, 'ActiveScopeTas': True, 'ActiveScopeInt': True, 'RegistrationManagerShortName': 'ASQA', 'StatusSortOrder': '4', 'MySkillsLink': 'http://www.myskills.gov.au/RegisteredTrainers/Details?rtocode=6639'}