You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"Assembler","path":"Assembler","contentType":"directory"},{"name":"CountMillionCharacters-Variations","path":"CountMillionCharacters-Variations","contentType":"directory"},{"name":"Google Image Downloader","path":"Google Image Downloader","contentType":"directory"},{"name":"Koch Curve","path":"Koch Curve","contentType":"directory"},{"name":"XORcipher","path":"XORcipher","contentType":"directory"},{"name":"game_of_life","path":"game_of_life","contentType":"directory"},{"name":"other_pepole","path":"other_pepole","contentType":"directory"},{"name":"primelib","path":"primelib","contentType":"directory"},{"name":"4 Digit Number Combinations.py","path":"4 Digit Number Combinations.py","contentType":"file"},{"name":"CountMillionCharacter.py","path":"CountMillionCharacter.py","contentType":"file"},{"name":"CountMillionCharacters-2.0.py","path":"CountMillionCharacters-2.0.py","contentType":"file"},{"name":"Cricket_score.py","path":"Cricket_score.py","contentType":"file"},{"name":"EncryptionTool.py","path":"EncryptionTool.py","contentType":"file"},{"name":"Google_News.py","path":"Google_News.py","contentType":"file"},{"name":"GroupSms_Way2.py","path":"GroupSms_Way2.py","contentType":"file"},{"name":"Organise.py","path":"Organise.py","contentType":"file"},{"name":"Print_List_of_Even_Numbers.py","path":"Print_List_of_Even_Numbers.py","contentType":"file"},{"name":"QuadraticCalc.py","path":"QuadraticCalc.py","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"Shivaansh.txt","path":"Shivaansh.txt","contentType":"file"},{"name":"SimpleStopWatch.py","path":"SimpleStopWatch.py","contentType":"file"},{"name":"TTS.py","path":"TTS.py","contentType":"file"},{"name":"TicTacToe.py","path":"TicTacToe.py","contentType":"file"},{"name":"WikipediaModule","path":"WikipediaModule","contentType":"file"},{"name":"backup_automater_services.py","path":"backup_automater_services.py","contentType":"file"},{"name":"batch_file_rename.py","path":"batch_file_rename.py","contentType":"file"},{"name":"calculator.py","path":"calculator.py","contentType":"file"},{"name":"chaos.py","path":"chaos.py","contentType":"file"},{"name":"check_file.py","path":"check_file.py","contentType":"file"},{"name":"check_for_sqlite_files.py","path":"check_for_sqlite_files.py","contentType":"file"},{"name":"check_input.py","path":"check_input.py","contentType":"file"},{"name":"check_internet_con.py","path":"check_internet_con.py","contentType":"file"},{"name":"chicks_n_rabs.py","path":"chicks_n_rabs.py","contentType":"file"},{"name":"create_dir_if_not_there.py","path":"create_dir_if_not_there.py","contentType":"file"},{"name":"cricket_live_score.py","path":"cricket_live_score.py","contentType":"file"},{"name":"daily_checks.py","path":"daily_checks.py","contentType":"file"},{"name":"dec_to_hex.py","path":"dec_to_hex.py","contentType":"file"},{"name":"dice.py","path":"dice.py","contentType":"file"},{"name":"diceV2_dynamic.py","path":"diceV2_dynamic.py","contentType":"file"},{"name":"dice_rolling_simulator.py","path":"dice_rolling_simulator.py","contentType":"file"},{"name":"dir_test.py","path":"dir_test.py","contentType":"file"},{"name":"env_check.py","path":"env_check.py","contentType":"file"},{"name":"ex20.py","path":"ex20.py","contentType":"file"},{"name":"factorial_perm_comp.py","path":"factorial_perm_comp.py","contentType":"file"},{"name":"fileinfo.py","path":"fileinfo.py","contentType":"file"},{"name":"find_prime.py","path":"find_prime.py","contentType":"file"},{"name":"folder_size.py","path":"folder_size.py","contentType":"file"},{"name":"ftp_send_receive.py","path":"ftp_send_receive.py","contentType":"file"},{"name":"get_info_remoute_srv.py","path":"get_info_remoute_srv.py","contentType":"file"},{"name":"get_likes_on_FB.py","path":"get_likes_on_FB.py","contentType":"file"},{"name":"get_youtube_view.py","path":"get_youtube_view.py","contentType":"file"},{"name":"google.py","path":"google.py","contentType":"file"},{"name":"internet_connection_py3","path":"internet_connection_py3","contentType":"file"},{"name":"jee_result.py","path":"jee_result.py","contentType":"file"},{"name":"kmp_str_search.py","path":"kmp_str_search.py","contentType":"file"},{"name":"life","path":"life","contentType":"file"},{"name":"logs.py","path":"logs.py","contentType":"file"},{"name":"magic8ball.py","path":"magic8ball.py","contentType":"file"},{"name":"meme_maker.py","path":"meme_maker.py","contentType":"file"},{"name":"merge.py","path":"merge.py","contentType":"file"},{"name":"move_files_over_x_days.py","path":"move_files_over_x_days.py","contentType":"file"},{"name":"movie_details","path":"movie_details","contentType":"file"},{"name":"multiplication_table.py","path":"multiplication_table.py","contentType":"file"},{"name":"nDigitNumberCombinations.py","path":"nDigitNumberCombinations.py","contentType":"file"},{"name":"new_script.py","path":"new_script.py","contentType":"file"},{"name":"nmap_scan.py","path":"nmap_scan.py","contentType":"file"},{"name":"nslookup_check.py","path":"nslookup_check.py","contentType":"file"},{"name":"osinfo.py","path":"osinfo.py","contentType":"file"},{"name":"password_cracker.py","path":"password_cracker.py","contentType":"file"},{"name":"ping_servers.py","path":"ping_servers.py","contentType":"file"},{"name":"ping_subnet.py","path":"ping_subnet.py","contentType":"file"},{"name":"polygon.py","path":"polygon.py","contentType":"file"},{"name":"portscanner.py","path":"portscanner.py","contentType":"file"},{"name":"powerdown_startup.py","path":"powerdown_startup.py","contentType":"file"},{"name":"powerup_checks.py","path":"powerup_checks.py","contentType":"file"},{"name":"prison_break_scrapper.py","path":"prison_break_scrapper.py","contentType":"file"},{"name":"pscheck.py","path":"pscheck.py","contentType":"file"},{"name":"psunotify.py","path":"psunotify.py","contentType":"file"},{"name":"puttylogs.py","path":"puttylogs.py","contentType":"file"},{"name":"python_sms.py","path":"python_sms.py","contentType":"file"},{"name":"random-sentences.py","path":"random-sentences.py","contentType":"file"},{"name":"recyclebin.py","path":"recyclebin.py","contentType":"file"},{"name":"script_count.py","path":"script_count.py","contentType":"file"},{"name":"script_listing.py","path":"script_listing.py","contentType":"file"},{"name":"sendemail.py","path":"sendemail.py","contentType":"file"},{"name":"serial_scanner.py","path":"serial_scanner.py","contentType":"file"},{"name":"sierpinski_triangle.py","path":"sierpinski_triangle.py","contentType":"file"},{"name":"spotlight.py","path":"spotlight.py","contentType":"file"},{"name":"sqlite_check.py","path":"sqlite_check.py","contentType":"file"},{"name":"sqlite_table_check.py","path":"sqlite_table_check.py","contentType":"file"},{"name":"start-server.py","path":"start-server.py","contentType":"file"},{"name":"test","path":"test","contentType":"file"},{"name":"testlines.py","path":"testlines.py","contentType":"file"},{"name":"tf_idf_generator.py","path":"tf_idf_generator.py","contentType":"file"},{"name":"timymodule.py","path":"timymodule.py","contentType":"file"},{"name":"tweeter.py","path":"tweeter.py","contentType":"file"},{"name":"two_num.py","path":"two_num.py","contentType":"file"},{"name":"webcam.py","path":"webcam.py","contentType":"file"},{"name":"wiki_random.py","path":"wiki_random.py","contentType":"file"},{"name":"work_connect.py","path":"work_connect.py","contentType":"file"},{"name":"xkcd_downloader.py","path":"xkcd_downloader.py","contentType":"file"},{"name":"youtube-downloader fast.py","path":"youtube-downloader fast.py","contentType":"file"},{"name":"youtube.py","path":"youtube.py","contentType":"file"}],"totalCount":103}},"fileTreeProcessingTime":10.383269,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":118340202,"defaultBranch":"master","name":"Python","ownerLogin":"bestlily","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2018-01-21T14:05:48.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/16131654?v=4","public":true,"private":false,"isOrgOwned":true},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1620641502.83434","canEdit":false,"refType":"branch","currentOid":"f079291355f1d57253e06fe06778eacc72275ff3"},"path":"Cricket_score.py","currentUser":null,"blob":{"rawLines":["import bs4 as bs","from urllib import request","from win10toast import ToastNotifier","","toaster = ToastNotifier()","","url = 'http://www.cricbuzz.com/cricket-match/live-scores'","","sauce = request.urlopen(url).read()","soup = bs.BeautifulSoup(sauce,\"lxml\")","#print(soup)","score = []","results = []","#for live_matches in soup.find_all('div',attrs={\"class\":\"cb-mtch-lst cb-col cb-col-100 cb-tms-itm\"}):","for div_tags in soup.find_all('div', attrs={\"class\": \"cb-lv-scrs-col text-black\"}):"," score.append(div_tags.text)","for result in soup.find_all('div', attrs={\"class\": \"cb-lv-scrs-col cb-text-complete\"}):"," results.append(result.text)","","","print(score[0],results[0])","toaster.show_toast(title=score[0],msg=results[0])"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/bestlily/Python/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"Cricket_score.py","displayUrl":"https://github.com/bestlily/Python/blob/master/Cricket_score.py?raw=true","headerInfo":{"blobSize":"708 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"5d8c91b","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fbestlily%2FPython%2Fblob%2Fmaster%2FCricket_score.py","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"23","truncatedSloc":"17"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Python","languageID":303,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/bestlily/Python/blob/master/Cricket_score.py","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/bestlily/Python/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/bestlily/Python/raw/refs/heads/master/Cricket_score.py","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"toaster","kind":"constant","ident_start":83,"ident_end":90,"extent_start":83,"extent_end":108,"fully_qualified_name":"toaster","ident_utf16":{"start":{"line_number":4,"utf16_col":0},"end":{"line_number":4,"utf16_col":7}},"extent_utf16":{"start":{"line_number":4,"utf16_col":0},"end":{"line_number":4,"utf16_col":25}}},{"name":"url","kind":"constant","ident_start":110,"ident_end":113,"extent_start":110,"extent_end":167,"fully_qualified_name":"url","ident_utf16":{"start":{"line_number":6,"utf16_col":0},"end":{"line_number":6,"utf16_col":3}},"extent_utf16":{"start":{"line_number":6,"utf16_col":0},"end":{"line_number":6,"utf16_col":57}}},{"name":"sauce","kind":"constant","ident_start":169,"ident_end":174,"extent_start":169,"extent_end":204,"fully_qualified_name":"sauce","ident_utf16":{"start":{"line_number":8,"utf16_col":0},"end":{"line_number":8,"utf16_col":5}},"extent_utf16":{"start":{"line_number":8,"utf16_col":0},"end":{"line_number":8,"utf16_col":35}}},{"name":"soup","kind":"constant","ident_start":205,"ident_end":209,"extent_start":205,"extent_end":242,"fully_qualified_name":"soup","ident_utf16":{"start":{"line_number":9,"utf16_col":0},"end":{"line_number":9,"utf16_col":4}},"extent_utf16":{"start":{"line_number":9,"utf16_col":0},"end":{"line_number":9,"utf16_col":37}}},{"name":"score","kind":"constant","ident_start":256,"ident_end":261,"extent_start":256,"extent_end":266,"fully_qualified_name":"score","ident_utf16":{"start":{"line_number":11,"utf16_col":0},"end":{"line_number":11,"utf16_col":5}},"extent_utf16":{"start":{"line_number":11,"utf16_col":0},"end":{"line_number":11,"utf16_col":10}}},{"name":"results","kind":"constant","ident_start":267,"ident_end":274,"extent_start":267,"extent_end":279,"fully_qualified_name":"results","ident_utf16":{"start":{"line_number":12,"utf16_col":0},"end":{"line_number":12,"utf16_col":7}},"extent_utf16":{"start":{"line_number":12,"utf16_col":0},"end":{"line_number":12,"utf16_col":12}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/bestlily/Python/branches":{"post":"amDD5l7iA2gFXyp9rMVRwWjxYWPppc9SN_0Zg_oMfJ17k-AvlLYjVCHNFFBsxfwpQYhschkNsQtIGm4VKY0Low"},"/repos/preferences":{"post":"2qSdxi44TN0oGYSFfSUpLgiiNWdDw8dWRTLCJH2904D2HpuNoiZc5MPEMWZQi0mucRsde9O54-Tjhx2auE-G6g"}}},"title":"Python/Cricket_score.py at master · bestlily/Python","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}