Thank you ! Best Python video so far. Will watch all your tutorials!
@BekBrace3 жыл бұрын
Hello Lusine, thanks a lot for your kind words! 🙏 - means a lot to me🙂
@funnyvideos-zl9pu3 жыл бұрын
Is there any way to scrap data from site need to log in but its block any user make any scrap with selenium so i need to make scrap from my normal browser without need to log in every time
@ronaldoleoni7170 Жыл бұрын
How can i do NLP of links that i already catch and stored as a list with other methods?
@BekBrace Жыл бұрын
Not sure if if I understand
@ronaldoleoni7170 Жыл бұрын
@@BekBrace I'm doing a web scraping of google scholar. I manage to catch many links to articles, but when I go to use the newspaper module, I realize that I can only catch articles from the web with it. I can enter with my data already collected.
@brandonma45392 жыл бұрын
Hi, I see that you've used the Download function, however, where is it downloaded exactly? I cannot find the file after running the code
@BekBrace2 жыл бұрын
Hey Brandon. It's not downloaded on a physical location on your hard drive, this is just a method that is necessary to download the article as a stage to parse it and then print it - another example from Lucas' GitHub repo : >>> from newspaper import Article >>> url = 'www.bbc.co.uk/zhongwen/simp/chinese_news/2012/12/121210_hongkong_politics.shtml' >>> a = Article(url, language='zh') # Chinese >>> a.download() >>> a.parse() >>> print(a.text[:150]) 香港行政长官梁振英在各方压力下就其大宅的违章建 筑(僭建)问题到立法会接受质询,并向香港民众道歉。
@Programmingwithranawaqas2 жыл бұрын
how can i crawl mutliple URLS?
@metakokalj1207 Жыл бұрын
Hello. Do you maybe know the way to scrape multiple page comments (like 450 comments) from a newspaper article? Thank you so much for your help.
@BekBrace Жыл бұрын
Thank you. I don't have a ready answer for this question, but if i happen to find a way I'll let you know
@karanahuja7467 Жыл бұрын
how to filter certain keywords and not include them?
@solomon98463 жыл бұрын
Hello. Thank you for your explaining. May I know how to scrape for multiple URLs?
@BekBrace3 жыл бұрын
Hello Solomon , thank you for watching and for your question. I have added a link in the description for a piece of code that can help you scraping multiple URLS - Tell me later if it went Okay
@singasik3 жыл бұрын
@@BekBrace Hey I have tried your link but it doesn't seem to work. I am not sure why it didn't work. I have a feeling I am doing it wrongly kzfaq.info/get/bejne/b7GKqrVzzJqRgGQ.html I was trying to do a chatbot according to the link above, and I tried to combine with the link you provided. I required help from your video as the link above didn't show how to download articles into text from multiple articles. If you can show/ explain to me how to do so with regards to the example above, I would appreciate it greatly. Thank you for reading till here.
@BrandonCastillo-eo1or2 жыл бұрын
Thank you very much. It was very useful 👍🏽
@BekBrace2 жыл бұрын
Great to hear my friend
@supercompilations72113 жыл бұрын
Hii mr thanks for your tuto I have Q there is any way to build wordpress plugin using python ??
@BekBrace3 жыл бұрын
Thank you friend! Honestly I don’t know, but I happen to find an answer for your question, I’ll let you know - peace ✌️
@user-gp7py5fe1m3 жыл бұрын
When I tried "pip install newspaper" I got this: "ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output."
@BekBrace3 жыл бұрын
Татьяна Тренихина check your python version using : python -version , please ? ; and if it’s not python version 3 then consider upgrading it. If it is python 3 + , then try the following command on your terminal : pip install -U setuptools ( this is just a permission problem ) and let me know how it went.
@user-gp7py5fe1m3 жыл бұрын
@@BekBrace Now it works! It was my mistake. I first used pip install. The program works correctly with "pip3 install newspaper3k". Thanks!