AbirHasan2005 / AbirHasan2005/LittleBrother

Problem with start the code

Aberta
#2 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
192
Forks
69
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hello excuse me to disturb you, I believe that there is a problem with the current code when it is launched...

Traceback (most recent call last):
File "C:\Users\tiall\Desktop\LittleBrother-master\littlebrother.py", line 1996, in
searchPersonne()
File "C:\Users\tiall\Desktop\LittleBrother-master\littlebrother.py", line 1246, in searchPersonne
fbtool.getInfoProfile(username)
File "C:\Users\tiall\Desktop\LittleBrother-master\littlebrother.py", line 424, in getInfoProfile
name = re.search(r'pageTitle\">(.*)', page).group(0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

The error occurs in littlebrother.py at line 424 in getInfoProfile, where a regex search returns None. Start by examining the function to see how 'page' is fetched and what its structure is. Run the script to reproduce the error, then adjust the regex or add a None check. Verify the fix by calling searchPersonne again.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
cli
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
40/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.