@משה-כהן345 מכיוון שפרטי יצירת קשר מופיעים בגיידסטאר (אולם הם לא מופיעים בHTML עצמו) פעלתי להבין היכן המקור של הנתונים.
Request
המספר 580023356 מייצג את מזהה העמותה.
POST /apexremote HTTP/1.1
Host: www.guidestar.org.il
Content-Type: application/json
Referer: https://
Content-Length: 248
{
"action": "GSTAR_Ctrl",
"method": "getMalkarDetails",
"data": [
"580023356"
],
"type": "rpc",
"tid": 6,
"ctx": {
"csrf": "_",
"vid": "_",
"ns": "",
"ver": 0
}
}
Response
הJSON שחוזר מכיל טלפונים וכתובות דואר אלקטרוני ליצירת קשר.
{
"statusCode": 200,
"type": "rpc",
"tid": 6,
"ref": false,
"action": "GSTAR_Ctrl",
"method": "getMalkarDetails",
"result": {
"result": {
"addressHouseNum": "20",
"addressStreet": "הטורים",
"addressZipCode": "9466217",
"annualTakinYearsText": " (2021)",
"audience": [
"בני ישיבות ואברכים"
],
"emailMalkar": "b9707575@gmail.com",
"employees": 1,
"govConnectionSum": 0,
"govSupportLastYear": 2020,
"govSupportSum": 505585,
"greenInfo": {
"description": "אחזקת כולל אברכים , תמיכה וסיוע מיוחדים במועדי ישראל",
"email": "b9707575@gmail.com",
"phoneNumbers": [
"029707575"
],
"year": 2021
},
"hasMalkarPeople": true,
"hekdeshBelongingsCount": 0,
"hekdeshIsAcademic": false,
"hekdeshIsForPrivateAlso": false,
"hekdeshMoneyList": [],
"hekdeshRealEstateCount": 0,
"InactiveMenu": {
"documents": false,
"govsupport": false,
"donations": false,
"govservices": true,
"people": false,
"assets": true,
"trustees": true,
"places": false,
"services": false,
"finances": false,
"connections": false,
"estates": true,
"contact": false,
"volunteering": true
},
"IsExperiencePlace": false,
"isStatusActiveText": "עמותה רשומה",
"lastModifiedDate": 1636069135000,
"lat": 31.788751700000000,
"lng": 35.210483400000000,
"machoz": "[\"ירושלים\"]",
"malkarCities": [
{
"lat": 31.768319000000000,
"lng": 35.213710000000000
},
{
"cityName": "מקום פעילות אחר",
"lat": 31.768319000000000,
"lng": 35.213710000000000
},
{
"lat": 31.768319000000000,
"lng": 35.213710000000000
},
{
"lat": 31.768319000000000,
"lng": 35.213710000000000
}
],
"mapGeometryLists": {
"info": [
"malkarCities"
],
"volunteering": [
"volunteerCities"
],
"places": [
"malkarCities"
]
},
"members": 7,
"nationalInsuranceSum": 0,
"phoneNumbers": [
"029707575"
],
"submittedPapers": false,
"targets": [
{
"Activity": "מתן מלגות ללומדים",
"Target": "אחזקת כולל אברכים"
}
],
"tchumPeilut1": "ישיבה - כולל",
"tchumPeilutRasham": "ישיבה - כולל",
"volunteers": 6,
"approval46": true,
"cities": [
"ירושלים"
],
"city": "ירושלים",
"cityNums": [
"3000"
],
"greenCities": [
"ירושלים"
],
"greenCityNums": [
"3000"
],
"greenMalkarDistricts": [
"ירושלים",
"ארצי"
],
"hasHekdeshEstates": false,
"hasProperManagement": true,
"hasProperManagement2Years": true,
"hasReports": true,
"hasSubmittedPapers": false,
"hekdeshIsNeedCheck": false,
"hekdeshIsReligious": false,
"hekdeshIsReligiousNeedCheck": false,
"Id": "a002400000ACLiYAAX",
"isAmuta": true,
"isDeleted": false,
"isHekdesh": false,
"isHeletz": false,
"isOttoman": false,
"lastAddDataYear": "2019",
"malkarDistricts": [
"ירושלים"
],
"malkarLocationIsNational": false,
"malkarLocationIsNationalGreen": true,
"Name": "ישיבת בית הכרם (ע\"ר)",
"orgGoal": "להקים להחזיק ולנהל ישיבות",
"orgYearFounded": 1982,
"regNum": "580023356",
"showApproval46": true,
"showDonation": false,
"showProperManagement": true,
"showReports": true,
"showSubmittedPapers": false,
"sugHitagdut": "עמותה",
"sugHitagdutLabel": "עמותה",
"tchumPeilutMain": "חינוך, השכלה והכשרה מקצועית",
"tchumPeilutMainNum": "21",
"tchumPeilutSecondary": [
"ישיבה - כולל"
],
"turnover": 1836211
},
"success": true
}
}
Request באמצעות Fetch
fetch("https://www.guidestar.org.il/apexremote", {
"headers": {
"content-type": "application/json",
},
"referrer": "_",
"referrerPolicy": "origin-when-cross-origin",
"body": "{\"action\":\"GSTAR_Ctrl\",\"method\":\"getMalkarDetails\",\"data\":[\"580033249\"],\"type\":\"rpc\",\"tid\":6,\"ctx\":{\"csrf\":\"VmpFPSxNakF5TVMweE1TMHdPRlF3TVRveE1qb3lPQzQ0TkRoYSw4Y2N5TWlWNl8zQ0RZejJ6WEQxNjVXLE9EaG1aV0ky\",\"vid\":\"06624000000VGgM\",\"ns\":\"\",\"ver\":43}}",
"method": "POST",
})
.then(x => x.json())
.then(console.log)