{"id":16548669,"url":"https://github.com/pourmand1376/persiancrawler","last_synced_at":"2025-10-28T16:32:00.741Z","repository":{"id":45779090,"uuid":"483625590","full_name":"pourmand1376/PersianCrawler","owner":"pourmand1376","description":"Open source crawler for Persian websites. ","archived":false,"fork":false,"pushed_at":"2023-08-27T07:22:57.000Z","size":40,"stargazers_count":19,"open_issues_count":4,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T16:47:46.176Z","etag":null,"topics":["crawler","machine-learning","news","python","scrapy","tasnim","text-classification"],"latest_commit_sha":null,"homepage":"https://www.kaggle.com/amirpourmand/datasets","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pourmand1376.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-04-20T11:25:29.000Z","updated_at":"2024-12-11T23:22:37.000Z","dependencies_parsed_at":"2024-01-15T16:26:52.079Z","dependency_job_id":"c8c4512d-6ef8-414e-aaaa-dcd6065e65c6","html_url":"https://github.com/pourmand1376/PersianCrawler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pourmand1376%2FPersianCrawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pourmand1376%2FPersianCrawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pourmand1376%2FPersianCrawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pourmand1376%2FPersianCrawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pourmand1376","download_url":"https://codeload.github.com/pourmand1376/PersianCrawler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238681585,"owners_count":19512812,"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","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":["crawler","machine-learning","news","python","scrapy","tasnim","text-classification"],"created_at":"2024-10-11T19:26:41.588Z","updated_at":"2025-10-28T16:32:00.334Z","avatar_url":"https://github.com/pourmand1376.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Kaggle](https://kaggle.com/static/images/open-in-kaggle.svg)](https://www.kaggle.com/amirpourmand/datasets)\n\n# Crawler\nOpen source crawler for Persian websites. Crawled websites to now:\n- [Asriran](https://www.kaggle.com/datasets/amirpourmand/asriran-news)\n- [Fa-Wikipedia](https://www.kaggle.com/datasets/amirpourmand/fa-wikipedia)\n- [Tasnim](https://www.kaggle.com/datasets/amirpourmand/tasnimdataset)\n- [Isna](https://www.kaggle.com/datasets/amirpourmand/isna-news)\n\n### Asriran\n\n```bash\nasriran/run_asriran.sh\n```\n\n\u003e You can change some paramters in this crawler. See `run_asriran.sh`.\n\n### Fa-Wikipedia\n\nDue to some problems in crawling, I splitted this job into two stages. First crawling all index pages and second use those pages for crawling. \n```bash\nwikipedia/run_wikipedia.sh\n```\n\n### Tasnim News\nThis crawler saves [tasnim news](https://www.tasnimnews.com/) pages based on category. This is appopriate for text classification task as data is relatively balanced across all categories. I selected equal amount of page per category. \n\n\u003e We have a parameter Called `Number_of_pages` in `tasnim.py` which controls how many pages we should crawl in each category. \n\n```bash\ntasnim/run_tasnim.sh\n```\n\nDatasets are all available for download at [Kaggle](https://www.kaggle.com/amirpourmand/datasets).\n\nCSS selectors are mostly extracted via [Copy Css Selector](https://chrome.google.com/webstore/detail/copy-css-selector/kemkenbgbgodoglfkkejbdcpojnodnkg?hl=en).\n\n\n\n\n- https://stackoverflow.com/questions/73859249/attributeerror-module-openssl-ssl-has-no-attribute-sslv3-method\n- https://stackoverflow.com/a/73867925/4201765\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpourmand1376%2Fpersiancrawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpourmand1376%2Fpersiancrawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpourmand1376%2Fpersiancrawler/lists"}