diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cb6f635 --- /dev/null +++ b/.gitignore @@ -0,0 +1,323 @@ + +.py/gen/prof99.pdf +.py/gen/prof98.pdf +.py/gen/prof97.pdf +.py/gen/prof96.pdf +.py/gen/prof95.pdf +.py/gen/prof94.pdf +.py/gen/prof93.pdf +.py/gen/prof92.pdf +.py/gen/prof91.pdf +.py/gen/prof90.pdf +.py/gen/prof9.pdf +.py/gen/prof89.pdf +.py/gen/prof88.pdf +.py/gen/prof87.pdf +.py/gen/prof86.pdf +.py/gen/prof85.pdf +.py/gen/prof84.pdf +.py/gen/prof83.pdf +.py/gen/prof82.pdf +.py/gen/prof81.pdf +.py/gen/prof80.pdf +.py/gen/prof8.pdf +.py/gen/prof79.pdf +.py/gen/prof78.pdf +.py/gen/prof77.pdf +.py/gen/prof76.pdf +.py/gen/prof75.pdf +.py/gen/prof74.pdf +.py/gen/prof73.pdf +.py/gen/prof72.pdf +.py/gen/prof71.pdf +.py/gen/prof70.pdf +.py/gen/prof7.pdf +.py/gen/prof69.pdf +.py/gen/prof68.pdf +.py/gen/prof67.pdf +.py/gen/prof66.pdf +.py/gen/prof65.pdf +.py/gen/prof64.pdf +.py/gen/prof63.pdf +.py/gen/prof62.pdf +.py/gen/prof61.pdf +.py/gen/prof60.pdf +.py/gen/prof6.pdf +.py/gen/prof59.pdf +.py/gen/prof58.pdf +.py/gen/prof57.pdf +.py/gen/prof56.pdf +.py/gen/prof55.pdf +.py/gen/prof54.pdf +.py/gen/prof53.pdf +.py/gen/prof52.pdf +.py/gen/prof51.pdf +.py/gen/prof50.pdf +.py/gen/prof5.pdf +.py/gen/prof49.pdf +.py/gen/prof48.pdf +.py/gen/prof47.pdf +.py/gen/prof46.pdf +.py/gen/prof45.pdf +.py/gen/prof44.pdf +.py/gen/prof43.pdf +.py/gen/prof42.pdf +.py/gen/prof41.pdf +.py/gen/prof40.pdf +.py/gen/prof4.pdf +.py/gen/prof39.pdf +.py/gen/prof38.pdf +.py/gen/prof37.pdf +.py/gen/prof36.pdf +.py/gen/prof35.pdf +.py/gen/prof34.pdf +.py/gen/prof33.pdf +.py/gen/prof321.pdf +.py/gen/prof320.pdf +.py/gen/prof32.pdf +.py/gen/prof319.pdf +.py/gen/prof318.pdf +.py/gen/prof317.pdf +.py/gen/prof316.pdf +.py/gen/prof315.pdf +.py/gen/prof314.pdf +.py/gen/prof313.pdf +.py/gen/prof312.pdf +.py/gen/prof311.pdf +.py/gen/prof310.pdf +.py/gen/prof31.pdf +.py/gen/prof309.pdf +.py/gen/prof308.pdf +.py/gen/prof307.pdf +.py/gen/prof306.pdf +.py/gen/prof305.pdf +.py/gen/prof304.pdf +.py/gen/prof303.pdf +.py/gen/prof302.pdf +.py/gen/prof301.pdf +.py/gen/prof300.pdf +.py/gen/prof30.pdf +.py/gen/prof3.pdf +.py/gen/prof299.pdf +.py/gen/prof298.pdf +.py/gen/prof297.pdf +.py/gen/prof296.pdf +.py/gen/prof295.pdf +.py/gen/prof294.pdf +.py/gen/prof293.pdf +.py/gen/prof292.pdf +.py/gen/prof291.pdf +.py/gen/prof290.pdf +.py/gen/prof29.pdf +.py/gen/prof289.pdf +.py/gen/prof288.pdf +.py/gen/prof287.pdf +.py/gen/prof286.pdf +.py/gen/prof285.pdf +.py/gen/prof284.pdf +.py/gen/prof283.pdf +.py/gen/prof282.pdf +.py/gen/prof281.pdf +.py/gen/prof280.pdf +.py/gen/prof28.pdf +.py/gen/prof279.pdf +.py/gen/prof278.pdf +.py/gen/prof277.pdf +.py/gen/prof276.pdf +.py/gen/prof275.pdf +.py/gen/prof274.pdf +.py/gen/prof273.pdf +.py/gen/prof272.pdf +.py/gen/prof271.pdf +.py/gen/prof270.pdf +.py/gen/prof27.pdf +.py/gen/prof269.pdf +.py/gen/prof268.pdf +.py/gen/prof267.pdf +.py/gen/prof266.pdf +.py/gen/prof265.pdf +.py/gen/prof264.pdf +.py/gen/prof263.pdf +.py/gen/prof262.pdf +.py/gen/prof261.pdf +.py/gen/prof260.pdf +.py/gen/prof26.pdf +.py/gen/prof259.pdf +.py/gen/prof258.pdf +.py/gen/prof257.pdf +.py/gen/prof256.pdf +.py/gen/prof255.pdf +.py/gen/prof254.pdf +.py/gen/prof253.pdf +.py/gen/prof252.pdf +.py/gen/prof251.pdf +.py/gen/prof250.pdf +.py/gen/prof25.pdf +.py/gen/prof249.pdf +.py/gen/prof248.pdf +.py/gen/prof247.pdf +.py/gen/prof246.pdf +.py/gen/prof245.pdf +.py/gen/prof244.pdf +.py/gen/prof243.pdf +.py/gen/prof242.pdf +.py/gen/prof241.pdf +.py/gen/prof240.pdf +.py/gen/prof24.pdf +.py/gen/prof239.pdf +.py/gen/prof238.pdf +.py/gen/prof237.pdf +.py/gen/prof236.pdf +.py/gen/prof235.pdf +.py/gen/prof234.pdf +.py/gen/prof233.pdf +.py/gen/prof232.pdf +.py/gen/prof231.pdf +.py/gen/prof230.pdf +.py/gen/prof23.pdf +.py/gen/prof229.pdf +.py/gen/prof228.pdf +.py/gen/prof227.pdf +.py/gen/prof226.pdf +.py/gen/prof225.pdf +.py/gen/prof224.pdf +.py/gen/prof223.pdf +.py/gen/prof222.pdf +.py/gen/prof221.pdf +.py/gen/prof220.pdf +.py/gen/prof22.pdf +.py/gen/prof219.pdf +.py/gen/prof218.pdf +.py/gen/prof217.pdf +.py/gen/prof216.pdf +.py/gen/prof215.pdf +.py/gen/prof214.pdf +.py/gen/prof213.pdf +.py/gen/prof212.pdf +.py/gen/prof211.pdf +.py/gen/prof210.pdf +.py/gen/prof21.pdf +.py/gen/prof209.pdf +.py/gen/prof208.pdf +.py/gen/prof207.pdf +.py/gen/prof206.pdf +.py/gen/prof205.pdf +.py/gen/prof204.pdf +.py/gen/prof203.pdf +.py/gen/prof202.pdf +.py/gen/prof201.pdf +.py/gen/prof200.pdf +.py/gen/prof20.pdf +.py/gen/prof2.pdf +.py/gen/prof199.pdf +.py/gen/prof198.pdf +.py/gen/prof197.pdf +.py/gen/prof196.pdf +.py/gen/prof195.pdf +.py/gen/prof194.pdf +.py/gen/prof193.pdf +.py/gen/prof192.pdf +.py/gen/prof191.pdf +.py/gen/prof190.pdf +.py/gen/prof19.pdf +.py/gen/prof189.pdf +.py/gen/prof188.pdf +.py/gen/prof187.pdf +.py/gen/prof186.pdf +.py/gen/prof185.pdf +.py/gen/prof184.pdf +.py/gen/prof183.pdf +.py/gen/prof182.pdf +.py/gen/prof181.pdf +.py/gen/prof180.pdf +.py/gen/prof18.pdf +.py/gen/prof179.pdf +.py/gen/prof178.pdf +.py/gen/prof177.pdf +.py/gen/prof176.pdf +.py/gen/prof175.pdf +.py/gen/prof174.pdf +.py/gen/prof173.pdf +.py/gen/prof172.pdf +.py/gen/prof171.pdf +.py/gen/prof170.pdf +.py/gen/prof17.pdf +.py/gen/prof169.pdf +.py/gen/prof168.pdf +.py/gen/prof167.pdf +.py/gen/prof166.pdf +.py/gen/prof165.pdf +.py/gen/prof164.pdf +.py/gen/prof163.pdf +.py/gen/prof162.pdf +.py/gen/prof161.pdf +.py/gen/prof160.pdf +.py/gen/prof16.pdf +.py/gen/prof159.pdf +.py/gen/prof158.pdf +.py/gen/prof157.pdf +.py/gen/prof156.pdf +.py/gen/prof155.pdf +.py/gen/prof154.pdf +.py/gen/prof153.pdf +.py/gen/prof152.pdf +.py/gen/prof151.pdf +.py/gen/prof150.pdf +.py/gen/prof15.pdf +.py/gen/prof149.pdf +.py/gen/prof148.pdf +.py/gen/prof147.pdf +.py/gen/prof146.pdf +.py/gen/prof145.pdf +.py/gen/prof144.pdf +.py/gen/prof143.pdf +.py/gen/prof142.pdf +.py/gen/prof141.pdf +.py/gen/prof140.pdf +.py/gen/prof14.pdf +.py/gen/prof139.pdf +.py/gen/prof138.pdf +.py/gen/prof137.pdf +.py/gen/prof136.pdf +.py/gen/prof135.pdf +.py/gen/prof134.pdf +.py/gen/prof133.pdf +.py/gen/prof132.pdf +.py/gen/prof131.pdf +.py/gen/prof130.pdf +.py/gen/prof13.pdf +.py/gen/prof129.pdf +.py/gen/prof128.pdf +.py/gen/prof127.pdf +.py/gen/prof126.pdf +.py/gen/prof125.pdf +.py/gen/prof124.pdf +.py/gen/prof123.pdf +.py/gen/prof122.pdf +.py/gen/prof121.pdf +.py/gen/prof120.pdf +.py/gen/prof12.pdf +.py/gen/prof119.pdf +.py/gen/prof118.pdf +.py/gen/prof117.pdf +.py/gen/prof116.pdf +.py/gen/prof115.pdf +.py/gen/prof114.pdf +.py/gen/prof113.pdf +.py/gen/prof112.pdf +.py/gen/prof111.pdf +.py/gen/prof110.pdf +.py/gen/prof11.pdf +.py/gen/prof109.pdf +.py/gen/prof108.pdf +.py/gen/prof107.pdf +.py/gen/prof106.pdf +.py/gen/prof105.pdf +.py/gen/prof104.pdf +.py/gen/prof103.pdf +.py/gen/prof102.pdf +.py/gen/prof101.pdf +.py/gen/prof100.pdf +.py/gen/prof10.pdf +.py/gen/prof1.pdf +*.pdf diff --git a/.py/code1.0.ipynb b/.py/code1.0.ipynb new file mode 100644 index 0000000..bbb8ed9 --- /dev/null +++ b/.py/code1.0.ipynb @@ -0,0 +1 @@ +{"cells":[{"cell_type":"code","execution_count":1,"metadata":{"cellView":"form","colab":{"base_uri":"https://localhost:8080/","height":375},"executionInfo":{"elapsed":7,"status":"error","timestamp":1680434191416,"user":{"displayName":"Ghjklm G","userId":"09208431433424498357"},"user_tz":-120},"id":"Q_VOKTuxaUwS","outputId":"41dcdd09-f7a8-469d-c660-422034f0a6ed"},"outputs":[{"ename":"MessageError","evalue":"ignored","output_type":"error","traceback":["\u001b[0;31m---------------------------------------------------------------------------\u001b[0m","\u001b[0;31mMessageError\u001b[0m Traceback (most recent call last)","\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[1;32m 13\u001b[0m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msystem\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'sudo apt install /usr/bin/wkhtmltox_0.12.6-1.bionic_amd64.deb'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 14\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mgoogle\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcolab\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mdrive\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 15\u001b[0;31m \u001b[0mdrive\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmount\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'/content/gdrive'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 16\u001b[0m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msystem\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'pip install git+https://github.com/Wyattjoh/pushover'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.9/dist-packages/google/colab/drive.py\u001b[0m in \u001b[0;36mmount\u001b[0;34m(mountpoint, force_remount, timeout_ms, readonly)\u001b[0m\n\u001b[1;32m 101\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mmount\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmountpoint\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mforce_remount\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtimeout_ms\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m120000\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mreadonly\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 102\u001b[0m \u001b[0;34m\"\"\"Mount your Google Drive at the specified mountpoint path.\"\"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 103\u001b[0;31m return _mount(\n\u001b[0m\u001b[1;32m 104\u001b[0m \u001b[0mmountpoint\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 105\u001b[0m \u001b[0mforce_remount\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mforce_remount\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.9/dist-packages/google/colab/drive.py\u001b[0m in \u001b[0;36m_mount\u001b[0;34m(mountpoint, force_remount, timeout_ms, ephemeral, readonly)\u001b[0m\n\u001b[1;32m 130\u001b[0m )\n\u001b[1;32m 131\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mephemeral\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 132\u001b[0;31m _message.blocking_request(\n\u001b[0m\u001b[1;32m 133\u001b[0m \u001b[0;34m'request_auth'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mrequest\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m{\u001b[0m\u001b[0;34m'authType'\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;34m'dfs_ephemeral'\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtimeout_sec\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 134\u001b[0m )\n","\u001b[0;32m/usr/local/lib/python3.9/dist-packages/google/colab/_message.py\u001b[0m in \u001b[0;36mblocking_request\u001b[0;34m(request_type, request, timeout_sec, parent)\u001b[0m\n\u001b[1;32m 175\u001b[0m \u001b[0mrequest_type\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mrequest\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mparent\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mparent\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mexpect_reply\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 176\u001b[0m )\n\u001b[0;32m--> 177\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mread_reply_from_input\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrequest_id\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtimeout_sec\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m","\u001b[0;32m/usr/local/lib/python3.9/dist-packages/google/colab/_message.py\u001b[0m in \u001b[0;36mread_reply_from_input\u001b[0;34m(message_id, timeout_sec)\u001b[0m\n\u001b[1;32m 102\u001b[0m ):\n\u001b[1;32m 103\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;34m'error'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mreply\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 104\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mMessageError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mreply\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'error'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 105\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mreply\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'data'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 106\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;31mMessageError\u001b[0m: Error: credential propagation was unsuccessful"]}],"source":["#@title Initialisation\n","!pip install pdfkit\n","!pip install pypdf\n","!mkdir gen\n","!chmod 777 /root/content/Manuel/wkhtmltopdf.exe\n","!cat /etc/os-release\n","!pip install pdfkit\n","\n","!wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb\n","\n","!cp wkhtmltox_0.12.6-1.bionic_amd64.deb /usr/bin\n","\n","!sudo apt install /usr/bin/wkhtmltox_0.12.6-1.bionic_amd64.deb\n","from google.colab import drive\n","drive.mount('/content/gdrive')\n","!pip install git+https://github.com/Wyattjoh/pushover"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"QoAsZb7mcKOZ"},"outputs":[],"source":["!mkdir /root/\n","!mkdir /root/content/\n","!mkdir /root/content/Manuel/\n","!mkdir /root/content/Manuel/gen/\n","!ls /root/content/Manuel/gen/\n","#be sure it return true "]},{"cell_type":"code","execution_count":2,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":189},"executionInfo":{"elapsed":450,"status":"error","timestamp":1680434256652,"user":{"displayName":"Ghjklm G","userId":"09208431433424498357"},"user_tz":-120},"id":"0lBO9lBT8o7q","outputId":"033fe8e9-0ebf-47d1-828c-6fffb4baa585"},"outputs":[{"ename":"NameError","evalue":"ignored","output_type":"error","traceback":["\u001b[0;31m---------------------------------------------------------------------------\u001b[0m","\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)","\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mpdfkit\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mfrom_url\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"https://exobank.hachette-livre.fr/contents/final/9782017102106-fxl/OEBPS/Page_1.html?interface=postMessage\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"/root/content/Manuel/out.pdf\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m","\u001b[0;31mNameError\u001b[0m: name 'pdfkit' is not defined"]}],"source":["pdfkit.from_url(\"https://exobank.hachette-livre.fr/contents/final/9782017102106-fxl/OEBPS/Page_1.html?interface=postMessage\", \"/root/content/Manuel/out.pdf\")"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":132814,"status":"ok","timestamp":1680379287318,"user":{"displayName":"Ghjklm G","userId":"09208431433424498357"},"user_tz":-120},"id":"a1_iqy6WaIfD","outputId":"54588e2f-defc-4db5-d4ff-2b85d276bf6a"},"outputs":[{"name":"stdout","output_type":"stream","text":["eleve.pdf gdrive gen\tsample_data wkhtmltox_0.12.6-1.bionic_amd64.deb\n","Quel est l'id eleve ? 9782016291894\n","Quelle est l'édition ? \n","Quel est le nombre de pages ? 416\n","Quel est l'id professeur ? 9782016291900\n","Quel est le nom du manuel ? Histoire-Géographie-EMC 4e - Ed. 2021 Plaza\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_386.html\n","386/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_387.html\n","387/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_388.html\n","388/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_389.html\n","389/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_390.html\n","390/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_391.html\n","391/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_392.html\n","392/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_393.html\n","393/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_394.html\n","394/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_395.html\n","395/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_396.html\n","396/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_397.html\n","397/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_398.html\n","398/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_399.html\n","399/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_400.html\n","400/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_401.html\n","401/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_402.html\n","402/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_403.html\n","403/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_404.html\n","404/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_405.html\n","405/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_406.html\n","406/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_407.html\n","407/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_408.html\n","408/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_409.html\n","409/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_410.html\n","410/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_411.html\n","411/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_412.html\n","412/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_413.html\n","413/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_414.html\n","414/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_415.html\n","415/416\n","https://exobank.hachette-livre.fr/contents/final/9782016291900-fxl/OEBPS/Page_416.html\n","416/416\n","Gen pdfs en 116.2006 secondes\n","Gen pdf unique en 16.0256 secondes\n","Tout en 132.2262 secondes\n","DONE\n","\n","Histoire-Géographie-EMC 4e - Ed. 2021 Plaza\n"]},{"data":{"text/plain":["True"]},"execution_count":21,"metadata":{},"output_type":"execute_result"}],"source":["#@title Code\n","import pdfkit\n","import re\n","\n","from pushover import Pushover\n","from pdfkit.api import configuration\n","from pypdf import PdfMerger\n","import time\n","import os\n","import sys\n","import shutil\n","from tkinter import messagebox\n","\n","toc = time.perf_counter()\n","\n","options = {}\n","# clear(2)\n","!ls\n","\n","id = int(input(\"Quel est l'id eleve ? \"))\n","edition = input(\"Quelle est l'édition ? \")\n","nbpages = int(input(\"Quel est le nombre de pages ? \"))\n","id2 = int(input(\"Quel est l'id professeur ? \"))\n","nomdulivre = input(\"Quel est le nom du manuel ? \")\n","\n","if edition == 'hachette' or edition == '':\n"," debuturl = 'https://exobank.hachette-livre.fr/contents/final/'\n"," finurl = '-fxl/OEBPS/Page_{}.html'\n","elif (edition == 'hatier') or (edition == 'didier'):\n"," debuturl = 'https://exobank.hachette-livre.fr/contents/final/'\n"," finurl = '-fxl/OEBPS/page{}.xhtml?interface=postMessage'\n","else:\n"," print(\"L'édition entrée n'existe pas encore\")\n","\n","url = debuturl + str(id) + finurl\n","# url = \"https://exobank.hachette-livre.fr/contents/final/9782278093472-fxl/OEBPS/page{}.xhtml?interface=postMessage\"\n","output = '/root/content/Manuel/gen/eleve{}.pdf'\n","# for offset in range(1, nbpages + 1, 1):\n","# newurl = url.format(offset)\n","# print(newurl)\n","# newoutput = output.format(offset)\n","# print(str(offset) + \"/\" + str(nbpages))\n","\n","# pdfkit.from_url(newurl, newoutput)\n","\n","# pdfs = '/root/content/Manuel/gen/eleve{}.pdf'\n","# pdfsnewpdfs = []\n","\n","# for offset in range(1, nbpages + 1, 1):\n","# newpdfs = pdfs.format(offset)\n","# pdfsnewpdfs.append(str(newpdfs))\n","# # print(pdfsnewpdfs)\n","\n","# finpage = time.perf_counter()\n","\n","# debutmerge = time.perf_counter()\n","# merger = PdfMerger()\n","\n","# for pdf in pdfsnewpdfs:\n","# merger.append(pdf)\n","\n","# merger.write(\"eleve.pdf\")\n","# merger.close()\n","# finmerge = time.perf_counter()\n","\n","#version prof\n","\n","\n","if edition == 'hachette' or edition == '':\n"," debuturl = 'https://exobank.hachette-livre.fr/contents/final/'\n"," finurl = '-fxl/OEBPS/Page_{}.html'\n","elif (edition == 'hatier') or (edition == 'didier'):\n"," debuturl = 'https://exobank.hachette-livre.fr/contents/final/'\n"," finurl = '-fxl/OEBPS/page{}.xhtml?interface=postMessage'\n","else:\n"," print(\"L'édition entrée n'existe pas encore\")\n","\n","url = debuturl + str(id2) + finurl\n","# url = \"https://exobank.hachette-livre.fr/contents/final/9782278093472-fxl/OEBPS/page{}.xhtml?interface=postMessage\"\n","output = '/root/content/Manuel/gen/prof{}.pdf'\n","for offset in range(386, nbpages + 1, 1):\n"," newurl = url.format(offset)\n"," print(newurl)\n"," newoutput = output.format(offset)\n"," print(str(offset) + \"/\" + str(nbpages))\n","\n"," pdfkit.from_url(newurl, newoutput)\n","\n","pdfs = '/root/content/Manuel/gen/prof{}.pdf'\n","pdfsnewpdfs = []\n","\n","for offset in range(1, nbpages + 1, 1):\n"," newpdfs = pdfs.format(offset)\n"," pdfsnewpdfs.append(str(newpdfs))\n","# print(pdfsnewpdfs)\n","\n","finpage = time.perf_counter()\n","\n","debutmerge = time.perf_counter()\n","merger = PdfMerger()\n","\n","for pdf in pdfsnewpdfs:\n"," merger.append(pdf)\n","\n","merger.write(\"prof.pdf\")\n","merger.close()\n","finmerge = time.perf_counter()\n","\n","# clear(2)\n","print(f\"Gen pdfs en {finpage - toc:0.4f} secondes\")\n","print(f\"Gen pdf unique en {finmerge - debutmerge:0.4f} secondes\")\n","print(f\"Tout en {finmerge - toc:0.4f} secondes\")\n","print('DONE')\n","\n","print(edition)\n","print(nomdulivre)\n","\n","po = Pushover(\"a73uqu1px5w9aq84tnsbcgyf14c7zz\")\n","po.user(\"ub91t4nporrc2nv374ed9kk9nwnd2p\")\n","msg = po.msg(\"Les téléchargements sont terminés\")\n","msg.set(\"title\", \"Finis\")\n","po.send(msg)"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":4468,"status":"ok","timestamp":1680379380281,"user":{"displayName":"Ghjklm G","userId":"09208431433424498357"},"user_tz":-120},"id":"xXQewjziafxv","outputId":"5d0f2649-5490-4961-c916-179068e66b53"},"outputs":[{"name":"stdout","output_type":"stream","text":["Quel est le nom du livre ?test\n"]}],"source":["nomdulivre = input(\"Quel est le nom du livre ?\")\n","! mkdir nomdulivre"]}],"metadata":{"colab":{"authorship_tag":"ABX9TyM0RR0xQd14H7d+wWpbuv6z","provenance":[]},"kernelspec":{"display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.9"}},"nbformat":4,"nbformat_minor":0} diff --git a/.py/csvpourprendreliens.py b/.py/csvpourprendreliens.py new file mode 100644 index 0000000..6c3ea51 --- /dev/null +++ b/.py/csvpourprendreliens.py @@ -0,0 +1,57 @@ +import csv +cars = [] +with open('listedeliens.csv', newline='', encoding="utf8") as csvfile: + spamreader = csv.reader(csvfile, delimiter=',') + for row in spamreader: + cars.append(row) + + +# On suppose une matrice non vide composée de tableaux. +def afficherMatrice(matrice) : + maxi = [max([len(str(tab[i])) for tab in matrice if len(tab) > i]) for i in range(0, max([len(tab) for tab in matrice]))] + for line in matrice : + print("".join([("{:<" + str(maxi[i] + 2) + "."+ str(maxi[i]) + "}") for i in range(len(line))]).format(*[str(e) for e in line])) + + +# def clé(element) : +# return (-1*float(element[3])) +# matrice = [[cars[i][0],cars[i][1],cars[i][2],cars[i][3], cars[i][4]] for i in range(2,len(cars))] +# tab = sorted(matrice, key=clé) +# afficherMatrice(tab[0:10]) + +# def clé(element) : +# return (-1*float(element[1])) +# matrice = [[cars[i][0],cars[i][3]] for i in range(2,len(cars))] +# tab = sorted(matrice, key=clé) +# nb=0 +# for i in range(1,len(tab)): +# nb = nb + float(cars[i][3]) +# print(nb) + +import re + +# Définir une expression régulière pour extraire les chiffres du lien + + +# Rechercher les correspondances dans le lien en utilisant l'expression régulière + +# Imprimer les correspondances trouvées + +for i in range(0,126): + url = (cars[i][0]) + if "Magnard" in url: + # Extraire les chiffres après "demo/" ou "specimen/" + if "demo/" in url: + id = url.split("demo/")[1].split("/")[0] + elif "specimen/" in url: + id = url.split("specimen/")[1].split("/")[0] + else: + id = "" + print(id) + + # Imprimer l'ID extrait + +# afficherMatrice(sorted([[cars[i][0],cars[i][1],cars[i][2],cars[i][3], cars[i][4]] for i in range(2,len(cars)) if ((cars[i][2]).lower().__contains__("the")) and ((cars[i][2]).lower().__contains__("rookie")) and ((cars[i][2]).lower().__contains__("s05"))])) +# afficherMatrice([cars[i][0]] for i in range(2,len(cars)) ) + +# if ((cars[i][0]).lower().__contains__("delagrave"))) \ No newline at end of file diff --git a/.py/libmanuelsaver.py b/.py/libmanuelsaver.py new file mode 100644 index 0000000..f4dab19 --- /dev/null +++ b/.py/libmanuelsaver.py @@ -0,0 +1,57 @@ +import pdfkit +import re + +from pushover import Pushover +from pdfkit.api import configuration +from pypdf import PdfMerger +import time +import os +import sys +import shutil +from tkinter import messagebox + +wkhtml_path = pdfkit.configuration(wkhtmltopdf="C:/Program Files/wkhtmltox/bin/wkhtmltopdf.exe") + +nbpages = 289 +url = "https://storage.libmanuels.fr/Delagrave/specimen/9782206103983/4/OEBPS/cover.xhtml" +output = 'C:/Users/Noham/Documents/GitHub/Manuel/.py/gen/prof{}.pdf' +pdfkit.from_url(url, 'C:/Users/Noham/Documents/GitHub/Manuel/.py/gen/prof1.pdf', configuration=wkhtml_path, verbose=True) + + +def newurlformer(i): + newurl = f"https://storage.libmanuels.fr/Delagrave/specimen/9782206103983/4/OEBPS/page{i:03}.xhtml" + print(newurl) + return(newurl) + +for offset in range(2, nbpages + 1): + newoutput = output.format(offset) + print(str(offset) + "/" + str(nbpages)) + pdfkit.from_url(newurlformer(offset), newoutput, configuration=wkhtml_path, verbose=True) + +pdfs = 'C:/Users/Noham/Documents/GitHub/Manuel/.py/gen/prof{}.pdf' +pdfsnewpdfs = [] + +for offset in range(1, nbpages + 1, 1): + newpdfs = pdfs.format(offset) + pdfsnewpdfs.append(str(newpdfs)) +# print(pdfsnewpdfs) + +finpage = time.perf_counter() + +debutmerge = time.perf_counter() +merger = PdfMerger() + +for pdf in pdfsnewpdfs: + merger.append(pdf) + +merger.write("prof.pdf") +merger.close() +finmerge = time.perf_counter() + + + +po = Pushover("a73uqu1px5w9aq84tnsbcgyf14c7zz") +po.user("ub91t4nporrc2nv374ed9kk9nwnd2p") +msg = po.msg("Les téléchargements sont terminés") +msg.set("title", "Finis") +po.send(msg) \ No newline at end of file diff --git a/.py/liste.txt b/.py/liste.txt new file mode 100644 index 0000000..18c6e4c --- /dev/null +++ b/.py/liste.txt @@ -0,0 +1,126 @@ +https://www.libmanuels.fr/demo/9782210113183/specimen/0?title=Anglais%20Hit%20the%20Road%201re%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118522/specimen/0?title=Fichier%20SES%202de%202023&editor=Magnard +https://www.libmanuels.fr/demo/9782210117877/specimen/0?title=G%C3%A9ographie%202de%20-%20coll.%20ActuG%C3%A9o%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118003/specimen/0?title=Hit%20the%20Road!%20Anglais%202de%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118249/specimen/0?title=Maths%201re%20Enseignement%20scientifique%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118331/specimen/0?title=Maths%202de%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114579/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%20Tle%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210115989/specimen/0?title=Anglais%20Hit%20the%20Road%20%201re/Tle%20S%C3%A9ries%20Technologiques%20(Ed.%20num.%202022)&editor=Magnard&pages=1-21 +https://www.libmanuels.fr/demo/9782210116047/specimen/0?title=Anglais%20Hit%20the%20Road%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116061/specimen/0?title=Anglais%20Hit%20the%20Road%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114029/specimen/0?title=Anglais%20Hit%20the%20Road%20Tle%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782206103983/specimen/0?title=Biochimie,%20Biologie%201re%20STL%20(2020)&editor=Delagrave&pages=1-27 +https://www.libmanuels.fr/demo/9782206103952/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Manuel&editor=Delagrave&pages=1-41 +https://www.libmanuels.fr/demo/9782206104058/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Pochette&editor=Delagrave&pages=1-31 +https://www.libmanuels.fr/demo/9782206104041/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Pochette&editor=Delagrave +https://www.libmanuels.fr/demo/9782206104867/specimen/0?title=Biologie%20et%20Physiopathologie%20humaines%20Tle%20ST2S%20(2020)%20Manuel&editor=Delagrave&pages=1-27 +https://www.libmanuels.fr/demo/9782206104898/manuel/0?title=Biologie%20et%20Physiopathologie%20humaines%20Tle%20ST2S%20(2020)%20Pochette&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9791035820039/specimen/0?title=Cahier%20d%27activit%C3%A9s%20Grand%20oral%20ed.2021&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782206106144/specimen/0?title=Cahier%20d%27algorithmique%20et%20de%20programmation%20(SNT)%202de&editor=Delagrave&pages=1-27 +https://www.libmanuels.fr/demo/9782206107028/specimen/0?title=Cahier%20d%27algorithmique%20et%20de%20programmation%201re,%20Tle%20Techno.%20Ens.%20commun%20(2022)%20Cahier&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206106052/specimen/0?title=Cahier%20d%27automatismes%20Maths%201re,%20Tle%20Techno&editor=Delagrave&pages=1-9 +https://www.libmanuels.fr/demo/9791035824433/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20%C5%93uvre%20au%20bac%20-%20D%C3%A9claration%20des%20droits%20de%20la%20femme%20et%20de%20la%20citoyenne%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824471/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20oeuvre%20au%20bac%20-%20Garguantua%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824440/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20%C5%93uvre%20au%20bac%20-%20La%20peau%20de%20chagrin%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824464/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20%C5%93uvre%20au%20bac%20-%20Les%20caract%C3%A8res%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824488/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20oeuvre%20au%20bac%20-%20Manon%20Lescaut%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824457/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20%C5%93uvre%20au%20bac%20-%20Sido,%20suivi%20de%20Les%20Vrilles%20de%20la%20vigne%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782206105338/manuel/0?title=Cahier%20des%20Sciences%20num%C3%A9riques%20et%20Technologie%20(SNT)%202de%20(2020)&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782210116948/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%201re%20(2022)&editor=Magnard&pages=1-11 +https://www.libmanuels.fr/demo/9782210116917/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%202de%20(2022)&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782210117433/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%202de%20/%201re%20(2022)&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9791035824495/manuel/0?title=Cahier%20Maths%202de%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782210117549/specimen/0?title=Carto%20Pack%20-%20Histoire%20G%C3%A9ographie%20HGGSP%20Lyc%C3%A9e%20(2022)&editor=Magnard +https://www.libmanuels.fr/demo/9782206305875/manuel/0?title=Droit%201re%20STMG%20(2019)%20Manuel&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206309262/specimen/0?title=Droit%201re%20STMG%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206310893/specimen/0?title=Droit%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-15 +https://www.libmanuels.fr/demo/9782206307503/specimen/0?title=Droit%20Tle%20STMG%20Manuel%20(Ed.%20num%202022)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206305844/manuel/0?title=%C3%89conomie%201re%20STMG%20Manuel%20(2019)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206309231/specimen/0?title=%C3%89conomie%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206310817/specimen/0?title=%C3%89conomie%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206307794/specimen/0?title=%C3%89conomie%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782210113176/specimen/0?title=Empreintes%20litt%C3%A9raires%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-17;92-127 +https://www.libmanuels.fr/demo/9782210113169/specimen/0?title=Empreintes%20litt%C3%A9raires%202de%20(Ed.%20num.%202022)&editor=Magnard&pages=1-17;68-95 +https://www.libmanuels.fr/demo/9782210115842/specimen/0?title=Empreintes%20litt%C3%A9raires%20Fran%C3%A7ais%201re%20(Ed.%20num.%202022)%20-%20Cahier%20consommable&editor=Magnard&pages=1-27 +https://www.libmanuels.fr/demo/9782210115866/specimen/0?title=Empreintes%20litt%C3%A9raires%20Fran%C3%A7ais%202de%20(Ed.%20num.%202022)%20-%20Cahier%20consommable&editor=Magnard&pages=1-19;28-29;74-75;98-99 +https://www.libmanuels.fr/demo/9782210114319/specimen/0?title=Enseignement%20moral%20et%20civique%20EMC%202de,%201re,%20Tle%20(Ed.num.2021)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210116214/specimen/0?title=Enseignement%20scientifique%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113039/specimen/0?title=Enseignement%20scientifique%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-25 +https://www.libmanuels.fr/demo/9782206304519/manuel/0?title=Enseignement%20Scientifique%20Alimentation-Environnement%201re,%20Tle%20STHR%20(2018)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782210114333/specimen/0?title=Enseignement%20scientifique%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782210116436/specimen/0?title=Enseignement%20scientifique%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113251/manuel/0?title=Espagnol%20Otros%20Mundos%20%C2%A1a%20descubrir!%201re%20(2019)&editor=Magnard&pages=1-29 +https://www.libmanuels.fr/demo/9782210113954/specimen/0?title=Espagnol%20Otros%20Mundos%20%C2%A1A%20descubrir!%20Tle%20(2020)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9791035820022/specimen/0?title=Fichier%20d%27activit%C3%A9s%20SES%202de%20ed.2021&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782210113305/specimen/0?title=G%C3%A9ographie%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116559/specimen/0?title=G%C3%A9ographie%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116238/specimen/0?title=G%C3%A9ographie%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210111851/specimen/0?title=G%C3%A9ographie%202de%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114357/specimen/0?title=G%C3%A9ographie%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-49 +https://www.libmanuels.fr/demo/9782210116450/specimen/0?title=G%C3%A9ographie%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782206308432/specimen/0?title=Gestion%20et%20Finance%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206311029/specimen/0?title=Gestion%20et%20Finance%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782210113343/specimen/0?title=HGGSP%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-43 +https://www.libmanuels.fr/demo/9782210116313/specimen/0?title=HGGSP%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114432/specimen/0?title=HGGSP%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210116498/specimen/0?title=HGGSP%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113282/specimen/0?title=Histoire%201re%20%20(Ed.%20num.%202022)&editor=Magnard&pages=1-45 +https://www.libmanuels.fr/demo/9782210116252/specimen/0?title=Histoire%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210111837/specimen/0?title=Histoire%202de%20(Ed.%20num.%202022)&editor=Magnard&pages=1-45 +https://www.libmanuels.fr/demo/9782210116276/specimen/0?title=Histoire%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114418/specimen/0?title=Histoire%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210116474/specimen/0?title=Histoire%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113367/specimen/0?title=Histoire-g%C3%A9ographie%201re%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116085/specimen/0?title=Histoire-G%C3%A9ographie%201re%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9791035825225/manuel/0?title=Histoire-G%C3%A9ographie%20Tle%20ed%202020&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782210114395/specimen/0?title=Histoire-G%C3%A9ographie%20Tle%20technologique%20(Ed.%20num.%202022)&editor=Magnard&pages=1-55 +https://www.libmanuels.fr/demo/9782210116092/specimen/0?title=Histoire-G%C3%A9ographie%20Tle%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782206106496/specimen/0?title=Les%20sciences%20de%20l%27ing%C3%A9nieur%20au%20lyc%C3%A9e%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206305905/manuel/0?title=Management%201re%20STMG%20(2019)%20Manuel&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206309293/specimen/0?title=Management%201re%20STMG%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206310862/specimen/0?title=Management,%20Sciences%20de%20gestion%20et%20num%C3%A9rique%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206307916/specimen/0?title=Management,%20Sciences%20de%20gestion%20et%20num%C3%A9rique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-25 +https://www.libmanuels.fr/demo/9782206103631/manuel/0?title=Math%C3%A9matiques%201re%20Tronc%20commun,%20sp%C3%A9cialit%C3%A9%20STI2D/STL%20(2019)&editor=Delagrave&pages=1-31 +https://www.libmanuels.fr/demo/9782206105147/specimen/0?title=Math%C3%A9matiques%20enseignement%20commun%20et%20sp%C3%A9cialit%C3%A9%20Tle%20STI2D/STL%20(2020)&editor=Delagrave&pages=1-33 +https://www.libmanuels.fr/demo/9782206105116/specimen/0?title=Math%C3%A9matiques%20Tle%20Tronc%20commun%20STMG/STI2D/STL/ST2S/STHR%20(2020)&editor=Delagrave&pages=1-33 +https://www.libmanuels.fr/demo/9782210112865/manuel/0?title=Maths%201re%20(Ed%20num%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210118201/specimen/0?title=Maths%201re%20Enseignement%20scientifique%20(2022)%20-%20Cahier%20d%27exercices&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782206103600/manuel/0?title=Maths%201re%20S%C3%A9ries%20Techno%20Enseignement%20commun%20(Ed.%20num.%202021)&editor=Delagrave&pages=1-31 +https://www.libmanuels.fr/demo/9782210112834/manuel/0?title=Maths%202de%20(Ed%20num%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210114456/specimen/0?title=Maths%20Compl%C3%A9mentaire%20Tle%20(2020)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210114470/specimen/0?title=Maths%20Expertes%20Tle%20(2020)&editor=Magnard&pages=1-41 +https://www.libmanuels.fr/demo/9782210114494/specimen/0?title=Maths%20Sp%C3%A9cialit%C3%A9%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-47 +https://www.libmanuels.fr/demo/9782206308500/specimen/0?title=Mercatique%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206310961/specimen/0?title=Mercatique%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9791035813291/manuel/0?title=mon%20cahier%20de%20fran%C3%A7ais%201ere%20g%C3%A9n%C3%A9rale%20ed%202020&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035813314/manuel/0?title=mon%20cahier%20de%20fran%C3%A7ais%201ere%20Techno%20ed%202020&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035813277/manuel/0?title=mon%20cahier%20de%20fran%C3%A7ais%202de%20ed%202020&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782210113589/manuel/0?title=Outils%20et%20m%C3%A9thode%20BAC%202de/1re%20(2019)&editor=Magnard&pages=1-15;84-85;98-99;142-143;180-181 +https://www.libmanuels.fr/demo/9782206401218/specimen/0?title=Philosophie%20Terminale%20Voie%20G%C3%A9n%C3%A9rale%20(2020)&editor=Delagrave&pages=1-41 +https://www.libmanuels.fr/demo/9782206402376/specimen/0?title=Philosophie%20Terminale%20Voie%20Technologique%20(2020)&editor=Delagrave&pages=1-35 +https://www.libmanuels.fr/demo/9782210114517/specimen/0?title=Philosophie%20Tle%20g%C3%A9n%C3%A9rale%20-%20Ed.%20Marchal%20(Ed.%20num.%202022)&editor=Magnard&pages=1-51 +https://www.libmanuels.fr/demo/9782210114531/specimen/0?title=Philosophie%20Tle%20g%C3%A9n%C3%A9rale%20-%20Ed.%20Sorosina%20(Ed.%20num.%202022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782206104973/specimen/0?title=Physique%20-%20Chimie%20Tle%20STI2D%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206103662/manuel/0?title=Physique%20Chimie%201re%20STI2D%20(2019)&editor=Delagrave&pages=1-9;124-135 +https://www.libmanuels.fr/demo/9782206103662/manuel/0?title=Physique%20Chimie%201re%20STI2D%20(2019)&editor=Delagrave +https://www.libmanuels.fr/demo/9782206310992/specimen/0?title=Ressources%20humaines%20et%20communication%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206308470/specimen/0?title=RH%20et%20communication%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206304267/manuel/0?title=Sciences%202de%20Bac%20STHR%20(2017)&editor=Delagrave&pages=1-13 +https://www.libmanuels.fr/demo/9782206309323/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206309996/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%20SDGN%201re%20STMG%20Manuel%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206309354/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%20SDGN%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206309385/specimen/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%20(SES)%202de%20(2021)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206205083/manuel/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%202de%20-%20Manuel%20(Ed.%20num.%202022)&editor=Delagrave&pages=1-25 +https://www.libmanuels.fr/demo/9782206205076/specimen/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%202de%20(2019)%20-%20Manuel&editor=Delagrave&pages=1-25 +https://www.libmanuels.fr/demo/9782210116337/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113381/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%201re%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113435/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(2021)%20-%20Fichier&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782210116351/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113329/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(Ed.num.2022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782210116511/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782206104072/manuel/0?title=Sciences%20et%20Techniques%20Sanitaires%20et%20Sociales%201re%20ST2S%20(2019)&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206104829/specimen/0?title=Sciences%20et%20Techniques%20Sanitaires%20et%20Sociales%20Tle%20ST2S%20(2020)&editor=Delagrave&pages=1-39 +https://www.libmanuels.fr/demo/9782206302737/manuel/0?title=Sciences%20et%20Technologies%20Culinaires%20(STC)%201re,%20Tle%20STHR%20(2016)&editor=Delagrave&pages=1-13 +https://www.libmanuels.fr/demo/9782206302768/manuel/0?title=Sciences%20et%20Technologies%20des%20Services%20(STS)%202de%20Bac%20Techno%20STHR%20(2016)&editor=Delagrave&pages=1-15 +https://www.libmanuels.fr/demo/9782206103570/specimen/0?title=Sciences%20num%C3%A9riques%20et%20Technologie%20(SNT)%202de%20(2019)&editor=Delagrave&pages=1-9;32-53 +https://www.libmanuels.fr/demo/9782206100906/specimen/0?title=Technologie%201re,%20Tle%20STI2D%20(2015)&editor=Delagrave&pages=1-35 \ No newline at end of file diff --git a/.py/listedelagrave.txt b/.py/listedelagrave.txt new file mode 100644 index 0000000..6f87f94 --- /dev/null +++ b/.py/listedelagrave.txt @@ -0,0 +1,52 @@ +https://www.libmanuels.fr/demo/9782206103983/specimen/0?title=Biochimie,%20Biologie%201re%20STL%20(2020)&editor=Delagrave&pages=1-27 +https://www.libmanuels.fr/demo/9782206103952/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Manuel&editor=Delagrave&pages=1-41 +https://www.libmanuels.fr/demo/9782206104058/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Pochette&editor=Delagrave&pages=1-31 +https://www.libmanuels.fr/demo/9782206104041/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Pochette&editor=Delagrave +https://www.libmanuels.fr/demo/9782206104867/specimen/0?title=Biologie%20et%20Physiopathologie%20humaines%20Tle%20ST2S%20(2020)%20Manuel&editor=Delagrave&pages=1-27 +https://www.libmanuels.fr/demo/9782206104898/manuel/0?title=Biologie%20et%20Physiopathologie%20humaines%20Tle%20ST2S%20(2020)%20Pochette&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206106144/specimen/0?title=Cahier%20d%27algorithmique%20et%20de%20programmation%20(SNT)%202de&editor=Delagrave&pages=1-27 +https://www.libmanuels.fr/demo/9782206107028/specimen/0?title=Cahier%20d%27algorithmique%20et%20de%20programmation%201re,%20Tle%20Techno.%20Ens.%20commun%20(2022)%20Cahier&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206106052/specimen/0?title=Cahier%20d%27automatismes%20Maths%201re,%20Tle%20Techno&editor=Delagrave&pages=1-9 +https://www.libmanuels.fr/demo/9782206105338/manuel/0?title=Cahier%20des%20Sciences%20num%C3%A9riques%20et%20Technologie%20(SNT)%202de%20(2020)&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206305875/manuel/0?title=Droit%201re%20STMG%20(2019)%20Manuel&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206309262/specimen/0?title=Droit%201re%20STMG%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206310893/specimen/0?title=Droit%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-15 +https://www.libmanuels.fr/demo/9782206307503/specimen/0?title=Droit%20Tle%20STMG%20Manuel%20(Ed.%20num%202022)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206305844/manuel/0?title=%C3%89conomie%201re%20STMG%20Manuel%20(2019)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206309231/specimen/0?title=%C3%89conomie%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206310817/specimen/0?title=%C3%89conomie%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206307794/specimen/0?title=%C3%89conomie%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206304519/manuel/0?title=Enseignement%20Scientifique%20Alimentation-Environnement%201re,%20Tle%20STHR%20(2018)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206308432/specimen/0?title=Gestion%20et%20Finance%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206311029/specimen/0?title=Gestion%20et%20Finance%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206106496/specimen/0?title=Les%20sciences%20de%20l%27ing%C3%A9nieur%20au%20lyc%C3%A9e%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206305905/manuel/0?title=Management%201re%20STMG%20(2019)%20Manuel&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206309293/specimen/0?title=Management%201re%20STMG%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206310862/specimen/0?title=Management,%20Sciences%20de%20gestion%20et%20num%C3%A9rique%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206307916/specimen/0?title=Management,%20Sciences%20de%20gestion%20et%20num%C3%A9rique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-25 +https://www.libmanuels.fr/demo/9782206103631/manuel/0?title=Math%C3%A9matiques%201re%20Tronc%20commun,%20sp%C3%A9cialit%C3%A9%20STI2D/STL%20(2019)&editor=Delagrave&pages=1-31 +https://www.libmanuels.fr/demo/9782206105147/specimen/0?title=Math%C3%A9matiques%20enseignement%20commun%20et%20sp%C3%A9cialit%C3%A9%20Tle%20STI2D/STL%20(2020)&editor=Delagrave&pages=1-33 +https://www.libmanuels.fr/demo/9782206105116/specimen/0?title=Math%C3%A9matiques%20Tle%20Tronc%20commun%20STMG/STI2D/STL/ST2S/STHR%20(2020)&editor=Delagrave&pages=1-33 +https://www.libmanuels.fr/demo/9782206103600/manuel/0?title=Maths%201re%20S%C3%A9ries%20Techno%20Enseignement%20commun%20(Ed.%20num.%202021)&editor=Delagrave&pages=1-31 +https://www.libmanuels.fr/demo/9782206308500/specimen/0?title=Mercatique%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206310961/specimen/0?title=Mercatique%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206401218/specimen/0?title=Philosophie%20Terminale%20Voie%20G%C3%A9n%C3%A9rale%20(2020)&editor=Delagrave&pages=1-41 +https://www.libmanuels.fr/demo/9782206402376/specimen/0?title=Philosophie%20Terminale%20Voie%20Technologique%20(2020)&editor=Delagrave&pages=1-35 +https://www.libmanuels.fr/demo/9782206104973/specimen/0?title=Physique%20-%20Chimie%20Tle%20STI2D%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206103662/manuel/0?title=Physique%20Chimie%201re%20STI2D%20(2019)&editor=Delagrave&pages=1-9;124-135 +https://www.libmanuels.fr/demo/9782206103662/manuel/0?title=Physique%20Chimie%201re%20STI2D%20(2019)&editor=Delagrave +https://www.libmanuels.fr/demo/9782206310992/specimen/0?title=Ressources%20humaines%20et%20communication%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206308470/specimen/0?title=RH%20et%20communication%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206304267/manuel/0?title=Sciences%202de%20Bac%20STHR%20(2017)&editor=Delagrave&pages=1-13 +https://www.libmanuels.fr/demo/9782206309323/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206309996/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%20SDGN%201re%20STMG%20Manuel%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206309354/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%20SDGN%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206309385/specimen/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%20(SES)%202de%20(2021)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206205083/manuel/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%202de%20-%20Manuel%20(Ed.%20num.%202022)&editor=Delagrave&pages=1-25 +https://www.libmanuels.fr/demo/9782206205076/specimen/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%202de%20(2019)%20-%20Manuel&editor=Delagrave&pages=1-25 +https://www.libmanuels.fr/demo/9782206104072/manuel/0?title=Sciences%20et%20Techniques%20Sanitaires%20et%20Sociales%201re%20ST2S%20(2019)&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206104829/specimen/0?title=Sciences%20et%20Techniques%20Sanitaires%20et%20Sociales%20Tle%20ST2S%20(2020)&editor=Delagrave&pages=1-39 +https://www.libmanuels.fr/demo/9782206302737/manuel/0?title=Sciences%20et%20Technologies%20Culinaires%20(STC)%201re,%20Tle%20STHR%20(2016)&editor=Delagrave&pages=1-13 +https://www.libmanuels.fr/demo/9782206302768/manuel/0?title=Sciences%20et%20Technologies%20des%20Services%20(STS)%202de%20Bac%20Techno%20STHR%20(2016)&editor=Delagrave&pages=1-15 +https://www.libmanuels.fr/demo/9782206103570/specimen/0?title=Sciences%20num%C3%A9riques%20et%20Technologie%20(SNT)%202de%20(2019)&editor=Delagrave&pages=1-9;32-53 +https://www.libmanuels.fr/demo/9782206100906/specimen/0?title=Technologie%201re,%20Tle%20STI2D%20(2015)&editor=Delagrave&pages=1-35 \ No newline at end of file diff --git a/.py/listedeliens.csv b/.py/listedeliens.csv new file mode 100644 index 0000000..d7394fa --- /dev/null +++ b/.py/listedeliens.csv @@ -0,0 +1,126 @@ +https://www.libmanuels.fr/demo/9782210113183/specimen/0?title=Anglais%20Hit%20the%20Road%201re%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118522/specimen/0?title=Fichier%20SES%202de%202023&editor=Magnard +https://www.libmanuels.fr/demo/9782210117877/specimen/0?title=G%C3%A9ographie%202de%20-%20coll.%20ActuG%C3%A9o%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118003/specimen/0?title=Hit%20the%20Road!%20Anglais%202de%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118249/specimen/0?title=Maths%201re%20Enseignement%20scientifique%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118331/specimen/0?title=Maths%202de%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114579/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%20Tle%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210115989/specimen/0?title=Anglais%20Hit%20the%20Road%20%201re/Tle%20S%C3%A9ries%20Technologiques%20(Ed.%20num.%202022)&editor=Magnard&pages=1-21 +https://www.libmanuels.fr/demo/9782210116047/specimen/0?title=Anglais%20Hit%20the%20Road%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116061/specimen/0?title=Anglais%20Hit%20the%20Road%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114029/specimen/0?title=Anglais%20Hit%20the%20Road%20Tle%20(Ed.%20num.%202023)&editor=Magnard +"https://www.libmanuels.fr/demo/9782206103983/specimen/0?title=Biochimie,%20Biologie%201re%20STL%20(2020)&editor=Delagrave&pages=1-27" +https://www.libmanuels.fr/demo/9782206103952/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Manuel&editor=Delagrave&pages=1-41 +https://www.libmanuels.fr/demo/9782206104058/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Pochette&editor=Delagrave&pages=1-31 +https://www.libmanuels.fr/demo/9782206104041/manuel/0?title=Biologie%20et%20Physiopathologie%20Humaines%201re%20ST2S%20(2019)%20Pochette&editor=Delagrave +https://www.libmanuels.fr/demo/9782206104867/specimen/0?title=Biologie%20et%20Physiopathologie%20humaines%20Tle%20ST2S%20(2020)%20Manuel&editor=Delagrave&pages=1-27 +https://www.libmanuels.fr/demo/9782206104898/manuel/0?title=Biologie%20et%20Physiopathologie%20humaines%20Tle%20ST2S%20(2020)%20Pochette&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9791035820039/specimen/0?title=Cahier%20d%27activit%C3%A9s%20Grand%20oral%20ed.2021&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782206106144/specimen/0?title=Cahier%20d%27algorithmique%20et%20de%20programmation%20(SNT)%202de&editor=Delagrave&pages=1-27 +"https://www.libmanuels.fr/demo/9782206107028/specimen/0?title=Cahier%20d%27algorithmique%20et%20de%20programmation%201re,%20Tle%20Techno.%20Ens.%20commun%20(2022)%20Cahier&editor=Delagrave&pages=1-23" +"https://www.libmanuels.fr/demo/9782206106052/specimen/0?title=Cahier%20d%27automatismes%20Maths%201re,%20Tle%20Techno&editor=Delagrave&pages=1-9" +https://www.libmanuels.fr/demo/9791035824433/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20%C5%93uvre%20au%20bac%20-%20D%C3%A9claration%20des%20droits%20de%20la%20femme%20et%20de%20la%20citoyenne%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824471/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20oeuvre%20au%20bac%20-%20Garguantua%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824440/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20%C5%93uvre%20au%20bac%20-%20La%20peau%20de%20chagrin%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824464/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20%C5%93uvre%20au%20bac%20-%20Les%20caract%C3%A8res%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035824488/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20oeuvre%20au%20bac%20-%20Manon%20Lescaut%20ed.%202022&editor=Belin%20Education&pages=1-20 +"https://www.libmanuels.fr/demo/9791035824457/manuel/0?title=Cahier%20de%20fran%C3%A7ais%201ere%20-%20Mon%20%C5%93uvre%20au%20bac%20-%20Sido,%20suivi%20de%20Les%20Vrilles%20de%20la%20vigne%20ed.%202022&editor=Belin%20Education&pages=1-20" +https://www.libmanuels.fr/demo/9782206105338/manuel/0?title=Cahier%20des%20Sciences%20num%C3%A9riques%20et%20Technologie%20(SNT)%202de%20(2020)&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782210116948/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%201re%20(2022)&editor=Magnard&pages=1-11 +https://www.libmanuels.fr/demo/9782210116917/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%202de%20(2022)&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782210117433/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%202de%20/%201re%20(2022)&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9791035824495/manuel/0?title=Cahier%20Maths%202de%20ed.%202022&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782210117549/specimen/0?title=Carto%20Pack%20-%20Histoire%20G%C3%A9ographie%20HGGSP%20Lyc%C3%A9e%20(2022)&editor=Magnard +https://www.libmanuels.fr/demo/9782206305875/manuel/0?title=Droit%201re%20STMG%20(2019)%20Manuel&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206309262/specimen/0?title=Droit%201re%20STMG%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206310893/specimen/0?title=Droit%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-15 +https://www.libmanuels.fr/demo/9782206307503/specimen/0?title=Droit%20Tle%20STMG%20Manuel%20(Ed.%20num%202022)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206305844/manuel/0?title=%C3%89conomie%201re%20STMG%20Manuel%20(2019)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206309231/specimen/0?title=%C3%89conomie%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206310817/specimen/0?title=%C3%89conomie%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206307794/specimen/0?title=%C3%89conomie%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782210113176/specimen/0?title=Empreintes%20litt%C3%A9raires%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-17;92-127 +https://www.libmanuels.fr/demo/9782210113169/specimen/0?title=Empreintes%20litt%C3%A9raires%202de%20(Ed.%20num.%202022)&editor=Magnard&pages=1-17;68-95 +https://www.libmanuels.fr/demo/9782210115842/specimen/0?title=Empreintes%20litt%C3%A9raires%20Fran%C3%A7ais%201re%20(Ed.%20num.%202022)%20-%20Cahier%20consommable&editor=Magnard&pages=1-27 +https://www.libmanuels.fr/demo/9782210115866/specimen/0?title=Empreintes%20litt%C3%A9raires%20Fran%C3%A7ais%202de%20(Ed.%20num.%202022)%20-%20Cahier%20consommable&editor=Magnard&pages=1-19;28-29;74-75;98-99 +"https://www.libmanuels.fr/demo/9782210114319/specimen/0?title=Enseignement%20moral%20et%20civique%20EMC%202de,%201re,%20Tle%20(Ed.num.2021)&editor=Magnard&pages=1-39" +https://www.libmanuels.fr/demo/9782210116214/specimen/0?title=Enseignement%20scientifique%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113039/specimen/0?title=Enseignement%20scientifique%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-25 +"https://www.libmanuels.fr/demo/9782206304519/manuel/0?title=Enseignement%20Scientifique%20Alimentation-Environnement%201re,%20Tle%20STHR%20(2018)&editor=Delagrave&pages=1-21" +https://www.libmanuels.fr/demo/9782210114333/specimen/0?title=Enseignement%20scientifique%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782210116436/specimen/0?title=Enseignement%20scientifique%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113251/manuel/0?title=Espagnol%20Otros%20Mundos%20%C2%A1a%20descubrir!%201re%20(2019)&editor=Magnard&pages=1-29 +https://www.libmanuels.fr/demo/9782210113954/specimen/0?title=Espagnol%20Otros%20Mundos%20%C2%A1A%20descubrir!%20Tle%20(2020)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9791035820022/specimen/0?title=Fichier%20d%27activit%C3%A9s%20SES%202de%20ed.2021&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782210113305/specimen/0?title=G%C3%A9ographie%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116559/specimen/0?title=G%C3%A9ographie%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116238/specimen/0?title=G%C3%A9ographie%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210111851/specimen/0?title=G%C3%A9ographie%202de%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114357/specimen/0?title=G%C3%A9ographie%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-49 +https://www.libmanuels.fr/demo/9782210116450/specimen/0?title=G%C3%A9ographie%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782206308432/specimen/0?title=Gestion%20et%20Finance%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206311029/specimen/0?title=Gestion%20et%20Finance%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782210113343/specimen/0?title=HGGSP%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-43 +https://www.libmanuels.fr/demo/9782210116313/specimen/0?title=HGGSP%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114432/specimen/0?title=HGGSP%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210116498/specimen/0?title=HGGSP%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113282/specimen/0?title=Histoire%201re%20%20(Ed.%20num.%202022)&editor=Magnard&pages=1-45 +https://www.libmanuels.fr/demo/9782210116252/specimen/0?title=Histoire%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210111837/specimen/0?title=Histoire%202de%20(Ed.%20num.%202022)&editor=Magnard&pages=1-45 +https://www.libmanuels.fr/demo/9782210116276/specimen/0?title=Histoire%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114418/specimen/0?title=Histoire%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210116474/specimen/0?title=Histoire%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113367/specimen/0?title=Histoire-g%C3%A9ographie%201re%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116085/specimen/0?title=Histoire-G%C3%A9ographie%201re%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9791035825225/manuel/0?title=Histoire-G%C3%A9ographie%20Tle%20ed%202020&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782210114395/specimen/0?title=Histoire-G%C3%A9ographie%20Tle%20technologique%20(Ed.%20num.%202022)&editor=Magnard&pages=1-55 +https://www.libmanuels.fr/demo/9782210116092/specimen/0?title=Histoire-G%C3%A9ographie%20Tle%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782206106496/specimen/0?title=Les%20sciences%20de%20l%27ing%C3%A9nieur%20au%20lyc%C3%A9e%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206305905/manuel/0?title=Management%201re%20STMG%20(2019)%20Manuel&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206309293/specimen/0?title=Management%201re%20STMG%20(2021)&editor=Delagrave&pages=1-17 +"https://www.libmanuels.fr/demo/9782206310862/specimen/0?title=Management,%20Sciences%20de%20gestion%20et%20num%C3%A9rique%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-21" +"https://www.libmanuels.fr/demo/9782206307916/specimen/0?title=Management,%20Sciences%20de%20gestion%20et%20num%C3%A9rique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-25" +"https://www.libmanuels.fr/demo/9782206103631/manuel/0?title=Math%C3%A9matiques%201re%20Tronc%20commun,%20sp%C3%A9cialit%C3%A9%20STI2D/STL%20(2019)&editor=Delagrave&pages=1-31" +https://www.libmanuels.fr/demo/9782206105147/specimen/0?title=Math%C3%A9matiques%20enseignement%20commun%20et%20sp%C3%A9cialit%C3%A9%20Tle%20STI2D/STL%20(2020)&editor=Delagrave&pages=1-33 +https://www.libmanuels.fr/demo/9782206105116/specimen/0?title=Math%C3%A9matiques%20Tle%20Tronc%20commun%20STMG/STI2D/STL/ST2S/STHR%20(2020)&editor=Delagrave&pages=1-33 +https://www.libmanuels.fr/demo/9782210112865/manuel/0?title=Maths%201re%20(Ed%20num%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210118201/specimen/0?title=Maths%201re%20Enseignement%20scientifique%20(2022)%20-%20Cahier%20d%27exercices&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782206103600/manuel/0?title=Maths%201re%20S%C3%A9ries%20Techno%20Enseignement%20commun%20(Ed.%20num.%202021)&editor=Delagrave&pages=1-31 +https://www.libmanuels.fr/demo/9782210112834/manuel/0?title=Maths%202de%20(Ed%20num%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210114456/specimen/0?title=Maths%20Compl%C3%A9mentaire%20Tle%20(2020)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210114470/specimen/0?title=Maths%20Expertes%20Tle%20(2020)&editor=Magnard&pages=1-41 +https://www.libmanuels.fr/demo/9782210114494/specimen/0?title=Maths%20Sp%C3%A9cialit%C3%A9%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-47 +https://www.libmanuels.fr/demo/9782206308500/specimen/0?title=Mercatique%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206310961/specimen/0?title=Mercatique%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9791035813291/manuel/0?title=mon%20cahier%20de%20fran%C3%A7ais%201ere%20g%C3%A9n%C3%A9rale%20ed%202020&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035813314/manuel/0?title=mon%20cahier%20de%20fran%C3%A7ais%201ere%20Techno%20ed%202020&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9791035813277/manuel/0?title=mon%20cahier%20de%20fran%C3%A7ais%202de%20ed%202020&editor=Belin%20Education&pages=1-20 +https://www.libmanuels.fr/demo/9782210113589/manuel/0?title=Outils%20et%20m%C3%A9thode%20BAC%202de/1re%20(2019)&editor=Magnard&pages=1-15;84-85;98-99;142-143;180-181 +https://www.libmanuels.fr/demo/9782206401218/specimen/0?title=Philosophie%20Terminale%20Voie%20G%C3%A9n%C3%A9rale%20(2020)&editor=Delagrave&pages=1-41 +https://www.libmanuels.fr/demo/9782206402376/specimen/0?title=Philosophie%20Terminale%20Voie%20Technologique%20(2020)&editor=Delagrave&pages=1-35 +https://www.libmanuels.fr/demo/9782210114517/specimen/0?title=Philosophie%20Tle%20g%C3%A9n%C3%A9rale%20-%20Ed.%20Marchal%20(Ed.%20num.%202022)&editor=Magnard&pages=1-51 +https://www.libmanuels.fr/demo/9782210114531/specimen/0?title=Philosophie%20Tle%20g%C3%A9n%C3%A9rale%20-%20Ed.%20Sorosina%20(Ed.%20num.%202022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782206104973/specimen/0?title=Physique%20-%20Chimie%20Tle%20STI2D%20(2020)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206103662/manuel/0?title=Physique%20Chimie%201re%20STI2D%20(2019)&editor=Delagrave&pages=1-9;124-135 +https://www.libmanuels.fr/demo/9782206103662/manuel/0?title=Physique%20Chimie%201re%20STI2D%20(2019)&editor=Delagrave +https://www.libmanuels.fr/demo/9782206310992/specimen/0?title=Ressources%20humaines%20et%20communication%20Tle%20STMG%20(2022)%20Pochette&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206308470/specimen/0?title=RH%20et%20communication%20ens.%20sp%C3%A9cifique%20Tle%20STMG%20Manuel%20(2020)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206304267/manuel/0?title=Sciences%202de%20Bac%20STHR%20(2017)&editor=Delagrave&pages=1-13 +https://www.libmanuels.fr/demo/9782206309323/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-21 +https://www.libmanuels.fr/demo/9782206309996/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%20SDGN%201re%20STMG%20Manuel%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206309354/specimen/0?title=Sciences%20de%20gestion%20et%20num%C3%A9rique%20SDGN%201re%20STMG%20Pochette%20(2021)&editor=Delagrave&pages=1-17 +https://www.libmanuels.fr/demo/9782206309385/specimen/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%20(SES)%202de%20(2021)&editor=Delagrave&pages=1-23 +https://www.libmanuels.fr/demo/9782206205083/manuel/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%202de%20-%20Manuel%20(Ed.%20num.%202022)&editor=Delagrave&pages=1-25 +https://www.libmanuels.fr/demo/9782206205076/specimen/0?title=Sciences%20%C3%89conomiques%20et%20Sociales%202de%20(2019)%20-%20Manuel&editor=Delagrave&pages=1-25 +https://www.libmanuels.fr/demo/9782210116337/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113381/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%201re%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113435/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(2021)%20-%20Fichier&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782210116351/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113329/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(Ed.num.2022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782210116511/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782206104072/manuel/0?title=Sciences%20et%20Techniques%20Sanitaires%20et%20Sociales%201re%20ST2S%20(2019)&editor=Delagrave&pages=1-19 +https://www.libmanuels.fr/demo/9782206104829/specimen/0?title=Sciences%20et%20Techniques%20Sanitaires%20et%20Sociales%20Tle%20ST2S%20(2020)&editor=Delagrave&pages=1-39 +"https://www.libmanuels.fr/demo/9782206302737/manuel/0?title=Sciences%20et%20Technologies%20Culinaires%20(STC)%201re,%20Tle%20STHR%20(2016)&editor=Delagrave&pages=1-13" +https://www.libmanuels.fr/demo/9782206302768/manuel/0?title=Sciences%20et%20Technologies%20des%20Services%20(STS)%202de%20Bac%20Techno%20STHR%20(2016)&editor=Delagrave&pages=1-15 +https://www.libmanuels.fr/demo/9782206103570/specimen/0?title=Sciences%20num%C3%A9riques%20et%20Technologie%20(SNT)%202de%20(2019)&editor=Delagrave&pages=1-9;32-53 +"https://www.libmanuels.fr/demo/9782206100906/specimen/0?title=Technologie%201re,%20Tle%20STI2D%20(2015)&editor=Delagrave&pages=1-35" diff --git a/.py/listedeliens.ods b/.py/listedeliens.ods new file mode 100644 index 0000000..a09ef34 Binary files /dev/null and b/.py/listedeliens.ods differ diff --git a/.py/listemagnard.txt b/.py/listemagnard.txt new file mode 100644 index 0000000..7f2d104 --- /dev/null +++ b/.py/listemagnard.txt @@ -0,0 +1,61 @@ +https://www.libmanuels.fr/demo/9782210113183/specimen/0?title=Anglais%20Hit%20the%20Road%201re%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118522/specimen/0?title=Fichier%20SES%202de%202023&editor=Magnard +https://www.libmanuels.fr/demo/9782210117877/specimen/0?title=G%C3%A9ographie%202de%20-%20coll.%20ActuG%C3%A9o%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118003/specimen/0?title=Hit%20the%20Road!%20Anglais%202de%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118249/specimen/0?title=Maths%201re%20Enseignement%20scientifique%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210118331/specimen/0?title=Maths%202de%20(2023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114579/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%20Tle%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210115989/specimen/0?title=Anglais%20Hit%20the%20Road%20%201re/Tle%20S%C3%A9ries%20Technologiques%20(Ed.%20num.%202022)&editor=Magnard&pages=1-21 +https://www.libmanuels.fr/demo/9782210116047/specimen/0?title=Anglais%20Hit%20the%20Road%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116061/specimen/0?title=Anglais%20Hit%20the%20Road%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114029/specimen/0?title=Anglais%20Hit%20the%20Road%20Tle%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116948/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%201re%20(2022)&editor=Magnard&pages=1-11 +https://www.libmanuels.fr/demo/9782210116917/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%202de%20(2022)&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782210117433/specimen/0?title=Cahier%20Grevisse%20Fran%C3%A7ais%202de%20/%201re%20(2022)&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782210117549/specimen/0?title=Carto%20Pack%20-%20Histoire%20G%C3%A9ographie%20HGGSP%20Lyc%C3%A9e%20(2022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113176/specimen/0?title=Empreintes%20litt%C3%A9raires%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-17;92-127 +https://www.libmanuels.fr/demo/9782210113169/specimen/0?title=Empreintes%20litt%C3%A9raires%202de%20(Ed.%20num.%202022)&editor=Magnard&pages=1-17;68-95 +https://www.libmanuels.fr/demo/9782210115842/specimen/0?title=Empreintes%20litt%C3%A9raires%20Fran%C3%A7ais%201re%20(Ed.%20num.%202022)%20-%20Cahier%20consommable&editor=Magnard&pages=1-27 +https://www.libmanuels.fr/demo/9782210115866/specimen/0?title=Empreintes%20litt%C3%A9raires%20Fran%C3%A7ais%202de%20(Ed.%20num.%202022)%20-%20Cahier%20consommable&editor=Magnard&pages=1-19;28-29;74-75;98-99 +https://www.libmanuels.fr/demo/9782210114319/specimen/0?title=Enseignement%20moral%20et%20civique%20EMC%202de,%201re,%20Tle%20(Ed.num.2021)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210116214/specimen/0?title=Enseignement%20scientifique%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113039/specimen/0?title=Enseignement%20scientifique%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-25 +https://www.libmanuels.fr/demo/9782210114333/specimen/0?title=Enseignement%20scientifique%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782210116436/specimen/0?title=Enseignement%20scientifique%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113251/manuel/0?title=Espagnol%20Otros%20Mundos%20%C2%A1a%20descubrir!%201re%20(2019)&editor=Magnard&pages=1-29 +https://www.libmanuels.fr/demo/9782210113954/specimen/0?title=Espagnol%20Otros%20Mundos%20%C2%A1A%20descubrir!%20Tle%20(2020)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782210113305/specimen/0?title=G%C3%A9ographie%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116559/specimen/0?title=G%C3%A9ographie%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116238/specimen/0?title=G%C3%A9ographie%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210111851/specimen/0?title=G%C3%A9ographie%202de%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114357/specimen/0?title=G%C3%A9ographie%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-49 +https://www.libmanuels.fr/demo/9782210116450/specimen/0?title=G%C3%A9ographie%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113343/specimen/0?title=HGGSP%201re%20(Ed.%20num.%202022)&editor=Magnard&pages=1-43 +https://www.libmanuels.fr/demo/9782210116313/specimen/0?title=HGGSP%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114432/specimen/0?title=HGGSP%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210116498/specimen/0?title=HGGSP%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113282/specimen/0?title=Histoire%201re%20%20(Ed.%20num.%202022)&editor=Magnard&pages=1-45 +https://www.libmanuels.fr/demo/9782210116252/specimen/0?title=Histoire%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210111837/specimen/0?title=Histoire%202de%20(Ed.%20num.%202022)&editor=Magnard&pages=1-45 +https://www.libmanuels.fr/demo/9782210116276/specimen/0?title=Histoire%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114418/specimen/0?title=Histoire%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210116474/specimen/0?title=Histoire%20Tle%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113367/specimen/0?title=Histoire-g%C3%A9ographie%201re%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210116085/specimen/0?title=Histoire-G%C3%A9ographie%201re%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210114395/specimen/0?title=Histoire-G%C3%A9ographie%20Tle%20technologique%20(Ed.%20num.%202022)&editor=Magnard&pages=1-55 +https://www.libmanuels.fr/demo/9782210116092/specimen/0?title=Histoire-G%C3%A9ographie%20Tle%20technologique%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210112865/manuel/0?title=Maths%201re%20(Ed%20num%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210118201/specimen/0?title=Maths%201re%20Enseignement%20scientifique%20(2022)%20-%20Cahier%20d%27exercices&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782210112834/manuel/0?title=Maths%202de%20(Ed%20num%202022)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210114456/specimen/0?title=Maths%20Compl%C3%A9mentaire%20Tle%20(2020)&editor=Magnard&pages=1-39 +https://www.libmanuels.fr/demo/9782210114470/specimen/0?title=Maths%20Expertes%20Tle%20(2020)&editor=Magnard&pages=1-41 +https://www.libmanuels.fr/demo/9782210114494/specimen/0?title=Maths%20Sp%C3%A9cialit%C3%A9%20Tle%20(Ed.%20num.%202022)&editor=Magnard&pages=1-47 +https://www.libmanuels.fr/demo/9782210113589/manuel/0?title=Outils%20et%20m%C3%A9thode%20BAC%202de/1re%20(2019)&editor=Magnard&pages=1-15;84-85;98-99;142-143;180-181 +https://www.libmanuels.fr/demo/9782210114517/specimen/0?title=Philosophie%20Tle%20g%C3%A9n%C3%A9rale%20-%20Ed.%20Marchal%20(Ed.%20num.%202022)&editor=Magnard&pages=1-51 +https://www.libmanuels.fr/demo/9782210114531/specimen/0?title=Philosophie%20Tle%20g%C3%A9n%C3%A9rale%20-%20Ed.%20Sorosina%20(Ed.%20num.%202022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782210116337/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%201re%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113381/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%201re%20(Ed.%20num.%202023)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113435/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(2021)%20-%20Fichier&editor=Magnard&pages=1-17 +https://www.libmanuels.fr/demo/9782210116351/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(Ed.%20num.%202022)&editor=Magnard +https://www.libmanuels.fr/demo/9782210113329/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%202de%20(Ed.num.2022)&editor=Magnard&pages=1-31 +https://www.libmanuels.fr/demo/9782210116511/specimen/0?title=Sciences%20%C3%A9conomiques%20et%20sociales%20SES%20Tle%20(Ed.%20num.%202022)&editor=Magnard \ No newline at end of file diff --git a/.py/numtest.py b/.py/numtest.py new file mode 100644 index 0000000..26cf9b7 --- /dev/null +++ b/.py/numtest.py @@ -0,0 +1,6 @@ +def newurlformer(i): + newurl = f"https://storage.libmanuels.fr/Belin/manuel/9791035824488/5/OEBPS/{i:03}.xhtml" + print(newurl) + return(newurl) + +print(newurlformer(5)) \ No newline at end of file diff --git a/.py/png saver.py b/.py/png saver.py new file mode 100644 index 0000000..3e4697b --- /dev/null +++ b/.py/png saver.py @@ -0,0 +1,68 @@ +import pdfkit +import re +from pdfkit.api import configuration +from pypdf import PdfMerger +import time +import os +import sys +import shutil +from tkinter import messagebox +import csv + + +# by using configuration you can add path value. +wkhtml_path = pdfkit.configuration( + wkhtmltopdf="C:/Program Files/wkhtmltox/bin/wkhtmltopdf.exe") +# options = { +# 'page-size': 'Letter', +# 'margin-top': '0.75in', +# 'margin-right': '0.75in', +# 'margin-bottom': '0.75in', +# 'margin-left': '0.75in', +# 'custom-header': [ +# ('Accept-Encoding', 'gzip') +# ], +# 'no-outline': None +# } + +options = {} +nbpages = 68 + + +url = "https://storage.libmanuels.fr/Belin/manuel/9791035824488/3/OEBPS/page0{}.xhtml" +# url = "https://exobank.hachette-livre.fr/contents/final/9782278093472-fxl/OEBPS/page{}.xhtml?interface=postMessage" +output = 'C:/Users/Noham/Documents/GitHub/Manuel/.py/gen/pdf{}.pdf' +for offset in range(1, nbpages + 1, 1): + newurl = url.format(offset) + print(newurl) + newoutput = output.format(offset) + print(str(offset) + "/" + str(nbpages)) + pdfkit.from_url(newurl, + newoutput, + configuration=wkhtml_path, + options=options, + verbose=False) + +pdfs = 'C:/Users/Noham/Documents/GitHub/Manuel/.py/gen/pdf{}.pdf' +pdfsnewpdfs = [] +for offset in range(1, nbpages + 1, 1): + newpdfs = pdfs.format(offset) + pdfsnewpdfs.append(str(newpdfs)) +# print(pdfsnewpdfs) + +finpage = time.perf_counter() + +debutmerge = time.perf_counter() +merger = PdfMerger() + +for pdf in pdfsnewpdfs: + merger.append(pdf) + +merger.write("result.pdf") +merger.close() +finmerge = time.perf_counter() + +print(f"Gen pdfs en {finpage - toc:0.4f} secondes") +print(f"Gen pdf unique en {finmerge - debutmerge:0.4f} secondes") +print(f"Tout en {finmerge - toc:0.4f} secondes") +print('DONE') diff --git a/.py/test 1.0.py b/.py/test 1.0.py new file mode 100644 index 0000000..59fe54f --- /dev/null +++ b/.py/test 1.0.py @@ -0,0 +1,107 @@ +import pdfkit +import re +from pdfkit.api import configuration +from pypdf import PdfMerger +import time +import os +import sys +import shutil +from tkinter import messagebox + + + +def clear(n): + for i in range(0, n): + try: + shutil.rmtree("C:/Users/Noham/Downloads/Manuel/Code/gen/") + except OSError as e: + print("Error: %s - %s." % (e.filename, e.strerror)) + + directory = "gen" + parent_dir = "C:/Users/Noham/Downloads/Manuel/Code/" + path = os.path.join(parent_dir, directory) + try: + os.mkdir(path) + except OSError as e: + print("Error: %s - %s." % (e.filename, e.strerror)) + + +toc = time.perf_counter() + +wkhtml_path = pdfkit.configuration(wkhtmltopdf="C:/Program Files/wkhtmltox/bin/wkhtmltopdf.exe") #by using configuration you can add path value. +# options = { +# 'page-size': 'Letter', +# 'margin-top': '0.75in', +# 'margin-right': '0.75in', +# 'margin-bottom': '0.75in', +# 'margin-left': '0.75in', +# 'custom-header': [ +# ('Accept-Encoding', 'gzip') +# ], +# 'no-outline': None +# } + +options = {} +# clear(2) +id = int(input("Quel est l'id ? ")) +edition = input("Quelle est l'édition ? ") +nbpages = int(input("Quel est le nombre de pages ? ")) + + +if edition == 'hachette': + debuturl = 'https://exobank.hachette-livre.fr/contents/final/' + finurl = '-fxl/OEBPS/Page_{}.html' +elif (edition == 'hatier') or (edition == 'didier'): + debuturl = 'https://exobank.hachette-livre.fr/contents/final/' + finurl = '-fxl/OEBPS/page{}.xhtml?interface=postMessage' +else: + print("L'édition entrée n'existe pas encore") + +url = debuturl + str(id) + finurl +# url = "https://exobank.hachette-livre.fr/contents/final/9782278093472-fxl/OEBPS/page{}.xhtml?interface=postMessage" +output = 'C:/Users/Noham/Downloads/Manuel/Code/gen/pdf{}.pdf' +for offset in range(1, nbpages + 1, 1): + newurl = url.format(offset) + print(newurl) + newoutput = output.format(offset) + print(str(offset) + "/" + str(nbpages)) + + try: + pdfkit.from_url(newurl, + newoutput, + configuration=wkhtml_path, + options=options, + verbose=False) + + except: + pdfkit.from_string("Une erreur est survenue lors de la génération de la page.") + print("error", newoutput) + +pdfs = 'C:/Users/Noham/Downloads/Manuel/Code/gen/pdf{}.pdf' +pdfsnewpdfs = [] + +for offset in range(386, nbpages + 1, 1): + newurl = url.format(offset) + print(newurl) + newoutput = output.format(offset) + print(str(offset) + "/" + str(nbpages)) + + pdfkit.from_url(newurl, newoutput) + +pdfs = '/root/content/Manuel/gen/prof{}.pdf' +pdfsnewpdfs = [] + +for offset in range(1, nbpages + 1, 1): + newpdfs = pdfs.format(offset) + pdfsnewpdfs.append(str(newpdfs)) +# print(pdfsnewpdfs) + +merger.write("result.pdf") +merger.close() +finmerge = time.perf_counter() + +# clear(2) +print(f"Gen pdfs en {finpage - toc:0.4f} secondes") +print(f"Gen pdf unique en {finmerge - debutmerge:0.4f} secondes") +print(f"Tout en {finmerge - toc:0.4f} secondes") +print('DONE') \ No newline at end of file diff --git a/.py/test 1.1.py b/.py/test 1.1.py index 60b9001..cea6a9d 100644 --- a/.py/test 1.1.py +++ b/.py/test 1.1.py @@ -1,5 +1,7 @@ import pdfkit import re + +from pushover import Pushover from pdfkit.api import configuration from pypdf import PdfMerger import time @@ -7,103 +9,28 @@ import os import sys import shutil from tkinter import messagebox -import csv +wkhtml_path = pdfkit.configuration(wkhtmltopdf="C:/Program Files/wkhtmltox/bin/wkhtmltopdf.exe") -def load_csv_liste(fichier, contenu, entête = [] ) : - with open(fichier, newline='', encoding="utf8") as csvfile : - spamreader = csv.reader(csvfile, delimiter=',') - for champs in next(spamreader) : - entête.append(champs) - for row in spamreader : - contenu.append(row) +nbpages = 68 +url = "https://storage.libmanuels.fr/Belin/manuel/9782210113183/3/OEBPS/page0{}.xhtml" -def afficherMatrice(matrice, entête = None) : - maxi = [max([len(str(tab[i])) for tab in (matrice if entête == None else matrice + [entête]) if len(tab) > i]) for i in range(0, max([len(tab) for tab in matrice]))] - if entête != None and len(entête) == len(maxi) : - print("==".join(['=' * max for max in maxi ])) - print("".join([("{:<" + str(maxi[i] + 2) + "." + str(maxi[i]) + "}") for i in range(len(entête))]).format(*[str(e) for e in entête])) - print("==".join(['=' * max for max in maxi ])) - for line in matrice : - print("".join([("{:<" + str(maxi[i] + 2) + "." + str(maxi[i]) + "}") for i in range(len(line))]).format(*[str(e) for e in line])) +output = 'C:/Users/Noham/Documents/GitHub/Manuel/.py/gen/prof{}.pdf' +# for offset in range(10, nbpages + 1, 1): +# newurl = url.format(offset) +# print(newurl) +# newoutput = output.format(offset) +# print(str(offset) + "/" + str(nbpages)) -def clear(n): - for i in range(0, n): - try: - shutil.rmtree("C:/Users/Noham/Downloads/Manuel/Code/gen/") - except OSError as e: - print("Error: %s - %s." % (e.filename, e.strerror)) +# pdfkit.from_url(newurl, +# newoutput, +# configuration=wkhtml_path, +# verbose=True) - directory = "gen" - parent_dir = "C:/Users/Noham/Downloads/Manuel/Code/" - path = os.path.join(parent_dir, directory) - try: - os.mkdir(path) - except OSError as e: - print("Error: %s - %s." % (e.filename, e.strerror)) - - -def question1(): - contenu = [] - load_csv_liste("liste.csv", contenu) - print(contenu[3]) - matrice = [[contenu[i][6]] for i in range (1,len(contenu))] - # afficherMatrice(sorted(matrice)) -question1() - -toc = time.perf_counter() - -wkhtml_path = pdfkit.configuration(wkhtmltopdf="C:/Program Files/wkhtmltox/bin/wkhtmltopdf.exe") #by using configuration you can add path value. -# options = { -# 'page-size': 'Letter', -# 'margin-top': '0.75in', -# 'margin-right': '0.75in', -# 'margin-bottom': '0.75in', -# 'margin-left': '0.75in', -# 'custom-header': [ -# ('Accept-Encoding', 'gzip') -# ], -# 'no-outline': None -# } - -options = {} -id = int(input("Quel est l'id ? ")) -edition = input("Quelle est l'édition ? ") -nbpages = int(input("Quel est le nombre de pages ? ")) - - -if edition == 'hachette': - debuturl = 'https://exobank.hachette-livre.fr/contents/final/' - finurl = '-fxl/OEBPS/Page_{}.html' -elif (edition == 'hatier') or (edition == 'didier'): - debuturl = 'https://exobank.hachette-livre.fr/contents/final/' - finurl = '-fxl/OEBPS/page{}.xhtml?interface=postMessage' -else: - print("L'édition entrée n'existe pas encore") - -url = debuturl + str(id) + finurl -# url = "https://exobank.hachette-livre.fr/contents/final/9782278093472-fxl/OEBPS/page{}.xhtml?interface=postMessage" -output = 'C:/Users/Noham/Downloads/Manuel/Code/gen/pdf{}.pdf' -for offset in range(1, nbpages + 1, 1): - newurl = url.format(offset) - print(newurl) - newoutput = output.format(offset) - print(str(offset) + "/" + str(nbpages)) - - try: - pdfkit.from_url(newurl, - newoutput, - configuration=wkhtml_path, - options=options, - verbose=False) - - except: - pdfkit.from_string("Une erreur est survenue lors de la génération de la page.") - print("error", newoutput) - -pdfs = 'C:/Users/Noham/Downloads/Manuel/Code/gen/pdf{}.pdf' +pdfs = 'C:/Users/Noham/Documents/GitHub/Manuel/.py/gen/prof{}.pdf' pdfsnewpdfs = [] -for offset in range(1, nbpages + 1, 1): + +for offset in range(2, nbpages + 1, 1): newpdfs = pdfs.format(offset) pdfsnewpdfs.append(str(newpdfs)) # print(pdfsnewpdfs) @@ -116,11 +43,14 @@ merger = PdfMerger() for pdf in pdfsnewpdfs: merger.append(pdf) -merger.write("result.pdf") +merger.write("prof.pdf") merger.close() finmerge = time.perf_counter() -print(f"Gen pdfs en {finpage - toc:0.4f} secondes") -print(f"Gen pdf unique en {finmerge - debutmerge:0.4f} secondes") -print(f"Tout en {finmerge - toc:0.4f} secondes") -print('DONE') \ No newline at end of file + + +po = Pushover("a73uqu1px5w9aq84tnsbcgyf14c7zz") +po.user("ub91t4nporrc2nv374ed9kk9nwnd2p") +msg = po.msg("Les téléchargements sont terminés") +msg.set("title", "Finis") +po.send(msg) \ No newline at end of file diff --git a/.py/test2.py b/.py/test2.py new file mode 100644 index 0000000..48ccee7 --- /dev/null +++ b/.py/test2.py @@ -0,0 +1,24 @@ +# import os +# import sys +# import shutil + +# for i in range (0,2): +# try: +# shutil.rmtree("C:/Users/Noham/Downloads/Manuel/Code/gen/") +# except OSError as e: +# print("Error: %s - %s." % (e.filename, e.strerror)) + +# directory = "gen" +# parent_dir = "C:/Users/Noham/Downloads/Manuel/Code/" +# path = os.path.join(parent_dir, directory) +# try: +# os.mkdir(path) +# except OSError as e: +# print("Error: %s - %s." % (e.filename, e.strerror)) +for i in range (1,5): + url = ("https://exobank.hachette-livre.fr/contents/final/") + url2 = ("-fxl/OEBPS/page{}.xhtml?interface=postMessage") + newurl = url + str(i) + url2 + print(newurl) + + diff --git a/Belin/script like.py b/Belin/script like.py index 6193dac..b190def 100644 --- a/Belin/script like.py +++ b/Belin/script like.py @@ -2,11 +2,12 @@ # https://resources.manuelnumeriquemax.belin.education/manuals/hgemc-6/20.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9yZXNvdXJjZXMubWFudWVsbnVtZXJpcXVlbWF4LmJlbGluLmVkdWNhdGlvbi9tYW51YWxzL2hnZW1jLTYvKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY4MDg3MjQxMn19fV19&Signature=apxCl-4z3AcFP~gsDp0R6O9Jjh9zRS3Tt5g6HMnb6n-1-ltx-6VjdvrZW7Z6uSbAgAvaZ3nmmIZghsekvqQTbsO8JZYjWAA7TUS9PyXwAW5lvAuqZRFYAA5fABEcISToZRcu-Sty2PXACJ-ONeS4VMmtCzc20CyMTde53tDoVSXt~kdNbyCmMs61GBtcs19laeQpVvhtXmxT8hY4LXXd3BQtw7qrxU9h9ZlMEGmZT3rG4SzrqlI3TxARG5UwJDbZYPO3PLp63ALzXW2D3KPitrthaZuSlc5bRpB4MG9lwJSHrwRg-bwgEQ7VkzNszcejPocAi23QaotxAmGdUGvxxg__&Key-Pair-Id=APKAILORD3UGPYJSMW7Q # https://resources.manuelnumeriquemax.belin.education/manuals/hgemc-6/20.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9yZXNvdXJjZXMubWFudWVsbnVtZXJpcXVlbWF4LmJlbGluLmVkdWNhdGlvbi9tYW51YWxzL2ZyLTYvKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY4MDg3MTQwNn19fV19&Signature=apxCl-4z3AcFP~gsDp0R6O9Jjh9zRS3Tt5g6HMnb6n-1-ltx-6VjdvrZW7Z6uSbAgAvaZ3nmmIZghsekvqQTbsO8JZYjWAA7TUS9PyXwAW5lvAuqZRFYAA5fABEcISToZRcu-Sty2PXACJ-ONeS4VMmtCzc20CyMTde53tDoVSXt~kdNbyCmMs61GBtcs19laeQpVvhtXmxT8hY4LXXd3BQtw7qrxU9h9ZlMEGmZT3rG4SzrqlI3TxARG5UwJDbZYPO3PLp63ALzXW2D3KPitrthaZuSlc5bRpB4MG9lwJSHrwRg-bwgEQ7VkzNszcejPocAi23QaotxAmGdUGvxxg__&Key-Pair-Id=APKAILORD3UGPYJSMW7Q +# https://storage.libmanuels.fr/Belin/manuel/9791035824488/3/OEBPS/page068.xhtml debut = input('debut') reste = input('reste') -nb = 549 +nb = 68 liste = [] for i in range (1,nb + 1): print(debut ,i, reste ,sep='') diff --git a/html/404.html b/html/404.html index 5f1e3b0..bcb9424 100644 --- a/html/404.html +++ b/html/404.html @@ -1,11 +1,19 @@ - + Rien + - + Choisir un manuel à afficher \ No newline at end of file diff --git a/index.html b/index.html index d927352..89c23c2 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + @@ -36,6 +36,7 @@ +sesamth

diff --git a/liste.ods b/liste.ods index 0446494..6f2d80e 100644 Binary files a/liste.ods and b/liste.ods differ diff --git a/style.css b/style.css index 03de95b..58f44fd 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,9 @@ :root { +/* -webkit-user-select: none; */ + -webkit-touch-callout: none; + -ms-user-select: none; + -moz-user-select: none; + user-select: none; --color-scheme : light; --ecriture: black; --background: white;