{"id":22296160,"url":"https://github.com/kakwa/sytadin-scraper","last_synced_at":"2025-09-09T04:39:26.554Z","repository":{"id":12284408,"uuid":"14909741","full_name":"kakwa/sytadin-scraper","owner":"kakwa","description":"sytadin traffic info scraper written in perl","archived":false,"fork":false,"pushed_at":"2015-02-05T20:00:33.000Z","size":249,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-29T01:41:39.890Z","etag":null,"topics":["perl","scraper","scraping","sytadin","sytadin-scraper","traffic"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/kakwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-04T00:22:05.000Z","updated_at":"2021-01-25T08:22:37.000Z","dependencies_parsed_at":"2022-08-21T06:10:40.367Z","dependency_job_id":null,"html_url":"https://github.com/kakwa/sytadin-scraper","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kakwa/sytadin-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fsytadin-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fsytadin-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fsytadin-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fsytadin-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kakwa","download_url":"https://codeload.github.com/kakwa/sytadin-scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakwa%2Fsytadin-scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274244216,"owners_count":25248157,"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-09-09T02:00:10.223Z","response_time":80,"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":["perl","scraper","scraping","sytadin","sytadin-scraper","traffic"],"created_at":"2024-12-03T17:44:25.312Z","updated_at":"2025-09-09T04:39:26.519Z","avatar_url":"https://github.com/kakwa.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"sytadin-scraper\n===============\n\n[![Join the chat at https://gitter.im/kakwa/sytadin-scraper](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/kakwa/sytadin-scraper?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nwww.sytadin.fr traffic info scraper written in perl.\n\nLicense\n-------\n\nsytadin-scraper is released under MIT.\n\nDependancies\n------------\n\n* WWW::Mechanize\n* Getopt::Long\n\nCommand line\n------------\n\n```bash\n\u003e sytadin-scraper -h\nusage: \n* to search nodes:\n   sytadin-scraper [-h] -S '\u003cnode name\u003e'\n* to query sytadin:\n   sytadin-scraper -s '\u003cstart node\u003e' -e '\u003cend node\u003e' [-v '\u003cinter node\u003e'] [-l]\n\nCommand line utility to query www.sytadin.fr\n\narguments:\n    -h, --help              : display this help\n    -l, --light             : light output \n           (format '\u003ctraject\u003e|\u003creliability\u003e' (optional)\n    -S, --search \u003cnode name\u003e: search the nodes\n           matching '.*\u003cnode name\u003e.*' \n           in available nodes (case insensitive)\n    -s, --start \u003cstart node\u003e: node where we start \n    -e, --end \u003cend node\u003e    : node where we end\n    -v, --via \u003cinter node\u003e  : intermediate node (optional)\n\n\u003e sytadin-scraper -S clamart\nList of matching nodes:\n* 'Le Petit Clamart (N118xA86)'\n\n\u003e ./bin/sytadin-scraper -s 'Plaisance' \\\n    -e 'Evry (A6xN104)' -v 'Janvry (A10xN104)'  \nPlaisance to Evry (A6xN104) via Janvry (A10xN104): 35mn (44%)\n```\n\nLibrary\n-------\n\n```perl\nuse SYTADIN::Query;\n\n\n# search nodes (case insensitive)\nprint \"List of matching nodes:\\n\";\nforeach (SYTADIN::Query::search_node('achères')){\n print \"* '$_'\\n\";\n};\nprint \"\\n\";\n\nmy $start = 'Le Petit Clamart (N118xA86)';\nmy $end   = 'Corbeil (A6xN104)';\nmy $via   = 'Janvry (A10xN104)';\n\n# get the result page of sytadin (raw html)\nmy $page = SYTADIN::Query::query_sytadin($start, $end, $via);\n\n# basic parsing of the html page \n# to get the traject_time and the reliability\nmy %info = SYTADIN::Query::scan_result_page($page);\n\nprint \"traject: '$start' to '$end' via '$via':\\n\";\nprint \"* traject time: $info{'traject_time'}\\n\";\nprint \"* reliability: $info{'reliability'}%\\n\";\nprint \"\\n\";\n\n# another search\nmy $start = 'Achères (N184xD30)';\nmy $end   = 'Corbeil (A6xN104)';\nmy $via   = 'Janvry (A10xN104)';\n\n# direct access to the data (same as query_sytadin + scan_result_page)\nmy %info2 = SYTADIN::Query::get_time_reliability($start, $end, $via);\n\nprint \"traject: '$start' to '$end' via '$via':\\n\";\nprint \"* traject time: $info2{'traject_time'}\\n\";\nprint \"* reliability: $info2{'reliability'}%\\n\";\n```\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/kakwa/sytadin-scraper/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakwa%2Fsytadin-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkakwa%2Fsytadin-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakwa%2Fsytadin-scraper/lists"}