{"id":37265879,"url":"https://github.com/buchin/bing","last_synced_at":"2026-01-16T00:18:26.769Z","repository":{"id":62497908,"uuid":"77353457","full_name":"buchin/bing","owner":"buchin","description":"Bing Scraper: text, image, video","archived":false,"fork":false,"pushed_at":"2025-04-23T03:45:57.000Z","size":22,"stargazers_count":16,"open_issues_count":0,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-14T15:49:12.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/buchin.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":"2016-12-26T02:49:53.000Z","updated_at":"2025-08-30T14:02:12.000Z","dependencies_parsed_at":"2025-04-23T04:38:28.233Z","dependency_job_id":null,"html_url":"https://github.com/buchin/bing","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/buchin/bing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buchin","download_url":"https://codeload.github.com/buchin/bing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28474499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T00:15:39.755Z","status":"ssl_error","status_checked_at":"2026-01-16T00:15:32.174Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-16T00:18:26.069Z","updated_at":"2026-01-16T00:18:26.762Z","avatar_url":"https://github.com/buchin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buchin/bing\nBing Scraper: text, image, video\n\n## usage\n\n### Text example\n\n```php\n\u003c?php\nuse Buchin\\Bing\\Web;\n\n$webScraper = new Web;\n// first params required, second is optional hack\n$results = $webScraper-\u003escrape('makan nasi', 'filetype:pdf');\n\n/* \nreturn array \n\narray(10) {\n  [0]=\u003e\n  array(4) {\n    [\"title\"]=\u003e\n    string(39) \"Makan Nasi Sama Garam - leutikaprio.com\"\n    [\"link\"]=\u003e\n    string(73) \"http://www.leutikaprio.com/main/media/sample/ngakak%20sejenak%20smple.pdf\"\n    [\"description\"]=\u003e\n    string(155) \"Fanny Fredlina 1 Makan Nasi Sama Garam Hati-hati kalau ingin memberikan rayuan gombal. Apalagi yang rada lebay. Jangan sampai terjadi hal yang seperti ini.\"\n    [\"pubdate\"]=\u003e\n    string(29) \"Fri, 25 Nov 2016 17:33:00 GMT\"\n  }\n...\n*/\n```\n\n### Image example\n```php\n\u003c?php\nuse Buchin\\Bing\\Image;\n\n$imageScraper = new Image;\n$images = $imageScraper-\u003escrape('telolet om', '', ['image_size' =\u003e 'extra_large']);\n\n/*\nContoh hasil:\n[27]=\u003e\n  array(4) {\n    [\"mediaurl\"]=\u003e\n    string(112) \"http://www.radarpekalongan.com/wp-content/uploads/2016/06/Mengintip-Keseruan-Bocah-Pemburu-Telolet-di-Batang.jpg\"\n    [\"link\"]=\u003e\n    string(100) \"http://www.radarpekalongan.com/24530/mengintip-keseruan-bocah-pemburu-telolet-klakson-bus-di-batang/\"\n    [\"title\"]=\u003e\n    string(68) \"Mengintip Keseruan Bocah Pemburu 'Telolet' Klakson Bus di Batang ...\"\n    [\"size\"]=\u003e\n    string(19) \"700 x 400 jpeg 81kB\"\n  }\n*/\n```\n\n#### (new) Available options for image:\n```php\n'image_size' =\u003e [\n    'all' =\u003e '',\n    'small' =\u003e '+filterui:imagesize-small',\n    'medium' =\u003e '+filterui:imagesize-medium',\n    'large' =\u003e '+filterui:imagesize-large',\n    'extra_large' =\u003e '+filterui:imagesize-wallpaper',\n],\n'color' =\u003e [\n    'all' =\u003e '',\n    'color_only' =\u003e '+filterui:color2-color',\n    'black_and_white' =\u003e '+filterui:color2-bw',\n    'red' =\u003e '+filterui:color2-FGcls_RED',\n    'orange' =\u003e '+filterui:color2-FGcls_ORANGE',\n    'green' =\u003e '+filterui:color2-FGcls_GREEN',\n],\n'type' =\u003e [\n    'all' =\u003e '',\n    'photograph' =\u003e '+filterui:photo-photo',\n    'clipart' =\u003e '+filterui:photo-clipart',\n    'line_drawing' =\u003e '+filterui:photo-linedrawing',\n    'animated_gif' =\u003e '+filterui:photo-animatedgif',\n    'transparent' =\u003e '+filterui:photo-transparent',\n],\n'layout' =\u003e [\n    'all' =\u003e '',\n    'square' =\u003e '+filterui:aspect-square',\n    'wide' =\u003e '+filterui:aspect-wide',\n    'tall' =\u003e '+filterui:aspect-tall',\n],\n'people' =\u003e [\n    'all' =\u003e '',\n    'just_faces' =\u003e '+filterui:face-face',\n    'head_and_shoulders' =\u003e '+filterui:face-portrait',\n],\n'date' =\u003e [\n    'all' =\u003e '',\n    'past_24_hours' =\u003e '+filterui:age-lt1440',\n    'past_week' =\u003e '+filterui:age-lt10080',\n    'past_month' =\u003e '+filterui:age-lt43200',\n    'past_year' =\u003e '+filterui:age-lt525600',\n],\n'license' =\u003e [\n    'all' =\u003e '',\n    'all_creative_commons' =\u003e '+filterui:licenseType-Any',\n    'public_domain' =\u003e '+filterui:license-L1',\n    'free_to_share_and_use' =\u003e '+filterui:license-L2_L3_L4_L5_L6_L7',\n    'free_to_share_and_use_commercially' =\u003e '+filterui:license-L2_L3_L4',\n    'free_to_modify_share_and_use' =\u003e '+filterui:license-L2_L3_L5_L6',\n    'free_to_modify_share_and_use_commercially' =\u003e '+filterui:license-L2_L3',\n]\n```\n\n### Example video\n```php\n\u003c?php\nuse Buchin\\Bing\\Video;\n\n$videoScraper = new Video;\n$videos = $videoScraper-\u003escrape('om telolet om');\n\n/* Contoh hasil:\n\n[11]=\u003e\n  array(6) {\n    [\"title\"]=\u003e\n    string(38) \"TELOLET OM.... | NGABUL | RAMAE SEKALI\"\n    [\"link\"]=\u003e\n    string(43) \"https://www.youtube.com/watch?v=x33TbaAzmw8\"\n    [\"videoid\"]=\u003e\n    string(11) \"x33TbaAzmw8\"\n    [\"thumbnail\"]=\u003e\n    string(46) \"https://i.ytimg.com/vi/x33TbaAzmw8/default.jpg\"\n    [\"thumbnail_mq\"]=\u003e\n    string(48) \"https://i.ytimg.com/vi/x33TbaAzmw8/mqdefault.jpg\"\n    [\"thumbnail_hq\"]=\u003e\n    string(48) \"https://i.ytimg.com/vi/x33TbaAzmw8/hqdefault.jpg\"\n  }\n*/\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuchin%2Fbing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuchin%2Fbing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuchin%2Fbing/lists"}