gares 2.0.0.pre.dev3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +34 -25
- data/gares.gemspec +3 -2
- data/lib/attribute_accessors.rb +22 -0
- data/lib/gares/base.rb +68 -41
- data/lib/gares/errors.rb +14 -0
- data/lib/gares/search.rb +42 -12
- data/lib/gares/station.rb +1 -1
- data/lib/gares/train.rb +43 -18
- data/lib/gares/version.rb +1 -1
- data/lib/gares.rb +3 -3
- data/lib/string_extensions.rb +20 -0
- data/spec/fixtures/87723197.json +21 -0
- data/spec/fixtures/LYD-arrivals.json +17 -0
- data/spec/fixtures/LYD-departures.json +17 -0
- data/spec/fixtures/bls.csv +21484 -0
- data/spec/fixtures/get-train-12345 +219 -0
- data/spec/fixtures/post-train-12345 +0 -0
- data/spec/gares/search_spec.rb +94 -57
- data/spec/gares/station_spec.rb +61 -0
- data/spec/gares/train_spec.rb +25 -4
- data/spec/spec_helper.rb +14 -16
- data/tasks/fixtures.rake +4 -3
- metadata +31 -21
- data/lib/gares/sales.rb +0 -15
- data/lib/gares/services.rb +0 -15
- data/lib/gares/string_extensions.rb +0 -22
- data/spec/fixtures/frabt +0 -330
- data/spec/fixtures/frabt-services-vente +0 -12
- data/spec/fixtures/frhco +0 -346
- data/spec/fixtures/frlpd +0 -349
- data/spec/fixtures/frlpd-services +0 -462
- data/spec/fixtures/frlpd-services-vente +0 -399
- data/spec/fixtures/frqxb-services +0 -386
- data/spec/fixtures/frqxb-services-vente +0 -367
- data/spec/fixtures/frxag +0 -333
- data/spec/fixtures/search +0 -5254
- data/spec/gares/gare_spec.rb +0 -79
- data/spec/gares/sales_spec.rb +0 -11
data/tasks/fixtures.rake
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
namespace :fixtures do
|
2
|
-
desc "Refresh spec fixtures with fresh data from gares-
|
2
|
+
desc "Refresh spec fixtures with fresh data from gares-sncf.com and sncf.com"
|
3
3
|
task :refresh do
|
4
4
|
require File.expand_path(File.dirname(__FILE__) + "/../spec/spec_helper")
|
5
5
|
|
6
6
|
ONLY = ENV['ONLY'] ? ENV['ONLY'].split(',') : []
|
7
7
|
GARES_SAMPLES.each_pair do |url, fixture|
|
8
8
|
next if !ONLY.empty? and !ONLY.include?(fixture)
|
9
|
-
page = `curl -is #{url}`
|
9
|
+
page = `curl -is "#{url}"`
|
10
10
|
|
11
11
|
File.open(File.expand_path(File.dirname(__FILE__) + "/../spec/fixtures/#{fixture}"), 'w') do |f|
|
12
12
|
f.write(page)
|
@@ -35,7 +35,8 @@ namespace :fixtures do
|
|
35
35
|
f.write(page)
|
36
36
|
end
|
37
37
|
|
38
|
-
MULTI_TRAINS_SAMPLES.find { |one| one.keys.first == train_number }
|
38
|
+
multi_train_sample = MULTI_TRAINS_SAMPLES.find { |one| one.keys.first == train_number } || {"" => []}
|
39
|
+
multi_train_sample.values.first.each_with_index do |fixture, idx|
|
39
40
|
get_fixture = "get-#{fixture}"
|
40
41
|
get_fixture_data = "#{get_fixture}-data"
|
41
42
|
page = `curl -is 'http://www.sncf.com/sncf/train/displayDetailTrain?idItineraire=#{idx}' -H 'Cookie: #{cookies.join(";")}'`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gares
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Bonaud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0.13'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: trie
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rake
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,7 +206,8 @@ dependencies:
|
|
192
206
|
- - ">="
|
193
207
|
- !ruby/object:Gem::Version
|
194
208
|
version: '0'
|
195
|
-
description: Easily use Ruby or the command line to find information on gares-
|
209
|
+
description: Easily use Ruby or the command line to find information on gares-sncf.com
|
210
|
+
and sncf.com.
|
196
211
|
email:
|
197
212
|
- paul+gh@bonaud.fr
|
198
213
|
executables: []
|
@@ -210,27 +225,23 @@ files:
|
|
210
225
|
- README.md
|
211
226
|
- Rakefile
|
212
227
|
- gares.gemspec
|
228
|
+
- lib/attribute_accessors.rb
|
213
229
|
- lib/gares.rb
|
214
230
|
- lib/gares/base.rb
|
215
|
-
- lib/gares/
|
231
|
+
- lib/gares/errors.rb
|
216
232
|
- lib/gares/search.rb
|
217
|
-
- lib/gares/services.rb
|
218
233
|
- lib/gares/station.rb
|
219
234
|
- lib/gares/station_list.rb
|
220
|
-
- lib/gares/string_extensions.rb
|
221
235
|
- lib/gares/train.rb
|
222
236
|
- lib/gares/train_stop.rb
|
223
237
|
- lib/gares/version.rb
|
224
|
-
-
|
225
|
-
- spec/fixtures/
|
226
|
-
- spec/fixtures/
|
227
|
-
- spec/fixtures/
|
228
|
-
- spec/fixtures/
|
229
|
-
- spec/fixtures/frlpd-services-vente
|
230
|
-
- spec/fixtures/frqxb-services
|
231
|
-
- spec/fixtures/frqxb-services-vente
|
232
|
-
- spec/fixtures/frxag
|
238
|
+
- lib/string_extensions.rb
|
239
|
+
- spec/fixtures/87723197.json
|
240
|
+
- spec/fixtures/LYD-arrivals.json
|
241
|
+
- spec/fixtures/LYD-departures.json
|
242
|
+
- spec/fixtures/bls.csv
|
233
243
|
- spec/fixtures/get-train-11641
|
244
|
+
- spec/fixtures/get-train-12345
|
234
245
|
- spec/fixtures/get-train-17495
|
235
246
|
- spec/fixtures/get-train-17709
|
236
247
|
- spec/fixtures/get-train-6815
|
@@ -239,14 +250,13 @@ files:
|
|
239
250
|
- spec/fixtures/get-train-6815-1
|
240
251
|
- spec/fixtures/get-train-6815-1-data
|
241
252
|
- spec/fixtures/post-train-11641
|
253
|
+
- spec/fixtures/post-train-12345
|
242
254
|
- spec/fixtures/post-train-17495
|
243
255
|
- spec/fixtures/post-train-17709
|
244
256
|
- spec/fixtures/post-train-6815
|
245
|
-
- spec/fixtures/search
|
246
257
|
- spec/fixtures/stations.csv
|
247
|
-
- spec/gares/gare_spec.rb
|
248
|
-
- spec/gares/sales_spec.rb
|
249
258
|
- spec/gares/search_spec.rb
|
259
|
+
- spec/gares/station_spec.rb
|
250
260
|
- spec/gares/string_extensions_spec.rb
|
251
261
|
- spec/gares/train_spec.rb
|
252
262
|
- spec/spec_helper.rb
|
@@ -267,14 +277,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
267
277
|
version: '0'
|
268
278
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
269
279
|
requirements:
|
270
|
-
- - "
|
280
|
+
- - ">="
|
271
281
|
- !ruby/object:Gem::Version
|
272
|
-
version:
|
282
|
+
version: '0'
|
273
283
|
requirements: []
|
274
284
|
rubyforge_project: gares
|
275
285
|
rubygems_version: 2.2.0
|
276
286
|
signing_key:
|
277
287
|
specification_version: 4
|
278
|
-
summary: Easily access the publicly available information on gares-
|
288
|
+
summary: Easily access the publicly available information on gares-sncf.com and sncf.com.
|
279
289
|
test_files: []
|
280
290
|
has_rdoc:
|
data/lib/gares/sales.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
module Gares
|
2
|
-
class Sales < Base
|
3
|
-
|
4
|
-
def all
|
5
|
-
document.search('#page_content_resize_true h3').
|
6
|
-
map { |title| title.inner_html } rescue []
|
7
|
-
end
|
8
|
-
|
9
|
-
private
|
10
|
-
|
11
|
-
def document
|
12
|
-
@document ||= Nokogiri::HTML(self.class.external_data(sncf_id, :"services-en-gare/vente/"))
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
data/lib/gares/services.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
module Gares
|
2
|
-
class Services < Base
|
3
|
-
|
4
|
-
def all
|
5
|
-
document.search('#page_content_resize_true h2').
|
6
|
-
map { |title| title.inner_html } rescue []
|
7
|
-
end
|
8
|
-
|
9
|
-
private
|
10
|
-
|
11
|
-
def document
|
12
|
-
@document ||= Nokogiri::HTML(self.class.external_data(sncf_id, :"services-en-gare/service/"))
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'cgi'
|
2
|
-
|
3
|
-
module Gares #:nordoc:
|
4
|
-
module StringExtensions
|
5
|
-
# Unescape HTML
|
6
|
-
def unescape_html
|
7
|
-
CGI.unescapeHTML(encode('UTF-8'))
|
8
|
-
end
|
9
|
-
|
10
|
-
# Strip tags
|
11
|
-
def strip_tags
|
12
|
-
gsub(/<\/?[^>]*>/, '')
|
13
|
-
end
|
14
|
-
|
15
|
-
# Strips out whitespace then tests if the string is empty.
|
16
|
-
def blank?
|
17
|
-
strip.empty?
|
18
|
-
end unless method_defined?(:blank?)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
String.send :include, Gares::StringExtensions
|
data/spec/fixtures/frabt
DELETED
@@ -1,330 +0,0 @@
|
|
1
|
-
HTTP/1.1 200 OK
|
2
|
-
Date: Sun, 08 Feb 2015 22:28:02 GMT
|
3
|
-
Server: Apache
|
4
|
-
Set-Cookie: PHPSESSID=d772dd705bf270a9344f736fc5c1ec72; path=/
|
5
|
-
Expires: Thu, 19 Nov 1981 08:52:00 GMT
|
6
|
-
Pragma: no-cache
|
7
|
-
Vary: Accept-Encoding,User-Agent
|
8
|
-
Transfer-Encoding: chunked
|
9
|
-
Content-Type: text/html; charset=UTF-8
|
10
|
-
Content-Language: fr
|
11
|
-
|
12
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
13
|
-
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
|
14
|
-
<head>
|
15
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
16
|
-
<meta name="author" content="SNCF">
|
17
|
-
<meta name="robots" content="ALL" />
|
18
|
-
<!-- Google -->
|
19
|
-
<meta name="google-site-verification" content="BPFtRTWIA3lilhZ5mQDkQ_4Wpp6z5AAiEdxELZB59-I" />
|
20
|
-
<!-- Bing -->
|
21
|
-
<meta name="msvalidate.01" content="8B551AF14D2565E14E06A9069D7A0091" />
|
22
|
-
<meta name="description" content="Site officiel de la gare SNCF de Abancourt: Horaires d'ouverture de la gare SNCF de Abancourt, adresse de la gare et ses coordonnées GPS" />
|
23
|
-
<meta name="keywords" content="adresse gare, horaires gares SNCF, adresse gare SNCF, aller gare " />
|
24
|
-
<title>Horaires gare SNCF de Abancourt</title> <!-- Favicon -->
|
25
|
-
<link rel="icon" type="image/gif" href="http://www.gares-en-mouvement.com/favicon.gif" />
|
26
|
-
<link href="http://www.gares-en-mouvement.com/resources/css/reset.css" rel="stylesheet" type="text/css" media="all" />
|
27
|
-
<link href="http://www.gares-en-mouvement.com/resources/css/style.css" rel="stylesheet" type="text/css" media="all" />
|
28
|
-
<link href="http://www.gares-en-mouvement.com/resources/css/invalid.css" rel="stylesheet" type="text/css" media="all" />
|
29
|
-
<!--[if lt IE 7]>
|
30
|
-
<link href="http://www.gares-en-mouvement.com/resources/css/ie.css" rel="stylesheet" type="text/css" media="all" />
|
31
|
-
<![endif]-->
|
32
|
-
<!-- <script type="text/javascript" src="http://www.gares-en-mouvement.com/resources/scripts/ua.js"></script>
|
33
|
-
-->
|
34
|
-
<script type="text/javascript" src="http://www.gares-en-mouvement.com/resources/scripts/jquery-1.4.2.min.js"></script>
|
35
|
-
<script type="text/javascript">
|
36
|
-
<!--/*--><![CDATA[//><!--
|
37
|
-
function WinTime(heure,min,sec,k){sec++;if(sec>59){min++;sec=0;}if(min>59){heure++;min=0;}if(heure>23){heure=0;}sec=sec+"";min=min+"";heure=heure+"";if(heure<10){if((heure.charAt(0)=="0")&&(heure.charAt(1)!="1")&&(heure.charAt(1)!="2")&&(heure.charAt(1)!="3")&&(heure.charAt(1)!="4")&&(heure.charAt(1)!="5")&&(heure.charAt(1)!="6")&&(heure.charAt(1)!="7")&&(heure.charAt(1)!="8")&&(heure.charAt(1)!="9")){heure="00";}else if(heure.charAt(0)!="0"){heure="0"+heure;}}if(min<10){if((min.charAt(0)=="0")&&(min.charAt(1)!="1")&&(min.charAt(1)!="2")&&(min.charAt(1)!="3")&&(min.charAt(1)!="4")&&(min.charAt(1)!="5")&&(min.charAt(1)!="6")&&(min.charAt(1)!="7")&&(min.charAt(1)!="8")&&(min.charAt(1)!="9")){min="00";}else if(min.charAt(0)!="0"){min="0"+min;}}if(sec<10){if((sec.charAt(0)=="0")&&(sec.charAt(1)!="1")&&(sec.charAt(1)!="2")&&(sec.charAt(1)!="3")&&(sec.charAt(1)!="4")&&(sec.charAt(1)!="5")&&(sec.charAt(1)!="6")&&(sec.charAt(1)!="7")&&(sec.charAt(1)!="8")&&(sec.charAt(1)!="9")){sec="00";}else if(sec.charAt(0)!="0"){sec="0"+sec;}}document.getElementById('heure').innerHTML=="";document.getElementById('heure').innerHTML='<span>'+heure+'<abbr title="heure"><span id="lid">:</span></abbr>'+min+'</span>';if(k%2==0)document.getElementById('lid').style.color='#ffffff';k++;setTimeout("WinTime('"+heure+"', '"+min+"', '"+sec+"', '"+k+"')",1000);}
|
38
|
-
//--><!]]>
|
39
|
-
</script>
|
40
|
-
<script type="text/javascript">
|
41
|
-
<!--/*--><![CDATA[//><!--
|
42
|
-
$(document).ready(function(){
|
43
|
-
|
44
|
-
var pub_normal = $(".banniere").html();
|
45
|
-
var pub_anim = pub_normal.replace('pub_fixe.gif','pub.gif');
|
46
|
-
|
47
|
-
$(".banniere").html(pub_anim);
|
48
|
-
var showOrHide = false;
|
49
|
-
//On affiche la pub animée
|
50
|
-
//$(".banniere").toggle();
|
51
|
-
//Affichage du lien
|
52
|
-
$(".anim").append('<p id="pub_link">Stopper la publicité</p>');
|
53
|
-
$("#pub_link").click(function(){
|
54
|
-
if(showOrHide == true){
|
55
|
-
$(".banniere").html(pub_anim);
|
56
|
-
showOrHide = false;
|
57
|
-
}else if(showOrHide == false){
|
58
|
-
$(".banniere").html(pub_normal);
|
59
|
-
showOrHide = true;
|
60
|
-
}
|
61
|
-
$(this).text($(this).text() == 'Stopper la publicité' ? 'Activer la publicité' : 'Stopper la publicité');
|
62
|
-
});
|
63
|
-
});
|
64
|
-
//--><!]]>
|
65
|
-
</script>
|
66
|
-
<script type="text/javascript" src="http://www.gares-en-mouvement.com/resources/scripts/jquery.bxSlider.min.js" defer="defer"></script>
|
67
|
-
<script type="text/javascript">
|
68
|
-
<!--/*--><![CDATA[//><!--
|
69
|
-
$(document).ready(function(){
|
70
|
-
$(".carousel_ul").css("display","block");
|
71
|
-
$(".carousel_ul").bxSlider({
|
72
|
-
displaySlideQty: 5,
|
73
|
-
moveSlideQty: 1,
|
74
|
-
prevImage: 'http://www.gares-en-mouvement.com/resources/images/prev.gif',
|
75
|
-
nextImage: 'http://www.gares-en-mouvement.com/resources/images/next.gif'
|
76
|
-
});
|
77
|
-
});
|
78
|
-
//--><!]]>
|
79
|
-
</script>
|
80
|
-
<!--[if IE]>
|
81
|
-
<script type="text/javascript" src="http://www.gares-en-mouvement.com/resources/scripts/PIE.js"></script>
|
82
|
-
<script type="text/javascript">
|
83
|
-
$(document).ready(function(){
|
84
|
-
$('.border').each(function() {
|
85
|
-
PIE.attach(this);
|
86
|
-
});
|
87
|
-
$('.border_top').each(function() {
|
88
|
-
PIE.attach(this);
|
89
|
-
});
|
90
|
-
$('.home').each(function() {
|
91
|
-
PIE.attach(this);
|
92
|
-
});
|
93
|
-
$('#map_contain').each(function() {
|
94
|
-
PIE.attach(this);
|
95
|
-
});
|
96
|
-
$('#sub_page li a').each(function() {
|
97
|
-
PIE.attach(this);
|
98
|
-
});
|
99
|
-
$('.infostempsreel_ticc').each(function() {
|
100
|
-
PIE.attach(this);
|
101
|
-
});
|
102
|
-
$('.ouverture_courant_true').each(function() {
|
103
|
-
PIE.attach(this);
|
104
|
-
});
|
105
|
-
$('.ouverture_courant_false').each(function() {
|
106
|
-
PIE.attach(this);
|
107
|
-
});
|
108
|
-
$('.submit_button').each(function() {
|
109
|
-
PIE.attach(this);
|
110
|
-
});
|
111
|
-
/* $('.notification').each(function() {
|
112
|
-
PIE.attach(this);
|
113
|
-
});*/
|
114
|
-
$('.link_gauche a').each(function() {
|
115
|
-
PIE.attach(this);
|
116
|
-
});
|
117
|
-
$('.link_droite a').each(function() {
|
118
|
-
PIE.attach(this);
|
119
|
-
});
|
120
|
-
$('.unlink_gauche').each(function() {
|
121
|
-
PIE.attach(this);
|
122
|
-
});
|
123
|
-
$('.unlink_droite').each(function() {
|
124
|
-
PIE.attach(this);
|
125
|
-
});
|
126
|
-
$('.link_gauche').each(function() {
|
127
|
-
PIE.attach(this);
|
128
|
-
});
|
129
|
-
});
|
130
|
-
</script>
|
131
|
-
|
132
|
-
<![endif]-->
|
133
|
-
<script type="text/javascript">
|
134
|
-
$(document).ready(function() {
|
135
|
-
$('.tvs_sub2').each(function(){
|
136
|
-
$(this).addClass('sub_menu').removeClass('tvs_sub2');
|
137
|
-
});
|
138
|
-
$('.tvs_sub2_active').each(function(){
|
139
|
-
$(this).addClass('sub_menu_active').removeClass('tvs_sub2_active');
|
140
|
-
});
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
});
|
146
|
-
</script>
|
147
|
-
<!-- <script type="text/javascript">
|
148
|
-
$(document).ready(function() {
|
149
|
-
$('.tvs_sub2').each(function(){
|
150
|
-
$(this).addClass('sub_menu').removeClass('tvs_sub2');
|
151
|
-
});
|
152
|
-
$('.tvs_sub2_active').each(function(){
|
153
|
-
$(this).addClass('sub_menu_active').removeClass('tvs_sub2_active');
|
154
|
-
});
|
155
|
-
|
156
|
-
});
|
157
|
-
</script>
|
158
|
-
|
159
|
-
-->
|
160
|
-
<script type="text/javascript" src="http://www.gares-en-mouvement.com/resources/scripts/menu.js" defer="defer" ></script>
|
161
|
-
<script type="text/javascript" src="http://www.gares-en-mouvement.com/resources/scripts/jquery.bgiframe.min.js" defer="defer" ></script>
|
162
|
-
<script type="text/javascript">
|
163
|
-
$(document).ready(function(){
|
164
|
-
$('.sub_menu').bgiframe();
|
165
|
-
$('.sub_menu_active').bgiframe();
|
166
|
-
});
|
167
|
-
</script>
|
168
|
-
<script type="text/javascript">
|
169
|
-
var _gaq = _gaq || [];
|
170
|
-
_gaq.push(['_setAccount', 'UA-18321046-1']);
|
171
|
-
_gaq.push(['_setDomainName', '.gares-en-mouvement.com']);
|
172
|
-
_gaq.push(['_trackPageview']);
|
173
|
-
(function() {
|
174
|
-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
175
|
-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
176
|
-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
177
|
-
})();
|
178
|
-
</script>
|
179
|
-
</head>
|
180
|
-
<body style="background:#c6c1cc url('http://www.gares-en-mouvement.com/resources/images/bck_vide.jpg') no-repeat left top;" ><a href="#list_page" class="access">Aller au menu</a><a href="#content_wrapper" class="access">Aller au contenu</a><div class="wrapper">
|
181
|
-
<div id="nav_contain">
|
182
|
-
<div id="nav_data">
|
183
|
-
<div id="logo"><a href="http://www.gares-en-mouvement.com/"><img src="http://www.gares-en-mouvement.com/resources/images/logo.png" alt="Logo Gares & Connexions (retour à l'accueil de Gares en Mouvement)" width="150" height="40" /></a></div>
|
184
|
-
<a id="gare-co" href="http://www.gares-connexions.com/" target="_blank" title="La branche Gares & Connexions (nouvelle fenêtre)">La branche Gares & Connexions</a><br />
|
185
|
-
<div id="langue">
|
186
|
-
<ul>
|
187
|
-
<li><a href="http://www.gares-en-mouvement.com/fr/frabt/votre-gare/" lang="fr"><img title="Français" alt="Français" src="http://www.gares-en-mouvement.com/resources/images/langue/fr.gif" width="18" height="18" /></a></li><li><a href="http://www.gares-en-mouvement.com/en/frabt/votre-gare/" lang="en"><img title="English" src="http://www.gares-en-mouvement.com/resources/images/langue/en.gif" alt="English" width="18" height="18" /></a></li><li><a href="http://www.gares-en-mouvement.com/de/frabt/votre-gare/" lang="de"><img title="Deutsch" src="http://www.gares-en-mouvement.com/resources/images/langue/de.gif" alt="Deutsch" width="18" height="18" /></a></li><li><a href="http://www.gares-en-mouvement.com/it/frabt/votre-gare/" lang="it"><img title="Italiano" src="http://www.gares-en-mouvement.com/resources/images/langue/it.gif" alt="Italiano" width="18" height="18" /></a></li><li><a href="http://www.gares-en-mouvement.com/es/frabt/votre-gare/" lang="es"><img title="Español" src="http://www.gares-en-mouvement.com/resources/images/langue/es.gif" alt="Español" width="18" height="18" /></a></li><li><a href="http://www.gares-en-mouvement.com/nl/frabt/votre-gare/" lang="nl"><img title="Nederlands" src="http://www.gares-en-mouvement.com/resources/images/langue/nl.gif" alt="Nederlands" width="18" height="18" /></a></li> </ul>
|
188
|
-
</div><!-- fin div langue -->
|
189
|
-
<div id="heure">
|
190
|
-
<script type="text/javascript">
|
191
|
-
$(document).ready(function(){
|
192
|
-
WinTime(23, 28, 03,1)
|
193
|
-
});
|
194
|
-
</script>
|
195
|
-
<noscript><span>23<abbr title="Heure">:</abbr>28</span></noscript>
|
196
|
-
</div>
|
197
|
-
|
198
|
-
<ul id="social"><li><a href="https://www.facebook.com/bonsplansdemagare" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/f_logo.gif" alt="Logo Facebook" title="Devenez fan de notre page (nouvelle fenêtre)"/></a></li><li><a href="http://twitter.com/infos_gares" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/t_logo.gif" alt="Logo Twitter" title="Suivez nous sur Twitter (nouvelle fenêtre)"/></a></li></ul>
|
199
|
-
<div id="welcome">
|
200
|
-
<h1>En direct de Abancourt</h1>
|
201
|
-
</div><!-- fin div welcome -->
|
202
|
-
|
203
|
-
|
204
|
-
<div class="cls"></div>
|
205
|
-
</div><!-- fin div nav_data -->
|
206
|
-
</div><!-- fin div nav_contain -->
|
207
|
-
<div id="news_contain"> <div class="news_content border" >
|
208
|
-
<strong><i> <p>Votre avis nous intéresse ! <a target="_blank" href=" http://www.lagareetmoi.com">Donner votre avis sur LES GARES</a><br />
|
209
|
-
<br />
|
210
|
-
Régulièrement, des nouvelles gares sont consultables sur le site : n'hésitez pas à rechercher par région ou département.</p>
|
211
|
-
<p>Pour Monaco, cherchez la gare dans la région "Principauté de Monaco" ou cliquez sur son emplacement dans la carte.</p>
|
212
|
-
<p> </p>
|
213
|
-
<div><a href="http://www.concours-en-gares.com/">Gagnez un piano dans 100 gares dès le 24 septembre 2014</a></div> </i></strong>
|
214
|
-
</div>
|
215
|
-
</div>
|
216
|
-
<div id="global_contain">
|
217
|
-
<div id="list_page">
|
218
|
-
<div class="home"><a href="http://www.gares-en-mouvement.com/fr/">Choix de gare</a></div>
|
219
|
-
|
220
|
-
|
221
|
-
<ul class="menu" id="menu">
|
222
|
-
|
223
|
-
<li class="accueil border_top2"><a href="http://www.gares-en-mouvement.com/fr/frabt/accueil/">Accueil gare</a></li>
|
224
|
-
<li class="active_menu"><a href="http://www.gares-en-mouvement.com/fr/frabt/votre-gare/" title="Votre gare (page actuelle)">Votre gare</a></li>
|
225
|
-
<li>Les horaires en temps réel <ul class="tvs_sub border_menu"><li><a href="http://www.gares-en-mouvement.com/fr/frabt/horaires-temps-reel/dep/" title="Les horaires en temps réel - départs trains">Départs trains</a></li>
|
226
|
-
<li><a href="http://www.gares-en-mouvement.com/fr/frabt/horaires-temps-reel/arr/" title="Les horaires en temps réel - arrivées trains">Arrivées trains</a></li>
|
227
|
-
</ul></li>
|
228
|
-
<li>Commerces<ul class="tvs_sub2 border_menu"><li><a href="http://www.gares-en-mouvement.com/fr/frabt/commerces/autour_gare/" title="Commerces - autour de la gare">Autour de la gare</a></li>
|
229
|
-
</ul></li>
|
230
|
-
<li class="border_bottom">Autour de la gare<ul class="tvs_sub2 border_menu"><li><a href="http://www.gares-en-mouvement.com/fr/frabt/autour-de-la-gare/proximite/" title="Autour de la gare - a proximité">A proximité</a></li>
|
231
|
-
<li><a href="http://www.gares-en-mouvement.com/fr/frabt/autour-de-la-gare/ville/" title="Autour de la gare - vers la ville">Vers la ville</a></li>
|
232
|
-
</ul></li>
|
233
|
-
|
234
|
-
</ul>
|
235
|
-
|
236
|
-
</div><!-- fin div list_page -->
|
237
|
-
<div id="content_wrapper" class="page">
|
238
|
-
<div id="content" class="border">
|
239
|
-
<div id="page_content_resize_true">
|
240
|
-
<div class="content_left">
|
241
|
-
<h2>Horaires d'ouverture de la gare</h2><div class="ouverture_courant_true"><ul class="ouverture_heure"><li>du lundi au jeudi de 05:45 à 20:45</li><li>vendredi de 05:45 à 21:45</li><li>samedi de 06:00 à 21:45</li><li>dimanche de 07:00 à 21:45</li><li class="feries">jours fériés de 07:00 à 21:45</li></ul></div><br /><hr /><h2>Adresse</h2><p>Place de la gare 60220 Abancourt </p><p><strong>Région : </strong>Picardie<br /></p><p><strong>Département : </strong>Oise<br /></p><p><strong>Coordonnées GPS : </strong>49.68548935; 1.77386467</p><hr /><h2>Chef de gare et Directeur de gare</h2><p></p><hr /><!-- infos -->
|
242
|
-
<h2>Informations</h2><p>36 35 (0,34 <abbr title="euros">€</abbr>/<abbr title="minute">mn</abbr>)</p> </div><!-- fin div content_left -->
|
243
|
-
<div class="content_right">
|
244
|
-
</div><!-- fin div content_right -->
|
245
|
-
|
246
|
-
<div class="cls"></div>
|
247
|
-
</div><!-- fin div page_content_resize_true -->
|
248
|
-
|
249
|
-
<div id="print"><a href="http://www.gares-en-mouvement.com/fr/frabt/impression/">Imprimer</a></div>
|
250
|
-
</div><!-- fin div content -->
|
251
|
-
</div><!-- fin div content_wrapper -->
|
252
|
-
<div id="pub">
|
253
|
-
<!--
|
254
|
-
<div class="mobile">
|
255
|
-
|
256
|
-
<span style="display:block;"><img src="http://www.gares-en-mouvement.com/resources/images/bck_pubL.jpg" /></span>
|
257
|
-
|
258
|
-
<br />
|
259
|
-
<span>
|
260
|
-
Profitez de gares-en-mouvement sur votre mobile grâce à l'application <strong>Gares En Direct</strong><br /><br />
|
261
|
-
</span>
|
262
|
-
|
263
|
-
|
264
|
-
<a href="https://play.google.com/store/apps/details?id=com.fingermind.gedirect
|
265
|
-
" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/googleplay.jpg" /></a>
|
266
|
-
|
267
|
-
<br /><br />
|
268
|
-
|
269
|
-
<a href="https://itunes.apple.com/fr/app/garesendirect/id493372387?mt=8" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/appstore.jpg" /></a>
|
270
|
-
|
271
|
-
|
272
|
-
</div>
|
273
|
-
-->
|
274
|
-
<div class="anim">
|
275
|
-
<div class="banniere">
|
276
|
-
|
277
|
-
<a href="http://www.gares360.com" target="_blank" title="Visiter le site gares360.com (nouvelle fenêtre)">
|
278
|
-
<img src="http://www.gares-en-mouvement.com/resources/images/pub_fixe.gif" alt="« GARES 360° » : préparez votre venue en gare grâce aux visites virtuelles guidées." width="160" height="363" /></a>
|
279
|
-
</div><!-- fin div banniere -->
|
280
|
-
</div>
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
</div><!-- fin div publicite -->
|
285
|
-
|
286
|
-
|
287
|
-
</div><!-- fin div global_contain -->
|
288
|
-
|
289
|
-
<div class="clearfooter"></div>
|
290
|
-
|
291
|
-
</div><!-- fin div wrapper -->
|
292
|
-
<div id="footer">
|
293
|
-
<div id="footer_content">
|
294
|
-
<div class="sncf"><a href="http://www.sncf.com/" target="_blank" class="sncf" rel="nofollow"><img title="Visiter le site de la SNCF (nouvelle fenêtre)" src="http://www.gares-en-mouvement.com/resources/images/sncf_logo.gif" alt="Visiter le site de la SNCF" width="36" height="20" /></a>
|
295
|
-
</div><!-- fin div sncf -->
|
296
|
-
<div id="outil">
|
297
|
-
<ul class="footer">
|
298
|
-
<li class="li_br"><a href="http://www.gares-en-mouvement.com/fr/frabt/aide/">Aide</a></li><li class="li_br"><a href="http://www.gares-en-mouvement.com/fr/frabt/mentions/">Mentions légales</a></li><li><a accesskey="6" href="http://www.gares-en-mouvement.com/fr/frabt/plan-du-site/">Plan du site</a></li> </ul>
|
299
|
-
<br />
|
300
|
-
<ul class="footer">
|
301
|
-
<li class="li_br"><a href="http://aide.voyages-sncf.com/sites/aide.voyages-sncf.com/files/imce/pdf/Fiche_Contactez-nous.pdf?rfrr=FAQ%3AAideTrain%3Asuite-mon-achat%3Areclamation-et-demande-de-remboursement_body_formulaire%20de%20r%C3%A9clamation" target="_blank" title="Formulaire CONTACTEZ-NOUS (PDF, 25Ko, nouvelle fenêtre)">Formulaire CONTACTEZ-NOUS</a> </li>
|
302
|
-
<li class="li_br"><a href="http://www.infolignes.com" target="_blank" title="Visiter le site Infolignes (nouvelle fenêtre)" rel="nofollow">Infolignes</a> </li>
|
303
|
-
<li class="li_br"><a href="http://www.tripadvisor.fr/" target="_blank" title="Visiter le site TripAdvisor (nouvelle fenêtre)" rel="nofollow">TripAdvisor</a></li>
|
304
|
-
<li><a href="http://www.pagesjaunes.fr/" target="_blank" title="pagesjaunes.fr annuaire des professionnels et des particuliers (nouvelle fenêtre)" rel="nofollow">PagesJaunes</a></li>
|
305
|
-
</ul>
|
306
|
-
</div>
|
307
|
-
<!-- fin div outil -->
|
308
|
-
<div id="carousel_container">
|
309
|
-
<div id="carousel_inner" >
|
310
|
-
<noscript>
|
311
|
-
<ul class="carousel_ul carousel_off"><li class="li_br"><a href="http://www.intercites.sncf.com" title="INTERCITÉS (nouvelle fenêtre)" target="_blank">INTERCITÉS</a></li><li class="li_br"><a href="http://www.eurostar.com" title="Eurostar (nouvelle fenêtre)" target="_blank">Eurostar</a></li><li class="li_br"><a href="http://www.idtgv.com" title="iDTGV (nouvelle fenêtre)" target="_blank">iDTGV</a></li><li class="li_br"><a href="http://www.tgv-lyria.com" title="TGV Lyria (nouvelle fenêtre)" target="_blank">TGV Lyria</a></li><li class="li_br"><a href="http://www.ter-sncf.com" title="TER (nouvelle fenêtre)" target="_blank">TER</a></li><li class="li_br"><a href="http://www.tgv.com" title="TGV (nouvelle fenêtre)" target="_blank">TGV</a></li><li class="li_br"><a href="http://www.thalys.com" title="Thalys (nouvelle fenêtre)" target="_blank">Thalys</a></li><li class="li_br"><a href="http://www.transilien.com" title="Transilien (nouvelle fenêtre)" target="_blank">Transilien</a></li><li class="li_br"><a href="http://www.velo.sncf.com" title="Vélo SNCF (nouvelle fenêtre)" target="_blank">Vélo SNCF</a></li><li class="li_br"><a href="http://www.thello.com/" title="Thello (nouvelle fenêtre)" target="_blank">Thello</a></li> </ul>
|
312
|
-
</noscript>
|
313
|
-
<ul class="carousel_ul" style="display:none;">
|
314
|
-
<li><a href="http://www.transilien.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/08_logo_transilien.gif" alt="Transilien" title="Transilien (nouvelle fenêtre)" width="75" height="25" /></a></li>
|
315
|
-
<li><a href="http://www.idtgv.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/03_logo_idtgv.gif" alt="iDTGV" title="iDTGV (nouvelle fenêtre)" width="75" height="25" /></a></li>
|
316
|
-
<li><a href="http://www.velo.sncf.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/09_logo_velo.gif" alt="Vélo SNCF" title="Vélo SNCF (nouvelle fenêtre)" width="75" height="25" /></a></li>
|
317
|
-
<li><a href="http://www.thalys.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/07_logo_thalys.gif" alt="Thalys" title="Thalys (nouvelle fenêtre)" width="75" height="25" /></a></li>
|
318
|
-
<li><a href="http://www.eurostar.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/02_logo_eurostar.gif" alt="Eurostar" title="Eurostar (nouvelle fenêtre)" width="75" height="25" /></a></li>
|
319
|
-
<li><a href="http://www.tgv-lyria.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/04_logo_lyria.gif" alt="TGV Lyria" title="TGV Lyria (nouvelle fenêtre)" width="75" height="25" /></a></li>
|
320
|
-
<li><a href="http://www.eurostar.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/02_logo_eurostar.gif" alt="Eurostar" title="Eurostar (nouvelle fenêtre)" width="75" height="25"/></a></li>
|
321
|
-
<li><a href="http://www.tgv-lyria.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/04_logo_lyria.gif" alt="TGV Lyria" title="TGV Lyria (nouvelle fenêtre)" width="75" height="25"/></a></li>
|
322
|
-
<li><a href="http://www.thello.com/" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/10_logo_thello.gif" alt="Thello" title="Thello (nouvelle fenêtre)" width="75" height="25"/></a></li>
|
323
|
-
<li><a href="http://www.tgv.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/06_logo_tgv.gif" alt="TGV" title="TGV (nouvelle fenêtre)" width="75" height="25"/></a></li>
|
324
|
-
<li><a href="http://www.intercites.sncf.com" target="_blank"><img src="http://www.gares-en-mouvement.com/resources/images/carrousel/01_logo_intercites.gif" alt="INTERCITÉS" title="INTERCITÉS (nouvelle fenêtre)" width="75" height="25"/></a></li>
|
325
|
-
</ul>
|
326
|
-
</div><!-- fin div carousel_inner -->
|
327
|
-
</div><!-- fin div carousel_container -->
|
328
|
-
</div><!-- fin div footer_content -->
|
329
|
-
</div><!-- fin div footer -->
|
330
|
-
</body></html>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
HTTP/1.1 301 Moved Permanently
|
2
|
-
Date: Wed, 11 Feb 2015 12:49:29 GMT
|
3
|
-
Server: Apache
|
4
|
-
Set-Cookie: PHPSESSID=9c62cccb68371df56d118ad5d8647353; path=/
|
5
|
-
Expires: Thu, 19 Nov 1981 08:52:00 GMT
|
6
|
-
Pragma: no-cache
|
7
|
-
Location: http://www.gares-en-mouvement.com/fr/frabt/accueil/
|
8
|
-
Vary: Accept-Encoding,User-Agent
|
9
|
-
Content-Length: 0
|
10
|
-
Content-Type: text/html; charset=UTF-8
|
11
|
-
Content-Language: fr
|
12
|
-
|