{"id":29271246,"url":"https://github.com/ankushtechdev/fetch-fii-dii-activty","last_synced_at":"2025-10-14T11:43:21.442Z","repository":{"id":301163277,"uuid":"1008362563","full_name":"AnkushTechDev/fetch-fii-dii-activty","owner":"AnkushTechDev","description":"Fetch FII and DII dailly Activity","archived":false,"fork":false,"pushed_at":"2025-06-25T12:37:40.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-04T23:08:32.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnkushTechDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-25T12:31:07.000Z","updated_at":"2025-06-25T12:37:44.000Z","dependencies_parsed_at":"2025-06-25T13:47:18.048Z","dependency_job_id":null,"html_url":"https://github.com/AnkushTechDev/fetch-fii-dii-activty","commit_stats":null,"previous_names":["ankushtechdev/fetch-fii-dii-activty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnkushTechDev/fetch-fii-dii-activty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushTechDev%2Ffetch-fii-dii-activty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushTechDev%2Ffetch-fii-dii-activty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushTechDev%2Ffetch-fii-dii-activty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushTechDev%2Ffetch-fii-dii-activty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnkushTechDev","download_url":"https://codeload.github.com/AnkushTechDev/fetch-fii-dii-activty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkushTechDev%2Ffetch-fii-dii-activty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019065,"owners_count":26086518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-04T23:08:29.420Z","updated_at":"2025-10-14T11:43:21.423Z","avatar_url":"https://github.com/AnkushTechDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊 FII/DII Activity Scraper\n\nThis Node.js script uses Puppeteer to scrape the **FII/DII Cash Market Activity** data from [Moneycontrol](https://www.moneycontrol.com/stocks/marketstats/fii_dii_activity/index.php). The data is stored daily in a structured JSON format for future use or analysis.\n\n---\n\n## 🚀 Features\n\n- Scrapes latest daily FII and DII activity\n- Saves the result in JSON format\n- Captures debugging HTML snapshots\n- Handles dynamic content loading with retries\n- Formats data for both human-readability and storage\n\n---\n\n## 📦 Requirements\n\n- Node.js (v14+ recommended)\n- npm or yarn\n\n---\n\n## 🛠️ Setup\n\n1. **Clone the repository**\n\n```bash\ngit clone https://github.com/your-username/fii-dii-activity-scraper.git\ncd fii-dii-activity-scraper\n```\n\n2. **Install dependencies**\n\n```bash\nnpm install puppeteer\n```\n\n3. **Run the Script**\n\n```bash\nnode index.js\n```\n\n### Sample JSON Output\n```json\n[\n  {\n    \"Date\": \"25-06-2025\",\n    \"DII Cash\": 912.34,\n    \"FII Cash\": -1325.67\n  },\n  ...\n]\n```\n\n### 🙌 Acknowledgments\nData sourced from Moneycontrol\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankushtechdev%2Ffetch-fii-dii-activty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankushtechdev%2Ffetch-fii-dii-activty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankushtechdev%2Ffetch-fii-dii-activty/lists"}