Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use python to climb Longling Grottoes comments

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to use python to climb Longling Maze Grottoes comments. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

Recently, I don't know if you have found out, there have been several good domestic dramas, among which Xiao Wu likes the Longling Grottoes, which is the series of ghost blowing lanterns.

Since the launch of the broadcast, it has won numerous praise. Douban's score of 8.4 points has dropped to 8.2 points. Both the original fans and passers-by viewers have praised the new online drama. It ranks among the best among the many film and television works in the "Ghost blowing Lantern" series.

The reason why there are so many works in "Ghost blowing the Lantern" is that the copyright of the novel is very scattered. This also leads to different production teams, and the level of the good and the bad is even more intermingled. As the saying goes, "one ghost blowing lanterns" and eight Hu Bayi; eight "ghosts blowing lanterns", how many copyrights have been spent? "(of course, compared with the film and television works of the grave robber notes series, it is still slightly better. )

Today, I won't say anything, just talk about your comments on "Longling Grottoes" and make a small comparison with other online dramas in the series and "Tomb robbing Notes".

Douban score and audience

For a domestic online drama, if you want to analyze its rating and evaluation, it seems that only Douban can choose from this website.

And everyone who learns python should have written about the reptiles of Douban, pull hook, and NetEase Yun's "three Musketeers".

Then the reptile part will not be repeated one by one.

For comment in comments:

# get the user name

User = comment.xpath ('. / / h4/span [2] / a/text ()') [0]

# get star reviews

Star = comment.xpath ('. / / h4/span [2] / span [2] / @ class') [0] [7:8]

# get time

Date_time = comment.xpath ('. / / h4/span [2] / span [3] / @ title')

# get comment text

Comment = comment.xpath ('. / / p/span/text ()') [0] .strip ()

At present, no matter which method is used, Douban's crawler can only climb to 500 comments.

First of all, in terms of rating distribution, 70.6% of people gave 5-star praise, giving 1-star at least 3.2%, 100% of good drama rating distribution.

However, we visualized 500 essays, so in the end, there must be a big difference between the results and the Douban score.

As for the trend chart of comment time, it is found that the distribution is very uneven.

Why? If you take a closer look, the two extremes are April 2 and April 9, exactly a week apart.

If you have seen this show, you will know why.

The online drama "Longling Maze Grottoes" is updated every Wednesday at 8pm, so the rating of the play and the discussion of the new plot must be at its peak that night and the next day.

When we crawled Douban's rated comments, we also climbed to the comment user's home page url.

Then we can also visit his home page according to url and get his personal information by the way.

Then use pyecharts to make the regional distribution map of Douban users of Longling Maze Grottoes.

Among them, Beijing has the most commentators, followed by Shanghai and Guangdong.

(this had better be compared with Douban's user group.)

Longling Mai Grottoes x Jingjun Ancient City

In the statistics of concave and convex data, "Longling Maze Grottoes" and "Jingji Ancient City" are the two highest-rated "ghost blowing lanterns" series of film and television works.

Then let's see what everyone thinks of them.

The words in the cloud map of the two words are basically positive.

However, Longling Grottoes mainly revolves around Hu Bayi played by Pan Yueming, partridge whistle played by Gao Weiguang and Fatty Wang, while Shirley Yang played by Zhang Yuqi is not highly discussed.

"Jingjie Ancient City" is just the opposite, Chen Qiaoen's attention is very high.

I have read a lot of articles about Douban, this time let's play something new.

See which audiences have seen these two online dramas, and how much did they score respectively? How do you evaluate it respectively?

Crawl 500comments from each of the two dramas, use the merge () method to make the two tables horizontal, and specify the comment user url as the connection key of the inner connection.

Df3 = pd.merge (df1,df2,on='user_url',how = 'inner')

Take a look at the ratings and comments of Longling Grottoes > Jingji Ancient City:

Df3 [df3 ['star_x'] > df3 [' star_y']] [['name_x','star_x','comment_x','star_y','comment_y']] ```

There seems to be no strong reason for the comment on Longling Maze Grottoes. The only one is that Chen Qiaoen is not suitable for the role.

Among them, the Longling Maze Grottoes are scored.

< 精绝古城的评分与评论: df3[df3['star_x'] < df3['star_y']][['name_x','star_x','comment_x','star_y','comment_y']]

It's okay to complain that Hu Bayi is too fat.

Longling Mai Grottoes x Huangpizi graves

The comparison between the two plays is more like the comparison of Hu Pang's partner between middle-aged and young people.

I made a word cloud in the last section, so let's have a word frequency here.

Compared with the Longling Grottoes, Ruan Ching-Tian's Taiwan accent is still a lot of words mentioned in "Huangpizi grave".

See which audiences have seen these two online dramas, and how much did they score respectively? How do you evaluate it respectively?

Take a look at the ratings and comments of the Longling Maze Grottoes > Huangpizi grave:

Among them, there are many reasons for getting a low score, and the problem of script adaptation seems to be more questioned than the casting of actors.

Among them, the Longling Maze Grottoes are scored.

< 黄皮子坟的评分与评论: 无 龙岭迷窟 x 盗墓笔记 《鬼吹灯》和《盗墓笔记》作为国内最出名的两部盗墓题材小说,非常相似,都是铁三角组合。 大家经常拿他们俩对比,影视化作品自然也不会少了相互对比。 其实我是想做一个用户人群的画像,但是豆瓣无法获取更多的评论用户个人信息。 所以我选择了百度指数,看看分别搜索这两部小说的人群有什么不同点? 非常明显,《盗墓笔记》的粉丝群体中女性比例远高于《鬼吹灯》。 个人认为主要是受到小说内容,以及后期影视化过程中演员选角的影响。 看《盗墓笔记》的年龄段相对于《鬼吹灯》来说,也较低一些。 那么改编成网剧后,大家又是如何评价的呢? 看看其中给龙岭迷窟打分>

Ratings and comments on grave robber notes:

It's really a full screen of 1 point, don't say much to see for yourself.

Now I only remember "handing over to the country" and the "Red Bull" that can be seen everywhere.

Among them, the rating of Longling Maze Grottoes < the rating and comments of grave robbing notes:

None

Summary

I am very glad that there is another good drama in the domestic online drama, and the actors are all online at the same time.

Pan Yueming played Chen Yulou in "angry Qingqing Xiangxi" and Hu Bayi in this play, once again experiencing one person playing two roles. Wang Kaixuan, played by Jiang Chao in "Li Dazui", finally looks like Wang Fatty. As a cook, what happened to stir-frying with an engineer shovel?

We can see that the crew of "Longling Maze Grottoes" are carefully selecting and polishing from the protagonist to the supporting role.

Such a play is really worthy of the high score given by the audience.

The above is how to use python to climb Longling Grottoes comments. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report