Mise en forme de code: pensez à utiliser les balises [ tcl ] et [ /tcl ] (sans les espaces bien sûr) autour de vos codes tcl afin d'avoir un meilleur rendu et une coloration syntaxique. x


[Script] VDM fetcher
#61
Première analyse du script :

- Le lien de la VDM à changé, le numéro ne se récupère plus dans la page mais dans le lien : https://www.viedemerde.fr/article/desire...70945.html

il faut adapter la ligne :


tcl
foreach {dummy id vdm} [regexp -all -inline {<div class="article-contents">(?:.*?)<a class="article-link" href="(?:.*?)_(\d+).html">(.*?)<\/a>\n<div class="vote-button-container">} $data] {


avec le bon lien et corriger les regexp pour capturer les bonnes informations, en l'occurrence la VDM.

Je note ça ici, quand j'aurais du temps, je ferais des tests.
  Reply


Messages In This Thread
[Script] VDM fetcher - by ealexp - 28/12/2010, 21:15
RE: [Script] VDM (version : 2.1) - by ealexp - 22/02/2011, 12:26
RE: [Script] VDM - by ealexp - 03/08/2011, 12:08
RE: [Script] VDM - by Mrvolks - 17/09/2011, 20:14
RE: [Script] VDM - by DnS - 17/09/2011, 20:20
RE: [Script] VDM - by Mrvolks - 17/09/2011, 21:08
RE: [Script] VDM - by DnS - 18/09/2011, 11:21
RE: [Script] VDM - by ealexp - 18/09/2011, 14:48
RE: [Script] VDM - by ealexp - 18/09/2011, 15:31
RE: [Script] VDM - by pheeric - 15/01/2012, 02:17
RE: [Script] VDM - by CrazyCat - 18/09/2011, 16:47
RE: [Script] VDM - by ealexp - 18/09/2011, 17:38
RE: [Script] VDM - by CrazyCat - 18/09/2011, 18:27
RE: [Script] VDM fetcher - by ealexp - 22/09/2012, 16:54
RE: [Script] VDM fetcher - by Helias - 27/01/2013, 16:19
RE: [Script] VDM fetcher - by pheeric - 27/01/2013, 18:13
RE: [Script] VDM fetcher - by Legend - 28/02/2013, 00:27
RE: [Script] VDM fetcher - by pheeric - 28/02/2013, 01:28
RE: [Script] VDM fetcher - by Legend - 28/02/2013, 21:48
RE: [Script] VDM fetcher - by pheeric - 01/03/2013, 01:20
RE: [Script] VDM fetcher - by ealexp - 28/02/2013, 22:50
RE: [Script] VDM fetcher - by Legend - 01/03/2013, 00:21
RE: [Script] VDM fetcher - by Hitsu - 26/03/2013, 17:26
RE: [Script] VDM fetcher - by CrazyCat - 27/03/2013, 11:02
RE: [Script] VDM fetcher - by Hitsu - 27/03/2013, 18:00
RE: [Script] VDM fetcher - by loulou7593 - 24/11/2013, 14:03
RE: [Script] VDM fetcher - by CrazyCat - 25/11/2013, 09:38
RE: [Script] VDM fetcher - by Alucard`68 - 18/04/2017, 18:20
RE: [Script] VDM fetcher - by pheeric - 04/11/2018, 23:24
RE: [Script] VDM fetcher BUG - by pheeric - 20/05/2019, 23:12
RE: [Script] VDM fetcher - by CrazyCat - 21/05/2019, 00:07
RE: [Script] VDM fetcher - by ealexp - 23/05/2019, 22:33
RE: [Script] VDM fetcher - by pheeric - 23/05/2019, 23:43
PB avec VDM qui rebug - by pheeric - 30/10/2020, 18:30
RE: [Script] VDM fetcher - by Lrnt - 14/04/2021, 16:44
RE: [Script] VDM fetcher - by CrazyCat - 14/04/2021, 17:10
RE: [Script] VDM fetcher - by Pyro - 07/01/2022, 02:34
RE: [Script] VDM fetcher - by Pyro - 13/01/2022, 22:34
RE: [Script] VDM fetcher - by CrazyCat - 14/01/2022, 00:52
RE: [Script] VDM fetcher - by Pyro - 14/01/2022, 02:37
RE: [Script] VDM fetcher - by pheeric - 14/01/2022, 15:25
RE: [Script] VDM fetcher - by MenzAgitat - 14/01/2022, 02:52
RE: [Script] VDM fetcher - by Pyro - 16/01/2022, 17:25
RE: [Script] VDM fetcher - by Pyro - 03/02/2022, 02:15
RE: [Script] VDM fetcher - by Amand - 03/02/2022, 16:49
RE: [Script] VDM fetcher - by MenzAgitat - 03/02/2022, 17:44
RE: [Script] VDM fetcher - by CrazyCat - 03/02/2022, 17:49
RE: [Script] VDM fetcher - by Amand - 03/02/2022, 18:53
RE: [Script] VDM fetcher - by MenzAgitat - 03/02/2022, 19:04
RE: [Script] VDM fetcher - by Amand - 03/02/2022, 19:11
RE: [Script] VDM fetcher - by MenzAgitat - 03/02/2022, 19:21
RE: [Script] VDM fetcher - by pheeric - 03/02/2022, 22:06
RE: [Script] VDM fetcher - by Amand - 03/02/2022, 22:36
RE: [Script] VDM fetcher - by pheeric - 03/02/2022, 23:22
RE: [Script] VDM fetcher - by pheeric - 31/03/2022, 14:44
RE: [Script] VDM fetcher - by Amand - 04/04/2022, 16:10
Script VDM - by LokYnesS - 24/02/2019, 19:02
BUG: Script VDM - by pheeric - 19/05/2019, 22:39
RE: Script VDM - by pheeric - 20/05/2019, 22:57
RE: Script VDM - by ealexp - 23/05/2019, 22:32
RE: Script VDM - by pheeric - 08/03/2020, 23:38
New Bug sur le VDM - by pheeric - 12/03/2020, 00:36
RE: New Bug sur le VDM - by pheeric - 09/04/2020, 16:06
RE: Script VDM - by MenzAgitat - 09/04/2020, 16:46
RE: Script VDM - by pheeric - 09/04/2020, 18:16
[fractionné] Souci VDM - by aliasangelius - 31/10/2020, 19:10
RE: Modifier un nick par badnick - by pheeric - 31/10/2020, 22:56
RE: Modifier un nick par badnick - by pheeric - 01/11/2020, 18:30

Possibly Related Threads…
Thread Author Replies Views Last Post
  BashFr Fetcher (version actuelle : 1.04) (support arrêté) MenzAgitat 22 17,263 02/12/2009, 14:24
Last Post: MenzAgitat
  [script] BashOrg Fetcher v1.3.0 Artix 4 5,135 14/06/2009, 17:46
Last Post: zarkox
  [script] Bash Fetcher CrazyCat 2 4,055 01/11/2007, 22:37
Last Post: CrazyCat

Forum Jump:


Users browsing this thread: 1 Guest(s)