Discussion comments from Coursera [closed] - python

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I would like to do a simple machine learning project where I want to analyse comments from discussion forums on Coursera courses.
However, I am not sure if it is possible to do so programatically. So, providing a course page address, user name, password and getting all the discussion forums comments.
Being able to use Python for this would be awesome but I am language agnostic.

You can access web pages with python using urllib:
https://docs.python.org/2/library/urllib.html
or the higher lever interface requests:
http://requests.readthedocs.org/en/latest/
Then you still have to parse the content of the page and extract the comments.

Related

Most Popular Database Framework for Python [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 days ago.
Improve this question
Looking through the similar questions, I could not find an answer specific to this question.
My son is in the process of learning to become a back end Python developer. We're trying to find out which database framework is the most popular for employment purposes? We see Django a lot. However looking at statista.com (https://www.statista.com/statistics/1124699/worldwide-developer-survey-most-used-frameworks-web/), it's saying node.js is the most popular worldwide.
So I'm a little confused by that. Are there any professional back end Python developers who can offer some insight? Thanks in advance.

Need help on program that uses facebook/instagram info [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
A client wants to have information about public instagram/facebook profiles (photos/videos published, total likes/comments) from a period of time. How do I go about doing this?
I found out that some of that information is available in the website source code, but how do I use that information? Also is there any sites/services that does that already? The only ones I found only go as back as a few weeks, or only procress future posts.
I thought about automatizing the process with python, is it a good idea?
I'm new in programming, so any help is aprecciated.
As far as I know Instagram is trying to limit as much as possible bot activities, I'm not sure about Facebook though.
You can definitely try to webscrape (using python or other tools) the information you need but if things don't work, it may not be your fault.

How to take screenshots for free in Python [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
For a university machine learning project I want to gather full-page website screenshots of ~100,000 websites.
The website URLs are located in a CSV file which I've managed to load into my Python program. I now want to loop through those URLS and screenshot the contents of the sites, and save the images locally.
After some Googling I found a few APIs such as this one but they all have paid plans, and are quite expensive for the amount of screenshots I want to take.
Does anyone know how to take a screenshot of a website without using a paid service in Python?

How can I get Youtube videos after searching through the Youtube api [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to make a python program that uses Youtube's api. The thing that I want to do is searching Youtube videos and showing the results in my program. Program gonna run like this: There is gonna be a textbox you write something and hit enter then you'll see the Youtube results below . What should I do for doing this in python or is this impossible?
Youtube has a Data API with very helpful example snippets. I would suggest reading through the official documentation before proceeding.
Relevant section: https://developers.google.com/youtube/v3/docs/search/list
Snippet tool instructions: https://google-developers.appspot.com/youtube/v3/code_samples/code_snippet_instructions

How to generate preview of a url on HTML form using Python? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
When I posted a news link on Facebook, it generated a preview by its own fetching the details from the url.
Does anybody know what kind of technology or scripting language is used to do this or how it can be done? If anyone can guide me or point me to the direction how can I achieve this using Python on a simple HTML form.
How it can be achieved on simple HTML forms using python scirpt?
Thank you in advance.

Categories