Python para enfermeiras (11)¶
buscando a aplicabilidade de módulos e pacotes¶
In [1]:
# Por exemplo, vou usar o pacote random para selecionar a(o) enfermeira(o) líder para um plantão
# enf_lider = ['Valmira', 'João', 'Rosalda', 'Cleonice']
# importar o pacote random (que está no diretório desta plataforma que estou usando)
import random
In [2]:
# usar no pacote a função de escolha (choice) para dia 01
random.choice(['Valmira', 'João', 'Rosalda', 'Cleonice'])
Out[2]:
'Rosalda'
In [3]:
# usar no pacote a função de escolha (choice) para dia 02
random.choice(['Valmira', 'João', 'Rosalda', 'Cleonice'])
Out[3]:
'Valmira'
In [4]:
# pacientes para o grupo focal
random.sample(range(100), 10)
Out[4]:
[61, 80, 60, 4, 43, 56, 77, 70, 81, 99]
bioestatística, por exempo¶
In [5]:
import statistics
In [9]:
# Os dados abaixo referem-se ao tempo de internação, em dias, de pacientes com o diagnóstico
# Débito Cardíaco Prejudicado (10025557)
dados = [6, 8, 3, 8, 4, 1, 7, 5, 7, 2]
In [10]:
statistics.mean(dados)
Out[10]:
5.1
In [11]:
# algumas funções precisam ser importadas de dentro do pacote
# mediana, por ex, retorna o valor médio dos dados numéricos na lista (dias de internação).
# Uma medida de tendência central que não é influenciada por valores extremos é a mediana.
from statistics import median
In [12]:
statistics.median(dados)
Out[12]:
5.5
In [15]:
# A moda é a medida de maior frequência em um conjunto de dados (dias de internação). Os passos para se obter a moda são:
statistics.mode(dados)
Out[15]:
8
In [16]:
# por exemplo, o desvio padrão
from statistics import stdev
In [25]:
statistics.stdev(dados)
Out[25]:
2.5144029554194813
web scraping¶
In [17]:
# Importando o módulo request do pacote urllib, usado para trazer url's
# para dentro do nosso ambiente Python
import urllib.request
In [18]:
# Variável resposta armazena o objeto de conexão à url passada como
# parâmetro
resposta = urllib.request.urlopen('http://nepae.uff.br/')
In [19]:
# Objeto resposta
print(resposta)
<http.client.HTTPResponse object at 0x00000242DB38BF40>
In [20]:
# Chamando o método read() do objeto resposta e armazenando o código
# html na variável html
html = resposta.read()
In [21]:
# Imprimindo html
print(html)
b'<!DOCTYPE html>\n<html lang="pt-BR">\n <head>\n <meta charset="UTF-8" />\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <link rel="pingback" href="http://nepae.uff.br/xmlrpc.php" />\n\n <script type="text/javascript">\n document.documentElement.className = \'js\';\n </script>\n\n <script>var et_site_url=\'http://nepae.uff.br\';var et_post_id=\'350\';function et_core_page_resource_fallback(a,b){"undefined"===typeof b&&(b=a.sheet.cssRules&&0===a.sheet.cssRules.length);b&&(a.onerror=null,a.onload=null,a.href?a.href=et_site_url+"/?et_core_page_resource="+a.id+et_post_id:a.src&&(a.src=et_site_url+"/?et_core_page_resource="+a.id+et_post_id))}\n</script><title>NEPAE | Site do N\xc3\xbacleo de Estudos e Pesquisas sobre as Atividades de Enfermagem (NEPAE) e do N\xc3\xbacleo de Estudos sobre Sa\xc3\xbade e Etnia Negra (NESEN)</title>\n<link rel=\'dns-prefetch\' href=\'//translate.google.com\' />\n<link rel=\'dns-prefetch\' href=\'//www.google.com\' />\n<link rel=\'dns-prefetch\' href=\'//s.w.org\' />\n<link rel="alternate" type="application/rss+xml" title="Feed para NEPAE »" href="http://nepae.uff.br/feed/" />\n<link rel="alternate" type="application/rss+xml" title="Feed de coment\xc3\xa1rios para NEPAE »" href="http://nepae.uff.br/comments/feed/" />\n<!-- This site uses the Google Analytics by ExactMetrics plugin v6.2.2 - Using Analytics tracking - https://www.exactmetrics.com/ -->\n<!-- Note: ExactMetrics is not currently configured on this site. The site owner needs to authenticate with Google Analytics in the ExactMetrics settings panel. -->\n<!-- No UA code set -->\n<!-- / Google Analytics by ExactMetrics -->\n\t\t<script type="text/javascript">\n\t\t\twindow._wpemojiSettings = {"baseUrl":"https:\\/\\/s.w.org\\/images\\/core\\/emoji\\/13.0.0\\/72x72\\/","ext":".png","svgUrl":"https:\\/\\/s.w.org\\/images\\/core\\/emoji\\/13.0.0\\/svg\\/","svgExt":".svg","source":{"concatemoji":"http:\\/\\/nepae.uff.br\\/wp-includes\\/js\\/wp-emoji-release.min.js?ver=5.5.1"}};\n\t\t\t!function(e,a,t){var r,n,o,i,p=a.createElement("canvas"),s=p.getContext&&p.getContext("2d");function c(e,t){var a=String.fromCharCode;s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,e),0,0);var r=p.toDataURL();return s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,t),0,0),r===p.toDataURL()}function l(e){if(!s||!s.fillText)return!1;switch(s.textBaseline="top",s.font="600 32px Arial",e){case"flag":return!c([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])&&(!c([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!c([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]));case"emoji":return!c([55357,56424,8205,55356,57212],[55357,56424,8203,55356,57212])}return!1}function d(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(i=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},o=0;o<i.length;o++)t.supports[i[o]]=l(i[o]),t.supports.everything=t.supports.everything&&t.supports[i[o]],"flag"!==i[o]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[i[o]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(r=t.source||{}).concatemoji?d(r.concatemoji):r.wpemoji&&r.twemoji&&(d(r.twemoji),d(r.wpemoji)))}(window,document,window._wpemojiSettings);\n\t\t</script>\n\t\t<meta content="Templatesti v.1.0.0" name="generator"/><style type="text/css">\nimg.wp-smiley,\nimg.emoji {\n\tdisplay: inline !important;\n\tborder: none !important;\n\tbox-shadow: none !important;\n\theight: 1em !important;\n\twidth: 1em !important;\n\tmargin: 0 .07em !important;\n\tvertical-align: -0.1em !important;\n\tbackground: none !important;\n\tpadding: 0 !important;\n}\n</style>\n\t<link rel=\'stylesheet\' id=\'wp-block-library-css\' href=\'http://nepae.uff.br/wp-includes/css/dist/block-library/style.min.css?ver=5.5.1\' type=\'text/css\' media=\'all\' />\n<link rel=\'stylesheet\' id=\'contact-form-7-css\' href=\'http://nepae.uff.br/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.2.2\' type=\'text/css\' media=\'all\' />\n<link rel=\'stylesheet\' id=\'google-language-translator-css\' href=\'http://nepae.uff.br/wp-content/plugins/google-language-translator/css/style.css?ver=6.0.7\' type=\'text/css\' media=\'\' />\n<link rel=\'stylesheet\' id=\'glt-toolbar-styles-css\' href=\'http://nepae.uff.br/wp-content/plugins/google-language-translator/css/toolbar.css?ver=6.0.7\' type=\'text/css\' media=\'\' />\n<link rel=\'stylesheet\' id=\'parent-style-css\' href=\'http://nepae.uff.br/wp-content/themes/Divi/style.css?ver=5.5.1\' type=\'text/css\' media=\'all\' />\n<link rel=\'stylesheet\' id=\'child-style-css\' href=\'http://nepae.uff.br/wp-content/themes/templatesti/style.css?ver=5.5.1\' type=\'text/css\' media=\'all\' />\n<link rel=\'stylesheet\' id=\'divi-style-css\' href=\'http://nepae.uff.br/wp-content/themes/templatesti/style.css?ver=4.6.0\' type=\'text/css\' media=\'all\' />\n<link rel=\'stylesheet\' id=\'tablepress-default-css\' href=\'http://nepae.uff.br/wp-content/plugins/tablepress/css/default.min.css?ver=1.12\' type=\'text/css\' media=\'all\' />\n<link rel=\'stylesheet\' id=\'tablepress-responsive-tables-css\' href=\'http://nepae.uff.br/wp-content/plugins/tablepress-responsive-tables/css/tablepress-responsive.min.css?ver=1.7\' type=\'text/css\' media=\'all\' />\n<link rel=\'stylesheet\' id=\'dashicons-css\' href=\'http://nepae.uff.br/wp-includes/css/dashicons.min.css?ver=5.5.1\' type=\'text/css\' media=\'all\' />\n<link rel=\'stylesheet\' id=\'cf7cf-style-css\' href=\'http://nepae.uff.br/wp-content/plugins/cf7-conditional-fields/style.css?ver=1.9.10\' type=\'text/css\' media=\'all\' />\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp\' id=\'jquery-core-js\'></script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-content/themes/Divi/core/admin/js/es6-promise.auto.min.js?ver=5.5.1\' id=\'es6-promise-js\'></script>\n<script type=\'text/javascript\' id=\'et-core-api-spam-recaptcha-js-extra\'>\n/* <![CDATA[ */\nvar et_core_api_spam_recaptcha = {"site_key":"","page_action":{"action":"nepae_uff_br"}};\n/* ]]> */\n</script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-content/themes/Divi/core/admin/js/recaptcha.js?ver=5.5.1\' id=\'et-core-api-spam-recaptcha-js\'></script>\n<link rel="https://api.w.org/" href="http://nepae.uff.br/wp-json/" /><link rel="alternate" type="application/json" href="http://nepae.uff.br/wp-json/wp/v2/pages/350" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://nepae.uff.br/xmlrpc.php?rsd" />\n<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://nepae.uff.br/wp-includes/wlwmanifest.xml" /> \n<meta name="generator" content="WordPress 5.5.1" />\n<link rel="canonical" href="http://nepae.uff.br/" />\n<link rel=\'shortlink\' href=\'http://nepae.uff.br/\' />\n<link rel="alternate" type="application/json+oembed" href="http://nepae.uff.br/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fnepae.uff.br%2F" />\n<link rel="alternate" type="text/xml+oembed" href="http://nepae.uff.br/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fnepae.uff.br%2F&format=xml" />\n<style type="text/css">p.hello { font-size:12px; color:darkgray; }#google_language_translator, #flags { text-align:left; }#google_language_translator { clear:both; }#flags { width:165px; }#flags a { display:inline-block; margin-right:2px; }#google_language_translator { width:auto !important; }.goog-tooltip {display: none !important;}.goog-tooltip:hover {display: none !important;}.goog-text-highlight {background-color: transparent !important; border: none !important; box-shadow: none !important;}#google_language_translator select.goog-te-combo { color:#32373c; }#google_language_translator {color: transparent;}body { top:0px !important; }#glt-translate-trigger > span { color:#ffffff; }#glt-translate-trigger { background:#f89406; }</style><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /><style type="text/css" id="custom-background-css">\nbody.custom-background { background-color: #5f8fbf; }\n</style>\n\t<link rel="icon" href="http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/cropped-nepae\xc3\x8dCONEsite-32x32.png" sizes="32x32" />\n<link rel="icon" href="http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/cropped-nepae\xc3\x8dCONEsite-192x192.png" sizes="192x192" />\n<link rel="apple-touch-icon" href="http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/cropped-nepae\xc3\x8dCONEsite-180x180.png" />\n<meta name="msapplication-TileImage" content="http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/cropped-nepae\xc3\x8dCONEsite-270x270.png" />\n<link rel="stylesheet" id="et-core-unified-350-cached-inline-styles" href="http://nepae.uff.br/wp-content/et-cache/1/119/350/et-core-unified-350-16100664326857.min.css" onerror="et_core_page_resource_fallback(this, true)" onload="et_core_page_resource_fallback(this)" /> </head>\n <body class="home page-template-default page page-id-350 custom-background et_pb_button_helper_class et_fixed_nav et_show_nav et_primary_nav_dropdown_animation_fade et_secondary_nav_dropdown_animation_fade et_header_style_left et_pb_footer_columns4 et_boxed_layout et_cover_background et_pb_gutter et_pb_gutters3 et_pb_pagebuilder_layout et_no_sidebar et_divi_theme et-db et_minified_js et_minified_css">\n\n <div id="barra-brasil" style="background:#7F7F7F; height: 20px; padding:0 0 0 10px;display:block;">\n <ul id="menu-barra-temp" style="list-style:none;">\n <li style="display:inline; float:left;padding-right:10px; margin-right:10px; border-right:1px solid #EDEDED">\n <a href="http://brasil.gov.br" style="font-family:sans,sans-serif; text-decoration:none; color:white;">Portal do Governo Brasileiro</a>\n </li>\n </ul>\n </div>\n \n\n <div id="page-container">\n \n \n \n <header id="main-header" data-height-onload="66">\n <div class="container clearfix et_menu_container">\n <div class="logo_container">\n <span class="logo_helper"></span>\n <a href="http://nepae.uff.br/">\n <img src="http://nepae.sites2.uff.br/wp-content/uploads/sites/119/2019/11/uff-logo.png" alt="NEPAE" id="logo" data-height-percentage="54" />\n </a>\n </div>\n <div id="et-top-navigation" data-height="66" data-fixed-height="40">\n <nav id="top-menu-nav">\n <ul id="top-menu" class="nav"><li id="menu-item-359" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-350 current_page_item menu-item-359"><a href="http://nepae.uff.br/" aria-current="page">P\xc3\xa1gina Inicial</a></li>\n<li id="menu-item-227" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-227"><a href="http://nepae.uff.br/nossos-cursos/">Cursos</a></li>\n<li id="menu-item-328" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-328"><a href="http://nepae.uff.br/noticias/">Not\xc3\xadcias</a></li>\n<li id="menu-item-469" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-469"><a href="http://nepae.uff.br/nossa-producao/">Produ\xc3\xa7\xc3\xa3o</a></li>\n<li id="menu-item-1320" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-1320"><a href="http://nepae.uff.br/2020/07/08/preparo-para-o-parto-e-aleitamento/">Preparo para Parto</a></li>\n</ul> </nav>\n \n \n \n <div id="et_top_search">\n <span id="et_search_icon"></span>\n </div>\n \n <div id="et_mobile_nav_menu">\n\t\t\t\t<div class="mobile_nav closed">\n\t\t\t\t\t<span class="select_page">Escolha uma P\xc3\xa1gina</span>\n\t\t\t\t\t<span class="mobile_menu_bar mobile_menu_bar_toggle"></span>\n\t\t\t\t</div>\n\t\t\t</div> </div> <!-- #et-top-navigation -->\n </div> <!-- .container -->\n <div class="et_search_outer">\n <div class="container et_search_form_container">\n <form role="search" method="get" class="et-search-form" action="http://nepae.uff.br/">\n <input type="search" class="et-search-field" placeholder="Pesquisar …" value="" name="s" title="Pesquisar por:" /> </form>\n <span class="et_close_search_field"></span>\n </div>\n </div>\n </header> <!-- #main-header -->\n <div id="et-main-area">\n \n<div id="main-content">\n\n\n\t\t\t\n\t\t\t\t<article id="post-350" class="post-350 page type-page status-publish hentry">\n\n\t\t\t\t\n\t\t\t\t\t<div class="entry-content">\n\t\t\t\t\t<div id="et-boc" class="et-boc">\n\t\t\t\n\t\t<div class="et-l et-l--post">\n\t\t\t<div class="et_builder_inner_content et_pb_gutters3">\n\t\t<div class="et_pb_with_border et_pb_section et_pb_section_0 et_animated et_pb_fullwidth_section et_section_regular" >\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t<div class="et_pb_module et_pb_fullwidth_slider_0 et_pb_slider et_pb_slider_parallax">\n\t\t\t\t<div class="et_pb_slides">\n\t\t\t\t\t<div class="et_pb_slide et_pb_slide_0 et_pb_section_parallax et_pb_bg_layout_dark et_pb_slide_with_image et_pb_media_alignment_center et_pb_slider_with_overlay et-pb-active-slide" data-slide-id="et_pb_slide_0">\n\t\t\t\t<span class="et_parallax_bg_wrap"><span\n\t\t\t\t\t\tclass="et_parallax_bg et_pb_parallax_css"\n\t\t\t\t\t\tstyle="background-image: url(http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/DECS-AR-2018_06_11-10_20_02-UTC.jpeg);"\n\t\t\t\t\t></span></span>\n\t\t\t\t<div class="et_pb_slide_overlay_container"></div>\n\t\t\t\t<div class="et_pb_container clearfix">\n\t\t\t\t\t<div class="et_pb_slider_container_inner">\n\t\t\t\t\t\t<div class="et_pb_slide_image"><img src="http://nepae.sites2.uff.br/wp-content/uploads/sites/119/2019/11/siteNEPAEcapa.jpg" alt="" srcset="http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/siteNEPAEcapa.jpg 2000w, http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/siteNEPAEcapa-300x240.jpg 300w, http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/siteNEPAEcapa-768x614.jpg 768w, http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/siteNEPAEcapa-1024x819.jpg 1024w, http://nepae.uff.br/wp-content/uploads/sites/119/2019/11/siteNEPAEcapa-1080x864.jpg 1080w" sizes="(max-width: 2000px) 100vw, 2000px" /></div>\n\t\t\t\t\t\t<div class="et_pb_slide_description">\n\t\t\t\t\t\t\t<h2 class="et_pb_slide_title"><a href="http://nepae.uff.br/nossos-cursos/">NEPAE & NESEN</a></h2><div class="et_pb_slide_content"><p>NEPAE- N\xc3\xbacleo de Estudos e Pesquisas sobre as Atividades de Enfermagem – e<br /> NESEN- N\xc3\xbacleo de Estudos sobre Sa\xc3\xbade e Etnia Negra, foram criados em 1994 com foco no cuidado interprofissional centrado na pessoa e sua diversidade, isento de vieses.</p></div>\n\t\t\t\t\t\t\t<div class="et_pb_button_wrapper"><a class="et_pb_button et_pb_more_button" href="http://nepae.uff.br/nossos-cursos/" target="_blank">Confira!</a></div>\n\t\t\t\t\t\t</div> <!-- .et_pb_slide_description -->\n\t\t\t\t\t</div>\n\t\t\t\t</div> <!-- .et_pb_container -->\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_slide -->\n\t\t\t<div class="et_pb_with_border et_pb_slide et_pb_slide_1 et_pb_section_parallax et_pb_bg_layout_light et_pb_slide_with_image et_pb_media_alignment_center" data-slide-id="et_pb_slide_1">\n\t\t\t\t<span class="et_parallax_bg_wrap"><span\n\t\t\t\t\t\tclass="et_parallax_bg et_pb_parallax_css"\n\t\t\t\t\t\tstyle="background-image: url(http://nepae.sites2.uff.br/wp-content/uploads/sites/119/2019/12/pensar-fora-da-caixa.jpg);"\n\t\t\t\t\t></span></span>\n\t\t\t\t\n\t\t\t\t<div class="et_pb_container clearfix">\n\t\t\t\t\t<div class="et_pb_slider_container_inner">\n\t\t\t\t\t\t<div class="et_pb_slide_image"><img src="http://nepae.sites2.uff.br/wp-content/uploads/sites/119/2019/12/Encontro-Cl\xc3\xadnico-uma-fotonovela-2019_11_26-10_05_40-UTC.png" alt="" /></div>\n\t\t\t\t\t\t<div class="et_pb_slide_description">\n\t\t\t\t\t\t\t<h2 class="et_pb_slide_title"><a href="http://nepae.uff.br/nossos-cursos/">Nossos Cursos</a></h2><div class="et_pb_slide_content"><p><span style="color: #000000">Presencial, Sala de Aula Invertida ou Ambiente Virtual de Aprendizagem: recursos e estrat\xc3\xa9gias de ensino-aprendizagem-avalia\xc3\xa7\xc3\xa3o centrados no(a) estudante-paciente-docente com foco no<span>\xc2\xa0cuidado interprofissional e colabortivo, baseado em evid\xc3\xaancia, igualmente isento de discrimina\xc3\xa7\xc3\xb5es.</span></span></p></div>\n\t\t\t\t\t\t\t<div class="et_pb_button_wrapper"><a class="et_pb_button et_pb_more_button" href="http://nepae.uff.br/nossos-cursos/" target="_blank">Confira!</a></div>\n\t\t\t\t\t\t</div> <!-- .et_pb_slide_description -->\n\t\t\t\t\t</div>\n\t\t\t\t</div> <!-- .et_pb_container -->\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_slide -->\n\t\t\t<div class="et_pb_slide et_pb_slide_2 et_pb_section_parallax et_pb_bg_layout_light et_pb_slide_with_image et_pb_slide_with_video et_pb_media_alignment_center" data-slide-id="et_pb_slide_2">\n\t\t\t\t<span class="et_parallax_bg_wrap"><span\n\t\t\t\t\t\tclass="et_parallax_bg et_pb_parallax_css"\n\t\t\t\t\t\tstyle="background-image: url(http://nepae.sites2.uff.br/wp-content/uploads/sites/119/2019/12/sa\xc3\xbade-digital.jpg);"\n\t\t\t\t\t></span></span>\n\t\t\t\t\n\t\t\t\t<div class="et_pb_container clearfix">\n\t\t\t\t\t<div class="et_pb_slider_container_inner">\n\t\t\t\t\t\t<div class="et_pb_slide_video"><iframe title="360 Sa\xc3\xbade Quilombola RV 2019" width="1080" height="608" src="https://www.youtube.com/embed/fsx09stoFfg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>\n\t\t\t\t\t\t<div class="et_pb_slide_description">\n\t\t\t\t\t\t\t<h2 class="et_pb_slide_title"><a href="http://nepae.uff.br/nossa-producao/">Nossa Produ\xc3\xa7\xc3\xa3o</a></h2><div class="et_pb_slide_content"><p><span>Resultado de processos de pesquisa, ensino e extens\xc3\xa3o para a educa\xc3\xa7\xc3\xa3o permanente com foco na pr\xc3\xa1tica profissional de sa\xc3\xbade baseada em evid\xc3\xaancia.</span></p></div>\n\t\t\t\t\t\t\t<div class="et_pb_button_wrapper"><a class="et_pb_button et_pb_more_button" href="http://nepae.uff.br/nossa-producao/" target="_blank">Confira!</a></div>\n\t\t\t\t\t\t</div> <!-- .et_pb_slide_description -->\n\t\t\t\t\t</div>\n\t\t\t\t</div> <!-- .et_pb_container -->\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_slide -->\n\t\t\t\n\t\t\t\t</div> <!-- .et_pb_slides -->\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_slider -->\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_section --><div class="et_pb_section et_pb_section_1 et_animated et_pb_with_background et_section_regular" >\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t<div class="et_pb_row et_pb_row_0">\n\t\t\t\t<div class="et_pb_with_border et_pb_column_1_2 et_pb_column et_pb_column_0 et_pb_css_mix_blend_mode_passthrough">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<div class="et_pb_with_border et_pb_module et_pb_cta_0 et_pb_promo et_pb_text_align_left et_pb_bg_layout_dark">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<div class="et_pb_promo_description"><h2 class="et_pb_module_header">Not\xc3\xadcias</h2><div><p><b>Blog dos N\xc3\xbacleos de Pesquisa:<br /></b>Sa\xc3\xbade e Etnia Negra<br />Atividades de Enfermagem<br /><em><strong>#covid-19 autocuidado, cuidados da(o) enfermeira</strong></em></p></div></div>\n\t\t\t\t\n\t\t\t</div><div class="et_pb_button_module_wrapper et_pb_button_0_wrapper et_pb_button_alignment_center et_pb_module ">\n\t\t\t\t<a class="et_pb_button et_pb_button_0 et_pb_bg_layout_light" href="http://nepae.uff.br/noticias/" target="_blank">Confira!</a>\n\t\t\t</div><div class="et_pb_module et_pb_cta_1 et_pb_promo et_pb_text_align_left et_pb_bg_layout_dark">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<div class="et_pb_promo_description"><h2 class="et_pb_module_header">Sobre o NEPAE</h2><div><p><span style="font-family: Verdana">Criado em 20/07/1994, pela Professora Isabel Cruz</span><span style="font-family: Verdana">, para o desenvolvimento de pesquisas sobre diagn\xc3\xb3sticos, prescri\xc3\xa7\xc3\xb5es e resultados de enfermagem, voltadas pra o paciente de alta complexidade, em especial (Cuidados Intensivos; M\xc3\xa9todos Dial\xc3\xadticos & Transplantes).</span></p>\n<p> </p></div></div>\n\t\t\t\t\n\t\t\t</div><div class="et_pb_button_module_wrapper et_pb_button_1_wrapper et_pb_button_alignment_center et_pb_module ">\n\t\t\t\t<a class="et_pb_button et_pb_button_1 et_pb_bg_layout_light" href="http://nepae.uff.br/nossos-cursos/" target="_blank">Confira!</a>\n\t\t\t</div>\n\t\t\t</div> <!-- .et_pb_column --><div class="et_pb_with_border et_pb_column_1_2 et_pb_column et_pb_column_1 et_pb_css_mix_blend_mode_passthrough et-last-child">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<div class="et_pb_module et_pb_cta_2 et_pb_promo et_pb_text_align_left et_pb_bg_layout_dark">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<div class="et_pb_promo_description"><h2 class="et_pb_module_header">Sobre o NESEN</h2><div><p><span style="font-family: Verdana">Criado em 20/07/1994, para o desenvolvimento de </span><span style="font-family: Verdana">pesquisas sobre o processo de bem-estar/mal-estar da popula\xc3\xa7\xc3\xa3o negra, assim como sobre o impacto do racismo institucional na sa\xc3\xbade e as estrat\xc3\xa9gias de enfrentamento da discrimina\xc3\xa7\xc3\xa3o e do vi\xc3\xa9s impl\xc3\xadcito, respectivamente.\xc2\xa0</span></p></div></div>\n\t\t\t\t\n\t\t\t</div><div class="et_pb_button_module_wrapper et_pb_button_2_wrapper et_pb_button_alignment_center et_pb_module ">\n\t\t\t\t<a class="et_pb_button et_pb_button_2 et_pb_bg_layout_light" href="http://nepae.uff.br/nossa-producao/" target="_blank">Confira!</a>\n\t\t\t</div><div class="et_pb_module et_pb_cta_3 et_pb_promo et_pb_text_align_left et_pb_bg_layout_dark">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<div class="et_pb_promo_description"><h2 class="et_pb_module_header">sobre MIEC</h2><div><p>NEPAE-NESEN desenvolvem m\xc3\xaddias interativas (realidade virtual, jogos, dramatiza\xc3\xa7\xc3\xb5es, etc) para o ensino cl\xc3\xadnico centrado (MIEC) no(a) estudante-paciente-docente, seja presencial, seja online.</p></div></div>\n\t\t\t\t\n\t\t\t</div><div class="et_pb_button_module_wrapper et_pb_button_3_wrapper et_pb_button_alignment_center et_pb_module ">\n\t\t\t\t<a class="et_pb_button et_pb_button_3 et_pb_bg_layout_light" href="http://nepae.uff.br/nossa-producao/" target="_blank">Confira!</a>\n\t\t\t</div>\n\t\t\t</div> <!-- .et_pb_column -->\n\t\t\t\t\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_row -->\n\t\t\t\t\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_section --><div class="et_pb_section et_pb_section_2 et_animated et_section_regular" >\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t<div class="et_pb_row et_pb_row_1">\n\t\t\t\t<div class="et_pb_with_border et_pb_column_4_4 et_pb_column et_pb_column_2 et_clickable et_pb_css_mix_blend_mode_passthrough et-last-child">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<div class="et_pb_with_border et_pb_module et_pb_team_member et_pb_team_member_0 et_clickable clearfix et_pb_bg_layout_light">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t<div class="et_pb_team_member_image et-waypoint et_pb_animation_off"><img src="http://nepae.sites2.uff.br/wp-content/uploads/sites/119/2019/12/Isabel_Cruz-2017_09_24-14_27_41-UTC.jpg" alt="Profa. Dra. Isabel Cruz - Titular/UFF (1994)" srcset="http://nepae.uff.br/wp-content/uploads/sites/119/2019/12/Isabel_Cruz-2017_09_24-14_27_41-UTC.jpg 500w, http://nepae.uff.br/wp-content/uploads/sites/119/2019/12/Isabel_Cruz-2017_09_24-14_27_41-UTC-216x300.jpg 216w" sizes="(max-width: 500px) 100vw, 500px" /></div>\n\t\t\t\t<div class="et_pb_team_member_description">\n\t\t\t\t\t<h4 class="et_pb_module_header">Profa. Dra. Isabel Cruz - Titular/UFF (1994)</h4>\n\t\t\t\t\t<p class="et_pb_member_position">Coordenadora NEPAE-NESEN</p>\n\t\t\t\t\t<div><p>Fale conosco. N\xc3\xa3o esque\xc3\xa7a de indicar o assunto da mensagem.</p>\n<div role="form" class="wpcf7" id="wpcf7-f425-p350-o1" lang="pt-BR" dir="ltr">\n<div class="screen-reader-response" role="alert" aria-live="polite"></div>\n<form action="/#wpcf7-f425-p350-o1" method="post" class="wpcf7-form init" novalidate="novalidate">\n<div style="display: none;">\n<input type="hidden" name="_wpcf7" value="425" />\n<input type="hidden" name="_wpcf7_version" value="5.2.2" />\n<input type="hidden" name="_wpcf7_locale" value="pt_BR" />\n<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f425-p350-o1" />\n<input type="hidden" name="_wpcf7_container_post" value="350" />\n<input type="hidden" name="_wpcf7_posted_data_hash" value="" />\n<input type="hidden" name="_wpcf7cf_hidden_group_fields" value="" />\n<input type="hidden" name="_wpcf7cf_hidden_groups" value="" />\n<input type="hidden" name="_wpcf7cf_visible_groups" value="" />\n<input type="hidden" name="_wpcf7cf_repeaters" value="[]" />\n<input type="hidden" name="_wpcf7cf_steps" value="{}" />\n<input type="hidden" name="_wpcf7cf_options" value="{"form_id":425,"conditions":[],"settings":{"animation":"yes","animation_intime":200,"animation_outtime":200,"conditions_ui":"normal","notice_dismissed":false}}" />\n<input type="hidden" name="_wpcf7_recaptcha_response" value="" />\n</div>\n<p><label> Seu nome (obrigat\xc3\xb3rio)<br />\n <span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false" /></span> </label></p>\n<p><label> Seu e-mail (obrigat\xc3\xb3rio)<br />\n <span class="wpcf7-form-control-wrap your-email"><input type="email" name="your-email" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" aria-required="true" aria-invalid="false" /></span> </label></p>\n<p><label> Assunto<br />\n <span class="wpcf7-form-control-wrap your-subject"><input type="text" name="your-subject" value="" size="40" class="wpcf7-form-control wpcf7-text" aria-invalid="false" /></span> </label></p>\n<p><label> Sua mensagem<br />\n <span class="wpcf7-form-control-wrap your-message"><textarea name="your-message" cols="40" rows="10" class="wpcf7-form-control wpcf7-textarea" aria-invalid="false"></textarea></span> </label></p>\n<p><input type="submit" value="Enviar" class="wpcf7-form-control wpcf7-submit" /></p>\n<div class="wpcf7-response-output" role="alert" aria-hidden="true"></div></form></div></div>\n\t\t\t\t\t<ul class="et_pb_member_social_links"><li><a href="https://www.facebook.com/nepaenesen?_rdc=1&_rdr" class="et_pb_font_icon et_pb_facebook_icon"><span>Facebook</span></a></li><li><a href="https://twitter.com/mecuidando" class="et_pb_font_icon et_pb_twitter_icon"><span>Twitter</span></a></li></ul>\n\t\t\t\t</div> <!-- .et_pb_team_member_description -->\n\t\t\t</div> <!-- .et_pb_team_member -->\n\t\t\t</div> <!-- .et_pb_column -->\n\t\t\t\t\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_row -->\n\t\t\t\t\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_section --><div class="et_pb_section et_pb_section_3 et_section_regular" >\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t</div> <!-- .et_pb_section -->\t\t</div><!-- .et_builder_inner_content -->\n\t</div><!-- .et-l -->\n\t\n\t\t\t\n\t\t</div><!-- #et-boc -->\n\t\t\t\t\t\t\t</div> <!-- .entry-content -->\n\n\t\t\t\t\n\t\t\t\t</article> <!-- .et_pb_post -->\n\n\t\t\t\n\n</div> <!-- #main-content -->\n\n\n <footer id="main-footer">\n \n<div class="container">\n <div id="footer-widgets" class="clearfix">\n\t\t<div class="footer-widget"><div id="search-3" class="fwidget et_pb_widget widget_search"><h4 class="title">Procure aqui!</h4><form role="search" method="get" id="searchform" class="searchform" action="http://nepae.uff.br/">\n\t\t\t\t<div>\n\t\t\t\t\t<label class="screen-reader-text" for="s">Pesquisar por:</label>\n\t\t\t\t\t<input type="text" value="" name="s" id="s" />\n\t\t\t\t\t<input type="submit" id="searchsubmit" value="Pesquisar" />\n\t\t\t\t</div>\n\t\t\t</form></div> <!-- end .fwidget --></div> <!-- end .footer-widget --><div class="footer-widget"></div> <!-- end .footer-widget --><div class="footer-widget"></div> <!-- end .footer-widget --><div class="footer-widget"></div> <!-- end .footer-widget --> </div> <!-- #footer-widgets -->\n</div> <!-- .container -->\n\n \n\t<div id="footer-bottom">\n <div class="container clearfix">\n\t\t\n <p id="footer-info">\n \xc2\xa9 Copyright 2021. UFF - Todos os direitos reservados.</p> </div>\t<!-- .container -->\n </div>\n </footer> <!-- #main-footer -->\n </div> <!-- #et-main-area -->\n\n\n</div> <!-- #page-container -->\n\n<div id="glt-translate-trigger"><span class="notranslate">Translate »</span></div><div id="glt-toolbar"></div><div id="flags" style="display:none" class="size18"><ul id="sortable" class="ui-sortable"><li id="English"><a href="#" title="English" class="nturl notranslate en flag united-states"></a></li></ul></div><div id=\'glt-footer\'><div id="google_language_translator" class="default-language-en"></div></div><script>function GoogleLanguageTranslatorInit() { new google.translate.TranslateElement({pageLanguage: \'en\', includedLanguages:\'en\', autoDisplay: false}, \'google_language_translator\');}</script>\t<script type="text/javascript">\n\t\t\t\tvar et_animation_data = [{"class":"et_pb_section_0","style":"transformAnim","repeat":"once","duration":"1000ms","delay":"0ms","intensity":"50%","starting_opacity":"0%","speed_curve":"ease-in-out","style_tablet":"transformAnim","style_phone":"transformAnim"},{"class":"et_pb_section_1","style":"slide","repeat":"once","duration":"1000ms","delay":"0ms","intensity":"50%","starting_opacity":"0%","speed_curve":"ease-in-out"},{"class":"et_pb_section_2","style":"slide","repeat":"once","duration":"1000ms","delay":"0ms","intensity":"50%","starting_opacity":"0%","speed_curve":"ease-in-out"}];\n\t\t\t\t\tvar et_link_options_data = [{"class":"et_pb_column_2","url":"http:\\/\\/lattes.cnpq.br\\/0996181611327545","target":"_blank"},{"class":"et_pb_team_member_0","url":"http:\\/\\/lattes.cnpq.br\\/0996181611327545","target":"_blank"}];\n\t\t\t</script>\n\t<script type=\'text/javascript\' id=\'contact-form-7-js-extra\'>\n/* <![CDATA[ */\nvar wpcf7 = {"apiSettings":{"root":"http:\\/\\/nepae.uff.br\\/wp-json\\/contact-form-7\\/v1","namespace":"contact-form-7\\/v1"}};\n/* ]]> */\n</script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.2.2\' id=\'contact-form-7-js\'></script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-content/plugins/google-language-translator/js/scripts.js?ver=6.0.7\' id=\'scripts-js\'></script>\n<script type=\'text/javascript\' src=\'//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit\' id=\'scripts-google-js\'></script>\n<script type=\'text/javascript\' src=\'https://www.google.com/recaptcha/api.js?render=6LcnrZoUAAAAAPSG4akhywbpdpLee0D3Oa1oyy1L&ver=3.0\' id=\'google-recaptcha-js\'></script>\n<script type=\'text/javascript\' id=\'wpcf7-recaptcha-js-extra\'>\n/* <![CDATA[ */\nvar wpcf7_recaptcha = {"sitekey":"6LcnrZoUAAAAAPSG4akhywbpdpLee0D3Oa1oyy1L","actions":{"homepage":"homepage","contactform":"contactform"}};\n/* ]]> */\n</script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-content/plugins/contact-form-7/modules/recaptcha/script.js?ver=5.2.2\' id=\'wpcf7-recaptcha-js\'></script>\n<script type=\'text/javascript\' id=\'divi-custom-script-js-extra\'>\n/* <![CDATA[ */\nvar DIVI = {"item_count":"%d Item","items_count":"%d Items"};\nvar et_shortcodes_strings = {"previous":"Anterior","next":"Pr\\u00f3ximo"};\nvar et_pb_custom = {"ajaxurl":"http:\\/\\/nepae.uff.br\\/wp-admin\\/admin-ajax.php","images_uri":"http:\\/\\/nepae.uff.br\\/wp-content\\/themes\\/Divi\\/images","builder_images_uri":"http:\\/\\/nepae.uff.br\\/wp-content\\/themes\\/Divi\\/includes\\/builder\\/images","et_frontend_nonce":"c997d67b0e","subscription_failed":"Por favor, verifique os campos abaixo para verifique se voc\\u00ea digitou as informa\\u00e7\\u00f5es corretas.","et_ab_log_nonce":"c7faf0a8b7","fill_message":"Por favor, preencha os seguintes campos:","contact_error_message":"Por favor, corrija os seguintes erros:","invalid":"E-mail inv\\u00e1lido","captcha":"Captcha","prev":"Anterior","previous":"Anterior","next":"Pr\\u00f3ximo","wrong_captcha":"Voc\\u00ea digitou o n\\u00famero captcha errado.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"350","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"no","is_shortcode_tracking":"","tinymce_uri":""}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"};\nvar et_pb_box_shadow_elements = [];\nvar et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]};\nvar et_pb_sticky_elements = [];\n/* ]]> */\n</script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-content/themes/Divi/js/custom.unified.js?ver=4.6.0\' id=\'divi-custom-script-js\'></script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-content/themes/Divi/core/admin/js/common.js?ver=4.6.0\' id=\'et-core-common-js\'></script>\n<script type=\'text/javascript\' id=\'wpcf7cf-scripts-js-extra\'>\n/* <![CDATA[ */\nvar wpcf7cf_global_settings = {"ajaxurl":"http:\\/\\/nepae.uff.br\\/wp-admin\\/admin-ajax.php"};\n/* ]]> */\n</script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-content/plugins/cf7-conditional-fields/js/scripts.js?ver=1.9.10\' id=\'wpcf7cf-scripts-js\'></script>\n<script type=\'text/javascript\' src=\'http://nepae.uff.br/wp-includes/js/wp-embed.min.js?ver=5.5.1\' id=\'wp-embed-js\'></script>\n\n<script defer="defer" src="//barra.brasil.gov.br/barra.js" type="text/javascript"></script>\n\n</body>\n</html>\n'
In [4]:
import requests
In [5]:
URL = 'https://www.nepae.uff.br/q=negra'
page = requests.get(URL)
--------------------------------------------------------------------------- ConnectionRefusedError Traceback (most recent call last) ~\anaconda3\lib\site-packages\urllib3\connection.py in _new_conn(self) 158 try: --> 159 conn = connection.create_connection( 160 (self._dns_host, self.port), self.timeout, **extra_kw ~\anaconda3\lib\site-packages\urllib3\util\connection.py in create_connection(address, timeout, source_address, socket_options) 83 if err is not None: ---> 84 raise err 85 ~\anaconda3\lib\site-packages\urllib3\util\connection.py in create_connection(address, timeout, source_address, socket_options) 73 sock.bind(source_address) ---> 74 sock.connect(sa) 75 return sock ConnectionRefusedError: [WinError 10061] Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente During handling of the above exception, another exception occurred: NewConnectionError Traceback (most recent call last) ~\anaconda3\lib\site-packages\urllib3\connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw) 669 # Make the request on the httplib connection object. --> 670 httplib_response = self._make_request( 671 conn, ~\anaconda3\lib\site-packages\urllib3\connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw) 380 try: --> 381 self._validate_conn(conn) 382 except (SocketTimeout, BaseSSLError) as e: ~\anaconda3\lib\site-packages\urllib3\connectionpool.py in _validate_conn(self, conn) 977 if not getattr(conn, "sock", None): # AppEngine might not have `.sock` --> 978 conn.connect() 979 ~\anaconda3\lib\site-packages\urllib3\connection.py in connect(self) 308 # Add certificate verification --> 309 conn = self._new_conn() 310 hostname = self.host ~\anaconda3\lib\site-packages\urllib3\connection.py in _new_conn(self) 170 except SocketError as e: --> 171 raise NewConnectionError( 172 self, "Failed to establish a new connection: %s" % e NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x0000022F2D20ED60>: Failed to establish a new connection: [WinError 10061] Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente During handling of the above exception, another exception occurred: MaxRetryError Traceback (most recent call last) ~\anaconda3\lib\site-packages\requests\adapters.py in send(self, request, stream, timeout, verify, cert, proxies) 438 if not chunked: --> 439 resp = conn.urlopen( 440 method=request.method, ~\anaconda3\lib\site-packages\urllib3\connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw) 725 --> 726 retries = retries.increment( 727 method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] ~\anaconda3\lib\site-packages\urllib3\util\retry.py in increment(self, method, url, response, error, _pool, _stacktrace) 445 if new_retry.is_exhausted(): --> 446 raise MaxRetryError(_pool, url, error or ResponseError(cause)) 447 MaxRetryError: HTTPSConnectionPool(host='www.nepae.uff.br', port=443): Max retries exceeded with url: /q=negra (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000022F2D20ED60>: Failed to establish a new connection: [WinError 10061] Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente')) During handling of the above exception, another exception occurred: ConnectionError Traceback (most recent call last) <ipython-input-5-a4989c267310> in <module> 1 URL = 'https://www.nepae.uff.br/q=negra' ----> 2 page = requests.get(URL) ~\anaconda3\lib\site-packages\requests\api.py in get(url, params, **kwargs) 74 75 kwargs.setdefault('allow_redirects', True) ---> 76 return request('get', url, params=params, **kwargs) 77 78 ~\anaconda3\lib\site-packages\requests\api.py in request(method, url, **kwargs) 59 # cases, and look like a memory leak in others. 60 with sessions.Session() as session: ---> 61 return session.request(method=method, url=url, **kwargs) 62 63 ~\anaconda3\lib\site-packages\requests\sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json) 528 } 529 send_kwargs.update(settings) --> 530 resp = self.send(prep, **send_kwargs) 531 532 return resp ~\anaconda3\lib\site-packages\requests\sessions.py in send(self, request, **kwargs) 641 642 # Send the request --> 643 r = adapter.send(request, **kwargs) 644 645 # Total elapsed time of the request (approximately) ~\anaconda3\lib\site-packages\requests\adapters.py in send(self, request, stream, timeout, verify, cert, proxies) 514 raise SSLError(e, request=request) 515 --> 516 raise ConnectionError(e, request=request) 517 518 except ClosedPoolError as e: ConnectionError: HTTPSConnectionPool(host='www.nepae.uff.br', port=443): Max retries exceeded with url: /q=negra (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000022F2D20ED60>: Failed to establish a new connection: [WinError 10061] Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente'))
Apontamentos
- Não há apontamentos.
BNN - ISSN 1676-4893
Boletim do Núcleo de Estudos e Pesquisas sobre as Atividades de Enfermagem (NEPAE)e do Núcleo de Estudos sobre Saúde e Etnia Negra (NESEN).