Package: pytipeee
PytipeeePytipeeeis an unofficial scraper fortipeee.comusing python.
Codes are hosted in thisrepository,
Thanks toPytipeeeyou are able to:Collect large amounts of creators by categorysee infromation for each creatorread commentssee newsget tipper and tipsInstallationTo install you can use pip by terminal:pipinstallpytipeeeUsageImportimportpytipeeeasptCategoriesDifferent categories are available.pt.show_categories()other
bd-illustration
movies
food
geek
video-game
humour
journalism
books
fashion
music
photography
science-technology
performing-arts
sports
vlog
streamingCreators CollectionYou can collect a defined number of creators filtering by category...
by default the classCreatorscollect all creator of all categories.creators=pt.Creators()#Initialize the classcreators.scrape(100,'vlog')#scrape the site using a limit of creatros to collect ans a category#transform each scraped in a Creator elementdf=creators.to_dataframe()#return a pandas dataframedf.head()usernamelangcategoriestipperAmounttipperNumbernewsNumbernum_commentsnum_goalsnum_rewardssubsciptionid258359theolojien{vlog, podcast}1855FalseNoneNoneNone2020-09-24 23:13:20234038mountainsandcoconutsen{vlog, nature}152FalseNoneNoneNone2020-01-05 19:49:18136967antoine-le-guenen{vlog}15018NoneNoneNoneFalse2492201upcrewen{art-culture, vlog}01FalseNoneNoneNone2020-06-02 11:19:38150377partager-cest-sympafr{vlog, humour}10204160756NoneNoneNone2017-10-31 15:00:03Some attributes are missing in the data collect for the moment... you can fill those field creator by creator...creator=creators.creators[3]creator.more_info()df=creators.to_dataframe()df.head()usernamelangcategoriestipperAmounttipperNumbernewsNumbernum_commentsnum_goalsnum_rewardssubsciptionid258359theolojien{vlog, podcast}1855FalseNoneNoneNone2020-09-24 23:13:20234038mountainsandcoconutsen{vlog, nature}152FalseNoneNoneNone2020-01-05 19:49:18136967antoine-le-guenen{vlog}15018NoneNoneNoneFalse2492201upcrewen{art-culture, vlog}01False11012020-06-02 11:19:38150377partager-cest-sympafr{vlog, humour}10204160756NoneNoneNone2017-10-31 15:00:03CommentsYou can display in a fancy way comments that a creator receivedcreator=creators.creators[50]forcommentincreator.get_comments()[:5]:print(comment)1mvictoria-9
_____________________________________
Merci Laeticia!


 1mteddy-11
_____________________________________
❤️❤️ merci pour tes vidéos et courage à toi et aux brésiliens pour ces temps difficiles


 1mstephanie-henrionn
_____________________________________
Merci d'avoir organisé cette collecte et surtout de monter tout en haut de Rocinha pour distribuer de quoi manger à ceux et celles qui en ont le plus besoin. Merci et bravo


 1mcyn-3
_____________________________________
J’envoie mon aide et tout mon amour au Brésil


 1msarah-226
_____________________________________
Un petit geste pour moi, qui fait la différence pour ces familles brésiliennes.... Avec beaucoup d`amourNewsCollect the title for all the news / projects updated by a creatorcreator.get_news()['Un cadeau un peu Spécial',
 'VIDEO SURPRISE (qui parle de poils et de mounette!)',
 'Une vidéo juste pour vous!',
 'Une Vidéos avant sa Sortie',
 'La Vidéo :)',
 'Vidéo Juste pour Vous',
 'Mille Merci!']TippersAccess to the users that donate tips to the author...creator.get_tippers()[debris-58cd,
 romane-11,
 g111826957486368441236,
 f-florence-5a9d0c,
 sarah-110,
 f-marion-591595,
 ryalou-ros,
 shany,
 carole-amelin,
 f10153713871571985,
 claire-aline,
 flore-5b70,
 g114412240751960374835,
 steph-gr,
 tropical-piou,
 masset-3]N.B. Only Signed users appears in the searchScrape a single creatorIf you want information about a specific creator you noly need to set up theCreator classusing the username.rm=pt.Creator('roberto-mercadini')rm.visit()#visit the tipeee page of the creatorrm.to_dict(){'id': 268882,
 'username': 'roberto-mercadini',
 'lang': 'it',
 'tipperAmount': 0,
 'tipperNumber': '613',
 'newsNumber': '1',
 'subsciption': '2021-02-11 09:52:40',
 'categories': {'art-culture'},
 'num_comments': 129,
 'num_goals': 0,
 'num_rewards': 6}LICENSECopyright (c) 2021 Carlo Alberto CarrucciuPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.