Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Beautifulsoup don't get me the page
Post: RE: Beautifulsoup don't get me the page
Thank you
Selenium seems to be the only option for this website. |
|
mariolopes |
Web Scraping & Web Development |
5 |
5,981 |
Oct-23-2019, 04:44 PM |
|
|
Thread: Beautifulsoup don't get me the page
Post: RE: Beautifulsoup don't get me the page
follow the link there is no CAPTCHA on this website.
I think the problem is with User-Agent. For some reason the website detects that the request is not from a browser. I solved the issue if I can rea... |
|
mariolopes |
Web Scraping & Web Development |
5 |
5,981 |
Oct-22-2019, 04:40 PM |
|
|
Thread: Beautifulsoup don't get me the page
Post: Beautifulsoup don't get me the page
Hi. I use this code
import requests
from bs4 import BeautifulSoup
pagina1="https://www.fragrantica.com/perfume/Chanel/Coco-Eau-de-Parfum-609.html"
pagina1=requests.get(pagina1, headers = {'User-agent... |
|
mariolopes |
Web Scraping & Web Development |
5 |
5,981 |
Oct-20-2019, 05:55 PM |
|
|
Thread: pytube problem
Post: RE: pytube problem
The site I want to aderes is youtube
Some vídeos I can download others I can’t. But with Easy-get I can download them all |
|
mariolopes |
General Coding Help |
2 |
2,190 |
Oct-15-2019, 06:49 AM |
|
|
Thread: pytube problem
Post: pytube problem
Hi
the problem: HTTP Error 403: Forbidden
Any solution for this problem in pytube?
Some videos (music videos mostly) can't be downloaded with the error 403
Lot's of questions on web but it seems no so... |
|
mariolopes |
General Coding Help |
2 |
2,190 |
Oct-14-2019, 10:43 PM |
|
|
Thread: unicodedecodeerror:utf codec can't decode byte 0xe3 in position 1
Post: RE: unicodedecodeerror:utf codec can't decode byte...
Sorry guys
The problem is with the line playsound('sineta2.mp3')because I forgot to copy this file sineta.mp3 to the app folder |
|
mariolopes |
General Coding Help |
3 |
2,818 |
Oct-14-2019, 10:17 PM |
|
|
Thread: unicodedecodeerror:utf codec can't decode byte 0xe3 in position 1
Post: RE: unicodedecodeerror:utf codec can't decode byte...
Hi
lopes is the the result of one entry widget
lopes=Entry(root,fg="red",width=50)
lopes.grid(row=1,column=1)
lopes.focus_set()I use Tkinter
Here is the error that I got
[Image: https://cheirabem.co... |
|
mariolopes |
General Coding Help |
3 |
2,818 |
Oct-14-2019, 09:14 PM |
|
|
Thread: Send SMS with gsm modem
Post: RE: Send SMS with gsm modem
Hi
It’s paid service and I don’t waste money because I have free SMS on my phone card and I want to use it. |
|
mariolopes |
General Coding Help |
3 |
4,818 |
Oct-14-2019, 08:32 PM |
|
|
Thread: unicodedecodeerror:utf codec can't decode byte 0xe3 in position 1
Post: unicodedecodeerror:utf codec can't decode byte 0xe...
Hi
The following program runs ok in idle mode python
from tkinter import *
from playsound import playsound
from pytube import YouTube
root=Tk()
root.title("Download vídeos do Youtube")
def descarrega... |
|
mariolopes |
General Coding Help |
3 |
2,818 |
Oct-14-2019, 05:43 PM |
|
|
Thread: Send SMS with gsm modem
Post: Send SMS with gsm modem
Hi
I want to Make a Python program for Sending SMS Using my Vodafone Sim Card.
my idea is the following
I put my sim card on modem gsm
with the modem Connected to my computer I’ll run my Python progra... |
|
mariolopes |
General Coding Help |
3 |
4,818 |
Oct-14-2019, 02:08 PM |
|
|
Thread: Newbie question with Tkinter Entry
Post: Newbie question with Tkinter Entry
Hi
please someone can tell me why this code works
from tkinter import *
root=Tk()
root.title("teste ao programa")
#root.configure(background="black")
lopes=Entry(root,fg="red")
lopes.pack()
lopes.focu... |
|
mariolopes |
GUI |
2 |
2,249 |
Oct-12-2019, 03:50 PM |
|
|
Thread: Py to Exe problem
Post: RE: Py to Exe problem
Thank you
Solve the issue and now I can know what is the problem. The problem is with whois program. Please look at the following code:
import whois
url="http://cheirabem.com"
domain = whois.whois(url... |
|
mariolopes |
General Coding Help |
6 |
3,511 |
Mar-22-2018, 09:47 AM |
|
|
Thread: Py to Exe problem
Post: Py to Exe problem
Hi
I have one python file who extracts data from internet and writes it to a excel file. Works fine, but I need to create a exe file from python and I use pyinstaller. I have one exe file bt it doesn'... |
|
mariolopes |
General Coding Help |
6 |
3,511 |
Mar-21-2018, 04:19 PM |
|
|
Thread: Whois not working
Post: RE: Whois not working
Thank you all guys
Solved my problem. Thank you DeaD_EyE your instructions where great! |
|
mariolopes |
General Coding Help |
3 |
5,638 |
Mar-20-2018, 06:16 PM |
|
|
Thread: Whois not working
Post: Whois not working
Hi
I want to get various informations about one web site (how old he is etc...). I'm using PyCharm and the following code:
import whois
domain = whois.query('mariolopes.com')The code is from the page ... |
|
mariolopes |
General Coding Help |
3 |
5,638 |
Mar-20-2018, 03:09 PM |
|
|
Thread: NoneType allways a problem
Post: RE: NoneType allways a problem
Solved
...
if keywords:
u=keywords['content']
else:
u="Nada" |
|
mariolopes |
General Coding Help |
1 |
2,786 |
Mar-01-2018, 05:10 PM |
|
|
Thread: NoneType allways a problem
Post: NoneType allways a problem
Hi
I got a problem
I use the following code to get the elements from one webpage. The problem is I can't save the value if the item is none
The problem exists when I write
ws['G'+str(i)] = keywo... |
|
mariolopes |
General Coding Help |
1 |
2,786 |
Feb-28-2018, 12:07 PM |
|
|
Thread: Beautifulsoap can't get page title
Post: RE: Beautifulsoap can't get page title
Thank you. Problem solved |
|
mariolopes |
Web Scraping & Web Development |
2 |
3,073 |
Feb-27-2018, 02:38 PM |
|
|
Thread: Beautifulsoap can't get page title
Post: Beautifulsoap can't get page title
Hi
I can't get the tilte of the following page
http://cheirabem.com/mostraperfumes.aspx...Balenciaga
here is my code:
from bs4 import BeautifulSoup
import urllib.request
page3 = urllib.request.urlopen... |
|
mariolopes |
Web Scraping & Web Development |
2 |
3,073 |
Feb-27-2018, 11:53 AM |
|
|
Thread: How to geckodriver anonymous firefox
Post: RE: How to geckodriver anonymous firefox
with the fpollowing extension installed on forefox I can access the website
https://addons.mozilla.org/pt-PT/firefox.../anonymox/
Everything works fine.
When I run my program it launches firefox wit... |
|
mariolopes |
Web Scraping & Web Development |
5 |
7,203 |
Feb-10-2018, 10:58 PM |