Project

General

Profile

Actions

Feature #1677

open

Feature #1669: Maintenir Facebook Driver

Obtenir les informations sur les publications Facebook

Added by Haithem FRAD about 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
30 Dec 2020
Due date:
% Done:

100%

Estimated time:

Description

Cette sous tache consiste à développer la fonction: get_publications(self, user_id, comments, n)

Le but est d'obtenir un dictionnaire contenant tout les information d'une publication Facebook : user, date, contenu, image, nb_reaction, nb_comment, et aussi obtenir les informations concernant les comments des publications (author, text, date)

Ref : https://dev.kaisens.fr/gitlab/root/facebookdriver/-/tree/master/facebookCrawler

Actions #1

Updated by Haithem FRAD about 5 years ago

  • Tracker changed from Feature to Bug
  • % Done changed from 70 to 80

J'ai un problème concernant le click pour afficher des nouvelles commentaires

Actions #2

Updated by Haithem FRAD about 5 years ago

  • Tracker changed from Bug to Feature
  • Assignee set to Haithem FRAD
  • % Done changed from 80 to 100

J'ai résolu ce Bug:

La solution est de scroller jusqu'a que le bouton soit au milieu de la page pour que je puisse clicker sur la button "Afficher plus de commentaire"

show_more_comments = WebDriverWait(self.driver, 20).until(EC.visibility_of_element_located((By.XPATH, ".//div[@class='nom_classe']")))
show_more_comments.click()
time.sleep(5)

Actions #3

Updated by Haithem FRAD about 5 years ago

  • Tracker changed from Feature to Bug
  • % Done changed from 100 to 60

Lors de mes tests je constate qu'il y a un bug pour récupérer les commentaires cachés

Actions #4

Updated by Haithem FRAD about 5 years ago

  • Tracker changed from Bug to Support
  • % Done changed from 60 to 100

Bug résolu:
Il faut juste reduire l'amplitude de scroll

Actions #5

Updated by Haithem FRAD about 5 years ago

  • Tracker changed from Support to Feature
Actions

Also available in: Atom PDF