Git Product home page Git Product logo

tutorials's Introduction

Steps to use

  • Create a new repo, using this one as the template.
  • Run bundle install (might need to run gem install bundler first)
  • Run yarn install
  • Run jekyll serve
  • Continue development

tutorials's People

Contributors

kaparker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tutorials's Issues

je n'arrive pas à exécuter mon code depuis vs code

mon code génère des erreurs depuis vs code. Pour travailler, j'ai dû utiliser des notebook jupyter.
voici l'erreur qu'on me renvoie, je ne la comprends pas:

Traceback (most recent call last):
File "C:\Users\Estelle\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 654, in urlopen
conn = self._get_conn(timeout=pool_timeout)
File "C:\Users\Estelle\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 274, in _get_conn
return conn or self._new_conn()
File "C:\Users\Estelle\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 964, in _new_conn
"Can't connect to HTTPS URL because the SSL module is not available."
urllib3.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Estelle\Anaconda3\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\Estelle\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "C:\Users\Estelle\Anaconda3\lib\site-packages\urllib3\util\retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='asso.shop', port=443): Max retries exceeded with url: /categorie-produit/smartphone/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:/Users/Estelle/Desktop/my_scraping_project/scrapMS.py", line 6, in
res = requests.get('https://asso.shop/categorie-produit/smartphone/')
File "C:\Users\Estelle\Anaconda3\lib\site-packages\requests\api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "C:\Users\Estelle\Anaconda3\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\Estelle\Anaconda3\lib\site-packages\requests\sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Estelle\Anaconda3\lib\site-packages\requests\sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Estelle\Anaconda3\lib\site-packages\requests\adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='asso.shop', port=443): Max retries exceeded with url: /categorie-produit/smartphone/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
PS C:\Users\Estelle>

Apparemment, c'est plusieurs erreurs

fichier vide après que je l'ai rempli à partir d'une liste

for telephone in telephones: nom_telephone = telephone.select('li.title')[0].text prix_telephone = telephone.select('span.woocommerce-Price-amount.amount > bdi')[0].text info = { "nom": nom_telephone.strip(), "prix": prix_telephone.strip() } liste_telephone.append(info) print(liste_telephone)

import csv fichier = open("test_phone_asso.csv", "w") writer = csv.writer(fichier, delimiter=';') for line in liste_telephone: writer.writerow(line)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.